Tutorials

GWAS basics for wet-lab biologists

Study design, QC, population structure, association models, multiple testing, replication and what a GWAS hit does and does not mean.

A genome-wide association study (GWAS) tests millions of genetic variants for association with a trait. For a wet-lab biologist, the useful questions are what the result means, what it does not mean, and how to follow up a hit.

The design

A GWAS compares the frequency of variants between individuals with different trait values. The trait can be a disease status, a quantitative measurement or a response to treatment.

The study needs a phenotype that is measured consistently, a genotype set with good coverage, and a sample size large enough to detect the expected effect. Sample size is often the limiting factor. Small studies can produce hits that do not replicate.

Genotyping and quality control

Genotypes come from arrays, sequencing or imputation. Each source has its own quality issues. Common filters remove variants with low call rate, low minor allele frequency, deviations from Hardy–Weinberg equilibrium and poor imputation quality.

Sample-level filters remove individuals with low call rate, unexpected ancestry, duplicates or close relatives. Sex checks and heterozygosity checks can reveal sample swaps or contamination.

QC is not a formality. A variant with a genotyping artefact can produce a strong association that disappears after filtering.

Population structure

Allele frequencies differ between populations. If cases and controls have different ancestry, a variant that is more common in one ancestry group can appear associated with the trait.

PCA, mixed models and genomic relationship matrices are used to account for structure. A QQ plot shows whether the observed p-values follow the expected distribution. Early deviation can indicate uncorrected structure.

Stratification is not the only confounder. Batch, age, sex and technical variables can also create associations. Include the relevant covariates in the model.

The association model

A common model is a logistic regression for a binary trait or a linear regression for a quantitative trait. The genotype is the predictor, and covariates are included in the model.

The effect is usually reported as an odds ratio or a beta coefficient per allele. The direction and the size matter. A variant with a small effect can be statistically significant in a large study but explain little of the trait variance.

Multiple testing

Millions of tests produce many small p-values by chance. A genome-wide significance threshold is used, often based on the number of independent tests. Report the threshold and the number of variants tested.

A suggestive threshold can identify candidates for replication, but it is not the same as genome-wide significance. Do not present a suggestive hit as a confirmed association.

Replication and meta-analysis

A robust association should replicate in an independent sample. Replication is stronger than a larger p-value in the same data.

Meta-analysis combines studies and can increase power. It also requires harmonised phenotypes, genotypes and ancestry. A meta-analysis of heterogeneous studies can produce a precise but misleading estimate.

From hit to mechanism

A GWAS hit marks a region, not a causal variant. The associated variant may be in a regulatory element, in a gene, or in a region with no annotated function. Linkage disequilibrium means many variants travel together.

Fine-mapping, expression quantitative trait locus analysis, chromatin data and functional assays can narrow the candidate. A biological story built only on the nearest gene is weak.

What GWAS does not show

A GWAS association is a statistical relationship between a variant and a trait. It does not show that the variant causes the trait, that the effect is direct, or that the trait is genetic in a simple way.

It also does not give a prediction model that is useful for an individual. A polygenic score can be informative at the population level but may perform poorly in a different ancestry or environment.

A practical workflow

  1. Define the phenotype and the study design.
  2. Genotype and perform sample and variant QC.
  3. Check ancestry and relatedness.
  4. Impute and filter on imputation quality.
  5. Include covariates and account for structure.
  6. Test association and report effect sizes.
  7. Apply a genome-wide threshold.
  8. Replicate and follow up the top signals.

Effect sizes and polygenic scores

Each associated variant usually has a small effect. A polygenic score sums the effects of many variants, weighted by their estimated effect sizes. It can stratify a population by genetic risk, but its performance depends on the discovery sample, the ancestry and the trait.

A score trained in one ancestry may lose accuracy in another because allele frequencies and linkage patterns differ. A score trained in one environment may not transfer to another. Report the discovery population and the validation population, and do not present a score as an individual diagnosis.

Functional follow-up

A GWAS hit can be followed by fine-mapping, colocalisation with expression or protein quantitative trait loci, chromatin annotation and reporter assays. Each method adds a different kind of evidence.

A functional experiment should test a specific hypothesis about the variant, not only the nearest gene. If the variant is in a regulatory element, an assay that measures enhancer activity is more relevant than an overexpression experiment.

Key points

  • GWAS tests common variants for statistical association.
  • Sample size and phenotype quality limit power.
  • Population structure must be handled.
  • A hit marks a region, not a causal variant.
  • Replication is essential.

Common mistakes

  • Ignoring ancestry differences between cases and controls.
  • Reporting a suggestive hit as genome-wide significant.
  • Treating the nearest gene as the causal gene.
  • Using a small study without replication.
  • Interpreting an odds ratio as a risk for an individual.

When to ask for help

If the cases and controls differ in ancestry, if the QQ plot deviates, or if a hit needs functional follow-up, ask for a review. You can order an analysis or read the FST and PCA guide. The Population Genomics & GWAS course covers design and analysis, and the genomic selection guide covers prediction in breeding.

Sources and further reading

When to ask for help. If your data or design do not fit a tutorial, order an analysis and we will reply with a fixed price.

Written by the Solagene team for research and education. Found an error? Tell us and we will correct it.