Overview
Curated: · Written: · Reviewed:
Statistical Genomics
In one line
A GWAS regresses the phenotype on each variant's genotype dosage plus covariates, across millions of variants. You reach for it to find which alleles tag trait variation in a defined population, with structure, relatedness and QC handled before any p-value is read. A hit licenses an association in that population under that model, not causality or portability.
Key definitions
- Beta or log-OR: expected change in phenotype units (or log-odds) per additional effect allele, with covariates held fixed.
- Dosage: expected copies of the effect allele (0 to 2), carrying imputation uncertainty.
- Lambda GC: inflation of the test statistic against the null. A diagnostic to investigate, not a divisor.
- LD: correlation between nearby variants. A lead SNP may only tag the causal allele.
- Kinship (genetic relationship) matrix: genome-wide genetic similarity used in mixed models.
- Summary statistics: per-variant beta, SE, effect allele, other allele, allele frequency, N and genome build.
Formulas and complexity
For 1,000,000 tests under a complete null, uncorrected p < 0.05 gives 50,000 expected false positives. Bonferroni brings that to 0.05 family-wise.
How it works
The analysis runs in five steps. Each step fixes a specific source of bias before the next one is read.
- Sample and variant QC, with thresholds fixed in advance and checked for differential removal by outcome or batch.
- Ancestry principal components or a kinship matrix absorb structure and relatedness.
- A per-variant regression of phenotype on dosage, with covariates.
- Multiplicity control sets the threshold, and an inflation check tests whether the null holds.
- Lead signals are conditioned on and fine-mapped under ancestry-matched LD.
When to use and when not to
| Situation | GWAS fits | Prefer instead |
|---|---|---|
| Common variants, large N, one defined trait | Yes | None needed |
| Rare variants with few carriers each | Single-variant tests underpowered | Gene-level collapsing with predefined masks |
| Related samples in a family cohort | Mixed model keeps them | Removing relatives discards information |
| Phenotype measured once, lifetime risk wanted | Not as stated | Survival or longitudinal model |
| Risk prediction in a new ancestry | Not without validation | Recalibrated score in the target population |
Traps interviewers probe
- Calling the lead SNP causal. Fix: fine-map with ancestry-matched LD and keep indistinguishable candidates in the credible set.
- Dividing every statistic by lambda. Fix: inspect the QQ plot shape and the LD score intercept, check batch and stratification, and recognise that overcorrection erases real signal.
- Deleting every HWE failure. Fix: test in unrelated controls per ancestry. A deviation that appears only in the pooled sample, and not within strata, points to structure rather than a bad variant.
- Adding a batch covariate to fix plate confounding. Fix: measure missingness by batch and outcome, inspect cluster plots, and run a sensitivity analysis.
- Averaging betas without aligning effect alleles. Fix: align to one effect allele on one build before pooling, and flip the sign when alleles are swapped.
Interview tips
Opening: state the population, phenotype, model and effect unit, then name the main threat (structure, relatedness, batch or LD).
Expected follow-ups:
- What if the key assumption fails?
- How would you detect that in the data you have?
- What would you tell a clinician this result means?
For each fix you name, give a concrete detection step. Without one, the answer is recited rather than defended.
30-second outline: Per-variant regression on dosage with PCs or kinship, after QC, with matched LD. Threshold 5e-8 for common variants in European-ancestry data, with roughly 1e-7 as the effective number of independent tests. A hit is an association in this population, and it may tag a causal variant. Check inflation with the LD score intercept, replicate using the same effect allele and build, and fine-map before naming a gene. Quote beta with its SE and unit, and say which population and model it came from.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.