Techniquecore
Genome-wide association study
Also called GWAS, genome-wide association scan.
Tests each of many variants across the genome for association with a trait, one at a time, and keeps the variants that pass a genome-wide significance threshold.
A genome-wide association study (GWAS) tests each of hundreds of thousands to millions of genetic variants for association with a trait, one variant at a time. For a case-control trait, each test compares the allele frequencies of cases and controls, for example with a chi-squared test on a table of allele counts or with logistic regression. For a quantitative trait, each test is a linear regression of the trait on the genotype. Because so many tests are made, only variants that pass a very small threshold, by convention , are reported. A significant variant is usually not the cause itself but is in linkage disequilibrium with it, so a GWAS finds regions, not genes.
In plain words
Take many people with a disease and many without it, and read a large number of single-letter positions in the DNA of each. At every position, check whether one letter is more common in the people with the disease. Most positions show only small random differences. Because so many positions are checked, some will show large differences by chance alone, so a difference counts only if it is far too large to be explained by chance. A position that passes this strict check marks a region of the genome that affects the disease. The position itself is often only a neighbour of the real cause. People of different ancestry can differ at many positions for reasons that have nothing to do with the disease, so the study must correct for ancestry.
When it applies
- The trait is measured in many people, thousands to hundreds of thousands, with genotypes at many variants across the genome. The effects of single common variants on complex traits are small, so small samples find almost nothing.
- The aim is to find regions of the genome with an effect, without a prior guess of which genes matter. A study of candidate genes tests only the genes chosen in advance.
- The variants are common enough to be tested one at a time. For rare variants, single tests have little power, and tests that pool the variants of a gene are used.
- The samples are unrelated people of similar ancestry, or the method corrects for relatedness and structure, as mixed model association does.
The template
- Genotype and check the data. Remove samples and variants with many missing calls, variants far from Hardy-Weinberg proportions in the controls, and duplicate or related samples, unless the model handles relatedness.
- Impute. Fill in variants that were not on the array from a reference panel by genotype imputation, so that the scan covers the common variants of the genome and studies with different arrays can be combined.
- Control for structure. Compute the leading genetic principal components of the genotypes and use them as covariates, or fit a mixed model with a relationship matrix.
- Test each variant. For variant with genotype or dosage of person , fit for a quantitative trait, or the same model on the log-odds scale for a binary trait, with covariates . Test with a Wald test, a score test or a likelihood ratio test. Without covariates, a binary trait can be tested with a chi-squared test on the table of allele counts, or with the Cochran-Armitage trend test on the table of genotype counts.
- Check calibration. Compare the distribution of the statistics with the null law in a quantile-quantile plot. The inflation factor of genomic control and the intercept of LD score regression show whether confounding remains.
- Apply the threshold. Report variants with . This is about a Bonferroni correction of a family-wise error rate of for one million independent tests, .
- Group the hits into loci. Nearby significant variants are correlated through linkage disequilibrium and usually mark one signal. Keep the lead variant of each region, and test the others conditional on it to find independent signals.
- Replicate. Test the lead variants in an independent sample, or combine studies in a meta-analysis.
Classic examples
- An allelic test by hand. A study has 1,000 cases and 1,000 controls, so 2,000 allele copies in each group. The risk allele is seen 600 times in cases and 500 times in controls, frequencies and . The table is , with . The statistic is with 1 degree of freedom, so . The allelic odds ratio is . This would be a clear result for one test, but it is far from , which needs .
- The same effect in a larger sample. With 5,000 cases and 5,000 controls and the same frequencies, every count is 5 times larger. is proportional to when the frequencies are fixed, so and . The effect passes the threshold easily. This is why GWAS sample sizes grew from thousands to hundreds of thousands.
- The threshold. Risch and Merikangas (1996) argued that association tests over the genome have more power than linkage scans for genes of small effect, and that about a million tests need a level near . Pe'er and coworkers (2008) estimated from dense genotype data that the common variants of European-ancestry samples behave like about a million independent tests, which supports the same value. The level is a convention, and it is too lax for rare variants and for samples of African ancestry, which have less linkage disequilibrium and so more independent tests.
- The first large scans. By 2007, studies of thousands of cases and controls with arrays of several hundred thousand SNPs had found the first reproducible loci for many common diseases. Visscher and coworkers (2017) review the thousands of loci found in the ten years that followed.
Variations
- Mixed model association. Fit a linear mixed model with a genetic relationship matrix, which corrects for relatedness and structure together and gains power for polygenic traits, see mixed model association.
- Meta-analysis. Combine the effect estimates of many studies with inverse-variance weights, which gives the power of the combined sample without sharing individual data.
- Rare variant tests. Pool the rare variants of a gene into one burden score, or test the variance of their effects, because single tests of rare variants have little power.
- Phenome-wide scans. Test one variant against many traits, the reverse design.
- Summary-statistic methods. LD score regression estimates heritability and confounding from the statistics alone, and fine-mapping methods find the likely causal variants of a locus.
Pitfalls
- Population stratification. If cases and controls differ in ancestry, every variant whose frequency differs between the ancestries looks associated. Principal components, mixed models and genomic control are the remedies, and the inflation factor should be checked.
- Inflation from polygenic signal. For a highly polygenic trait in a large sample, many statistics are inflated by true small effects. A large then does not prove confounding, and dividing by it removes true signal. LD score regression separates the two.
- The winner's curse. The effect estimate of a variant chosen because it passed the threshold is biased away from zero. Estimate effects in a replication sample.
- The lead variant is not the cause. The most significant variant of a locus is often a marker in linkage disequilibrium with the causal variant, and the nearest gene is often not the gene that it acts on.
- Batch effects. Cases and controls genotyped in different batches or on different arrays can differ in genotype calls. Such artefacts can pass the threshold and are found by checking the cluster plots of the top variants.
- Multiple testing beyond the scan. Testing many traits, models or subgroups adds to the number of tests that the threshold assumes.
Exercises
- For the table of the first example, compute the expected counts under independence and check that gives the same .
- Show that if all four counts of a table are multiplied by , the chi-squared statistic is multiplied by .
- For a quantitative trait, six people have genotypes and trait values . Compute the least squares slope of the trait on the genotype and explain what it means.
- A study tests 2 million imputed variants, of which about 1 million are independent. Explain why a threshold of is stricter than needed, and why is still used.
- Two populations have allele frequencies and at a SNP with no effect on the trait. Cases are 70% from the first population and controls 30%. Compute the allele frequencies of cases and controls, and explain the false association.
References
- Peter M. Visscher, Naomi R. Wray, Qian Zhang, Pamela Sklar, Mark I. McCarthy, Matthew A. Brown and Jian Yang, 10 years of GWAS discovery, biology, function, and translation, American Journal of Human Genetics 101(1), 2017, pp. 5-22 (a review of the design, the results and the uses of GWAS from 2007 to 2017)
- Neil Risch and Kathleen Merikangas, The future of genetic studies of complex human diseases, Science 273(5281), 1996, pp. 1516-1517 (the argument that association tests over the whole genome have more power than linkage scans for small effects, and a significance level for about a million tests)
- Itsik Pe'er, Roman Yelensky, David Altshuler and Mark J. Daly, Estimation of the multiple testing burden for genomewide association studies of nearly all common variants, Genetic Epidemiology 32(4), 2008, pp. 381-385 (the effective number of independent tests of common variants, estimated from dense genotype data)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag GFD87X Edit this page History Report an error Markdown