Check the GLGC inputs

From the main project folder:

python scripts/python/run_workflow.py --data-dir data/glgc-hdl --output-dir results/glgc-hdl --check-only

For the bundled release expect:

Input checks passed: 2,261,360 variant rows; 2,058,079 retained; 22 autosomes represented.

What must agree

  • IDs and coordinates are unique in the prepared file.
  • Allele pairs are distinct uppercase single bases.
  • Estimates, SE, frequency and reported N satisfy the documented ranges.
  • Source p-value text represents a positive value no greater than one.
  • Metadata specifies GRCh37, quantitative beta, reference-panel frequency, reported N and unavailable INFO.

The parser calculates source −log10(p) with decimal arithmetic where needed. It rejects literal zero; it does not turn 1.39e-769 into a floor such as 1e-300.

Understand the exclusions

Preparation and analysis are different stages. The 186,081 unavailable-frequency exclusions belong to the importer audit. The analysis applies reference MAF ≥0.01 to the remaining rows, removing 203,281 more.

INFO is declared unavailable, so its threshold is not applied. The empty quality panel is an explicit limitation, not evidence that every variant passes an imputation-quality test. If a different source supplies valid INFO, keep it and apply a justified setting.

Passing these checks establishes compatibility and arithmetic conditions. It does not validate the original phenotype model, allele harmonization, ancestry adjustment or meta-analysis. Read the paper and source notes for those decisions.

Next: Run the analysis