Mismatch-Tolerant Donor Search for Imputing Underrepresented Ancestries

Genotype imputation fills in the millions of genetic variants that a cheap genotyping chip does not measure. It does this by treating each person's chromosome as a patchwork of segments copied from fully sequenced "reference" chromosomes, called haplotypes. Fast modern imputers do not search the whole reference panel at every position. They first shortlist a few dozen candidate donor haplotypes, choosing those that match the target exactly over the longest stretch, and then run a probabilistic model only over that shortlist. Our claim is that this exact-match shortlist is a specific, fixable source of ancestry bias. When the target's ancestry is thinly represented in the panel, its truly related reference haplotypes differ from it at a handful of sites, because of private mutations, genotyping errors, or phase flips. Exact matching then cuts these segments short, and the shortlist fills up with haplotypes that match only by chance. We propose replacing exact-match shortlisting with mismatch-tolerant shortlisting, which finds long shared segments despite a few disagreements. We predict that the accuracy gain will be concentrated in rare variants and in underrepresented ancestries, and that it will shrink the accuracy gap between European and non-European targets at roughly constant compute.

The opportunity matters because the current remedy, larger and more diverse panels, is expensive and often inaccessible. Imputing with the TOPMed panel (100,506 haplotypes) recovered 2.3- to 6.1-fold more well-imputed rare variants in African American and Hispanic/Latino cohorts. It also took about eight times the processing time of 1000 Genomes and requires sending data to a central server (Kowalski et al.). Many groups must instead use small, downloadable panels, which is exactly the regime where exact matches to the panel are short and the donor shortlist is most fragile.

Core Claim

Exact matching makes a different kind of error depending on ancestry. In a well-represented population, a target usually has a reference haplotype that matches exactly over a long stretch, so the top-$Q$ exact matches include the true donors. In an underrepresented population there are two compounding problems. First, the true donors are more distant relatives, so a few mismatches interrupt their shared segments. Second, the higher haplotype diversity and shorter LD blocks of African-ancestry genomes (AFAM panel study) mean that LD (linkage disequilibrium, the correlation between nearby alleles) carries predictive signal over shorter distances. A shortlist that tolerates $m$ mismatches recovers the interrupted segments.

The model that then copies alleles from the shortlist is the Li–Stephens style hidden Markov model (HMM), a probabilistic model whose hidden state is "which reference haplotype is being copied here". It already tolerates mismatches through its emission probabilities, so it can decide boundaries and alleles correctly once the right donors are on the list. The proposal therefore changes only which donors the HMM sees, not how it computes. This makes the hypothesis sharply falsifiable. If donor recall is not the bottleneck, the method will do nothing.

Relation to Prior Work

The mismatch-tolerant machinery already exists, but only for detecting shared ancestry, not for imputation. RaPID turns approximate matching into exact matching on random subsets of sites, using the positional Burrows–Wheeler transform (PBWT), an index that finds long exact haplotype matches in time linear in the number of haplotypes (RaPID). The templated PBWT uses fixed site masks to ignore error-prone markers and stitches matches across phase errors (TPBWT). Both supply our method, but both output pairwise shared segments, not genotype calls.

Both also carry known failures that constrain the design. RaPID loses power below about 1 cM because chance matches dominate, and it overestimates segment ends by about 0.4 cM. We therefore never use projection matches to set copying boundaries. Projections only nominate candidates, and the full HMM, evaluated on every typed site, decides where copying switches.

SparsePainter is the closest precedent for the shortlist-then-HMM architecture. It seeds a sparse HMM with the top $Q\approx 20$ longest exact PBWT matches and reaches more than 100× speedups over full models for local ancestry inference (SparsePainter). We differ in two ways. Our shortlist is mismatch-tolerant, and the end task is imputing untyped variants rather than painting ancestry.

The motivating evidence comes from three studies. Vicinity-based HMMs (LoHaMMer) match BEAGLE on common variants but degrade on rare variants and under ancestry mismatch between target and panel (LoHaMMer). Panels for an underrepresented Native American sample left imputation degraded (Bizon et al.). Small targeted panels can beat cosmopolitan ones for founder populations (Carmi et al.). Together these show that the bottleneck is finding the right relatives, not having more of them.

Research Program

We will build a drop-in shortlisting module for a PBWT-seeded imputation HMM. For each target haplotype and each window of typed sites, the module runs $r$ random projections of the typed sites through a PBWT built on the reference panel. A reference haplotype $h$ receives a candidacy score, the number of projections in which it matches the target over the window, aggregated across neighbouring windows:

$$s(h, w) = \sum_{j=1}^{r} \mathbf{1}\big[h \text{ matches the target exactly on projection } j \text{ of window } w\big],$$

where $w$ indexes windows and $j$ indexes projections. The shortlist at window $w$ is the top $Q$ haplotypes by $s(h, w)$. These are merged with the top exact-match donors so that the shortlist never loses what exact matching finds. A second variant replaces random projections with deterministic TPBWT-style masks, which tests whether randomness matters. The HMM, its recombination and mutation parameters, and its posterior computation stay fixed. We then measure where the gains come from: donor recall, minor allele frequency (MAF) bin, ancestry, and the amount of the target's ancestry present in the panel.

Baselines

The naive reference point is imputing every untyped site with its panel allele frequency. This sets the floor for $R^2$ (squared correlation between imputed dosage and true genotype) in each MAF bin.

