Run the GLGC analysis
python scripts/python/run_workflow.py --data-dir data/glgc-hdl --output-dir results/glgc-hdlThis processes more than two million rows. Allow several minutes and several gigabytes of available memory. Full compressed audit/results tables occupy several hundred MB. Existing named outputs are replaced; use separate output folders when comparing runs.
Find the evidence
Output in results/glgc-hdl/ |
Purpose |
|---|---|
figures/*.png |
Ten figure families, including a full-range/detail Manhattan view |
tables/variant-qc.tsv.gz |
Every prepared row, frequency/INFO status and filter flags |
tables/variant-results.tsv.gz |
Every retained association and derived quantities |
tables/top-variants.tsv |
Top twelve source associations, not independent loci |
tables/filter-summary.tsv |
Sequential counts and percentages |
tables/scatter-display.tsv |
Exact plotted dense-scatter rows |
tables/qq-display.tsv |
Selected full-file ranks and their reference values |
tables/region-display.tsv |
All 430 retained rows in the displayed region |
tables/analysis-summary.json |
Full-file counts and diagnostic definitions |
tables/run-record.json |
Metadata, parameters, display policy and hashes |
The distribution package contains the figures, prepared input and compact evidence tables. The two large full-row audit/results files are regenerated by this command rather than bundled. Run it before the command-line verification step.
Display policy is explicit
All 5,346 retained rows at p≤1e-5 are displayed, together with 50,000 remaining background rows sampled reproducibly. All 2,058,079 retained rows enter threshold counts, top-row selection and lambda. Histogram counts also use the full relevant table.
The Q–Q figure selects ranks for drawing from the full sorted file and uses the full count for expectations and the envelope. It does not use the significance-enriched scatter sample for global diagnostics.
What the script does not redo
It preserves the authors’ source p-values and beta/SE. It does not repeat their genomic control, reconstruct participant-level models, infer LD-independent loci or assign genes. The additional normal Wald calculation is labelled separately and is not used to replace the source test.