A reproducible pipeline for post-GWAS analysis, transforming raw summary statistics into biological insights.
-
LD Clumping: Identifies independent lead SNPs using
PLINK. -
Visualization: Generates Manhattan and Q-Q plots using the
qqmanR package. -
Inflation Testing: Calculates genomic inflation (
$\lambda$ ) to check for population stratification. - Locus Zooming: (Optional) Scripts for localized Manhattan plots around lead variants.
- PLINK v1.9
- R (v4.0+)
- R Libraries:
qqman,data.table,ggplot2
- Prepare Data: Download summary statistics from the GWAS Catalog.
- Run Clumping:
bash scripts/01_qc_clumping.sh
The pipeline outputs:
gwas_clumped.clumped: A table of independent significant loci.
manhattan_plot.png: Global visualization of associations.
qq_plot.png: Quality control plot for p-value distribution.