Problemcore
Genotype imputation
Also called imputation of untyped variants, haplotype reference imputation.
Predict genotypes at variants not assayed in a sample from a reference panel of haplotypes, usually with the Li-Stephens HMM.
Genotype imputation fills in the genotypes of a sample at variants that were not measured, using a reference panel of densely genotyped or sequenced haplotypes. A genotyping array measures a few hundred thousand SNPs. Because nearby variants are in linkage disequilibrium, the measured alleles of a person identify, locally, which reference haplotypes their chromosomes resemble, and the alleles of those haplotypes predict the missing variants. The standard model is the Li-Stephens hidden Markov model, and the posterior probabilities from the forward-backward algorithm give a probability for each missing genotype, not only a best guess.
In plain words
People who live today carry long stretches of chromosome that they inherited from shared distant ancestors. A reference panel holds many such stretches, read in full. A study measures only some positions in each person. Over a short region, the measured positions usually match one or a few reference stretches well. The positions that were not measured are then likely to carry the same letters as those stretches. Because the match changes along the chromosome, the method lets each person switch from one reference stretch to another at any point, with a small chance per step. It then computes, for every missing position, how likely each possible letter is. These guesses let studies that used different arrays be combined.
Definition
Input.
- A reference panel of phased haplotypes at sites, .
- A target sample, genotyped at a subset of the sites: unphased genotypes for , or genotype likelihoods from sequencing.
- A genetic map, which gives the genetic distance between sites and .
Model (Li-Stephens). Each target haplotype is a mosaic of the reference haplotypes. A hidden state says which reference haplotype it copies at site . Between sites, with probability , a switch happens and the new state is uniform over the haplotypes; otherwise the state stays. At each site the copied allele is emitted, and with a small probability it is changed, to model mutation and error. For a diploid target, the two haplotypes are two independent such chains, and only their sum is observed at the typed sites.
Output. For every untyped site , the posterior probabilities given the observed genotypes, or the dosage .
Variants
- Pre-phased imputation. First phase the target genotypes into two haplotypes, by haplotype phasing, then impute each haplotype with the haploid model. This is much faster, since the state space has states, not .
- Imputation from sequencing reads. For low-coverage sequencing, the emissions are genotype likelihoods from the reads, and every site is uncertain.
- Reference-free imputation. Without a panel, the study samples themselves serve as each other's references, and the model parameters are estimated from the data.
- Imputation of structural variants and HLA alleles. Any variant that is phased in the panel and in linkage disequilibrium with SNPs can be imputed the same way.
Examples
Take two reference haplotypes over three sites, and , a haploid target typed at sites 1 and 3, , and a switch probability that gives and between neighbouring sites. The prior on the first state is uniform.
- Target . The forward values at site 2 are and the backward values . The posterior of copying at site 2 is . So the imputed allele is 1, the allele of , with probability .
- Target . Now site 1 favours and site 3 favours , so a switch is needed, before or after site 2. , the two products are both , and the posterior is exactly for each haplotype. The imputed allele has probability , and the dosage carries this uncertainty into the association test.
- Diploid target. If the two haplotypes of a person have the posteriors and for allele 1 at site 2, the dosage is .
Known algorithms
- Forward-backward on the Li-Stephens HMM. With states, the transition is "stay with probability , else jump to a uniform state". So , and the sum is computed once per site. This makes the cost per haploid target, not the of a general HMM.
- Diploid targets. The pair of states has values. A general HMM would cost , but the transition factorizes over the two chains, and the same trick gives . IMPUTE (Marchini and coworkers 2007) and MaCH (Li and coworkers 2010) work in this space.
- Pre-phasing with a subset of the panel. IMPUTE2 (Howie and coworkers 2009) alternates phasing and imputation and uses, for each study haplotype, only the reference haplotypes closest to it. Minimac and later Beagle versions impute pre-phased haplotypes at each.
- Selecting references with the PBWT. The positional Burrows-Wheeler transform finds, at each site, the reference haplotypes with the longest match to the target, so that the HMM runs on a few states.
- Parameter estimation. The switch and error rates can be fitted by expectation maximization or by Markov chain sampling on the study data, as in MaCH.
Bounds
- Time. Any method that reads the panel spends per target in the worst case. Forward-backward with the uniform jump meets this bound for haploid targets. Methods that index the panel once, such as the PBWT, spend less per target after the index is built.
- Accuracy. No method can predict a variant that is not in linkage disequilibrium with the typed sites, since then the typed alleles carry no information about it. Accuracy is lowest for rare variants, which are carried by few reference haplotypes and are tagged poorly by common SNPs, and for panels of a different ancestry.
- Measures. The squared correlation between the dosage and the true genotype measures accuracy. When the truth is unknown, programs report an estimate from the posteriors alone, such as the ratio of the variance of the dosages to the binomial variance , or the information measure of IMPUTE. A test on imputed dosages with accuracy has about the power of a test on genotyped people.
Reductions
- To phasing. Imputation and phasing use the same HMM. Phasing infers the hidden pair of haplotypes, and imputation reads off their alleles at the untyped sites.
- To an HMM posterior. Under the model, imputation is exactly the computation of posterior marginals in an HMM, solved by the forward-backward algorithm.
- From missing data. Sporadic missing genotypes at typed sites are a special case, with the same model.
Applications
- Meta-analysis. Studies that used different arrays are imputed to one reference panel, so that every study has the same variants.
- Denser association scans. Imputation brings array data close to the variant density of the panel, which helps to locate the causal variant of a genome-wide association study signal.
- Low-coverage sequencing. Imputation from genotype likelihoods turns cheap, shallow sequencing into accurate genotypes at common variants.
- Imputation servers. Large panels are kept on servers, and users upload their genotypes for imputation, because the panels cannot be shared freely.
References
- Jonathan Marchini, Bryan Howie, Simon Myers, Gil McVean and Peter Donnelly, A new multipoint method for genome-wide association studies by imputation of genotypes, Nature Genetics 39(7), 2007, pp. 906-913 (IMPUTE, an HMM over reference haplotypes for unphased study genotypes, and association tests on the imputed genotypes)
- Yun Li, Cristen J. Willer, Jun Ding, Paul Scheet and Gonçalo R. Abecasis, MaCH, using sequence and genotype data to estimate haplotypes and unobserved genotypes, Genetic Epidemiology 34(8), 2010, pp. 816-834 (the MaCH HMM, the estimation of its error and crossover parameters, and the estimated r-squared of imputed genotypes)
- Bryan N. Howie, Peter Donnelly and Jonathan Marchini, A flexible and accurate genotype imputation method for the next generation of genome-wide association studies, PLoS Genetics 5(6), 2009, article e1000529 (IMPUTE2, with alternating phasing and imputation steps and a subset of reference haplotypes per study haplotype)
- Na Li and Matthew Stephens, Modeling linkage disequilibrium and identifying recombination hotspots using single-nucleotide polymorphism data, Genetics 165(4), 2003, pp. 2213-2233 (the copying model of a haplotype as a mosaic of other haplotypes)
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 | W2 basic |
|
Tag Q7FXWH Edit this page History Report an error Markdown