The strongest competitor on accuracy is a full Li–Stephens HMM over the entire panel, as implemented in BEAGLE or minimac4. These are the engines behind the LoHaMMer and TOPMed comparisons. We treat this as the accuracy ceiling for the same panel. The method's job is to approach this ceiling at a fraction of the cost, not to exceed it. For BEAGLE on our exact 1000 Genomes setting, the file reports only a relative figure: vicinity HMMs were within 1% genotype concordance of BEAGLE for common variants (LoHaMMer). No reported per-ancestry, rare-variant concordance or $R^2$ number for BEAGLE was found on Lacuna, so we will measure it ourselves under our protocol.

The strongest competitor at matched speed is the same sparse HMM seeded by top-$Q$ exact PBWT matches, as SparsePainter does. We will tune $Q$ for it until it reaches equal wall-clock time with our method. Equal compute is the decisive constraint, because a larger $Q$ is the cheapest way to raise donor recall.

We also run LoHaMMer-style fixed windows over the full panel, using the 0.3 cM window it reports for common variants and 0.5 cM for uncommon variants.

All methods share the same panel, typed sites, phasing, HMM parameters, and a single-node CPU budget. Hyperparameters ($Q$, $r$, window size, mask design) get the same tuning grid, selected on chromosome 20 and reported on chromosomes 19 and 22.

The key ablation compares four shortlists at identical $Q$: exact only, projections only, exact plus projections, and exact plus deterministic masks. This isolates mismatch tolerance from extra candidates.

Beating the matched-compute exact baseline requires a statistically consistent gain in mean $R^2$ for MAF < 1% in AFR and AMR targets, across leave-one-out replicates. It also requires a smaller EUR-minus-AFR gap than the exact baseline at matched compute.

Why not just…?

Why not just increase $Q$ for exact matching? This is the most serious threat. If the true donors appear at rank 50 instead of rank 20, a larger exact shortlist recovers them without new machinery. The experiments settle this by plotting accuracy against wall-clock time for both shortlisting schemes across a sweep of $Q$. If the exact-match curve reaches the full-HMM ceiling at equal cost, we will report that mismatch tolerance is unnecessary. The diagnostic that predicts the outcome is donor recall, the fraction of the full-HMM high-posterior donors present in each shortlist, plotted as a function of $Q$.

Why not just use a bigger or ancestry-specific panel? Panels help: TOPMed's 2.3- to 6.1-fold rare-variant gain (Kowalski et al.) and the AFAM panel's gains for African Americans (AFAM panel study) are real. However, panels and shortlisting are complementary rather than competing. We test this directly by running all methods with the downloadable AFAM panel merged with 1000 Genomes. Our hypothesis predicts that the gain shrinks as target-ancestry representation grows, and we will report that trend rather than hide it.

Why not just run RaPID or TPBWT and feed their segments to the imputer? Their outputs are segments of at least 1 cM, which is a poor fit for short African LD blocks. RaPID's roughly 0.4 cM boundary overshoot (RaPID) would copy alleles from the wrong template near breakpoints. Our design uses projections only to nominate candidates and lets the HMM set boundaries. The ablation that copies directly from RaPID segments quantifies the difference.

Why not just use a neural imputer? Autoencoder and transformer imputers (sparse convolutional denoising autoencoders, STI) are trained on the same panel, so they inherit its ancestry skew. The file reports no multi-ancestry rare-variant benchmark for them. We include STI as a secondary comparison on chromosome 22, but the question we study is which donors a copying model sees, and that question does not apply to neural imputers.

Proposed Experiments

The main benchmark follows the LoHaMMer protocol on 1000 Genomes Phase 3 chromosomes 19, 20, and 22. Targets are reduced in silico to Illumina Duo 1M array sites, and we impute in leave-one-out fashion across the EUR, AFR, AMR, EAS, and SAS superpopulations. Metrics are dosage $R^2$ and genotype concordance in MAF bins of <0.5%, 0.5–1%, 1–5%, and >5%. We report these per superpopulation, together with the EUR-minus-other gap and CPU time.

The controlled underrepresentation experiment removes target-ancestry haplotypes from the panel in steps. For example, we impute YRI while keeping 100%, 50%, 10%, and 0% of the other African haplotypes. The hypothesis predicts that the advantage of mismatch-tolerant over exact shortlisting grows as representation falls, while the full-HMM ceiling stays reachable.

A simulation with known genealogies, with genotyping error at 0.001 and switch error at 0.25% as in the TPBWT evaluations (TPBWT), lets us measure true donor recall directly. It also lets us check that the gains track private mutations and errors rather than something else.

The second panel setting merges 1000 Genomes with the AFAM panel. As in that study, imputing ASW and ACB targets tests whether the gains survive a better-matched panel.

The decisive checks are three. First, at matched wall-clock time, the mismatch-tolerant shortlist must close a measurable fraction of the gap between the exact-match sparse HMM and the full HMM for MAF < 1% in AFR and AMR targets. Second, the size of that closure must rise monotonically as target-ancestry representation in the panel falls. Third, gains in EUR targets should be near zero, since exact matches already suffice there. If the first check fails while donor recall is already high, the hypothesis that donor selection drives part of the ancestry gap is refuted, and that negative result is itself useful for deciding where effort on ancestry bias should go.