Module A · Genotype imputation · step 2 of 10
A.2Phasing, then imputation
In short
We see the two stages of imputation. First the software estimates which alleles lie together on each chromosome copy (phasing). Then it compares each copy with the reference panel and predicts the missing sites, as probabilities.
What you do
Command
No code to run. This is a reading-only step.
You need
Step A.1.
What we do
Reading, about 3 minutes. You can come back to it later.
Learn the two stages of the process and the three ways to write an imputed genotype.
Why
An array tells you that a person is heterozygous A/G at a site. It does not tell you which allele sits on the chromosome from the mother and which on the chromosome from the father. Imputation needs that information, because it works on haplotypes.
Stage 1. Phasing. Phasing (opens in a new tab) estimates the two haplotypes of each person from their genotypes. Software such as Eagle2 (Loh et al. 2016 (opens in a new tab)), SHAPEIT and Beagle does this. It compares each person with many others and with the reference panel, and finds the most likely pair of haplotypes.
Stage 2. Imputation. Each study haplotype is compared with the reference haplotypes. The software looks for reference haplotypes that match it at the measured sites. It then predicts the alleles at the other sites from those matches. Software such as Minimac4, IMPUTE5 and Beagle 5 does this.
Running phasing first and imputation second is called pre-phasing. It made imputation with large panels fast enough for routine use (Howie et al. 2012 (opens in a new tab)).
How the software finds a match. Most methods use a model proposed by Li and Stephens (2003 (opens in a new tab)). It describes a study haplotype as a mosaic: a patchwork of short pieces copied from different reference haplotypes. Along the chromosome, the copy can switch from one reference haplotype to another. Switches are more likely where recombination is frequent. Small differences are allowed, to account for mutations and genotyping errors. The software does not pick one mosaic. It weighs all possible mosaics by how well they fit. The result at each site is a probability for each genotype, not a certain answer.
Three ways to write an imputed genotype.
| Form | Example for one person at one site | When to use it |
|---|---|---|
| Genotype probabilities | P(AA) = 0.02, P(AG) = 0.90, P(GG) = 0.08 | Complete information, used by some tests |
| Dosage | 0.02 × 0 + 0.90 × 1 + 0.08 × 2 = 1.06 | The usual input for association tests |
| Best-guess (hard) call | AG | Only when a tool cannot read dosages |
The dosage (opens in a new tab) is the expected number of copies of the alternate allele. It runs from 0 to 2. It keeps the uncertainty: a dosage of 1.06 says "almost certainly one copy". A hard call throws that information away. Marchini and Howie (2010 (opens in a new tab)) advise against testing hard calls: it can cause both false positives and a loss of power.
Illustration in preparation
Expected result
Show the expected result
You can name the two stages and say why a dosage keeps more information than a hard call.
If something goes wrong
If something goes wrong
If phasing is not clear, think of a person who is heterozygous at two nearby sites. The genotypes do not say whether the two less common alleles sit on the same chromosome copy or on different copies. Phasing estimates that.
Quick check
A person has the genotype probabilities P(AA) = 0.10, P(AG) = 0.20 and P(GG) = 0.70, with G as the alternate allele. What is the dosage?
Show the answer
0.10 × 0 + 0.20 × 1 + 0.70 × 2 = 1.60 copies of G.
Files created
None.