Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

3. Test and Estimate Ancestry Sources

Can one mixture explain how an ancient target shares alleles with multiple reference groups? We first use the f4 model from E.2 to test two candidate source combinations. We then estimate the proportions using local tree sharing. A final example changes the input to IBD segments and follows two regions through time.

Read Pritchard, Chapter 3.2, Eq. 3.21 for the frequency contrast and Fig. 3.102 for the European ancestry time series.

One proportion across three reference contrasts

Let xj=f4(A,B;R0,Rj)x_j=f_4(A,B;R_0,R_j) and yj=f4(T,B;R0,Rj)y_j=f_4(T,B;R_0,R_j). Under the two-source model, yj=qxjy_j=q x_j for all three contrasts. Use the numbers on qpAdm Fits One Proportion Across References.

The artificial block values below reproduce the slide’s independent normal error model, with standard deviation 0.30 per entry. The second example changes only the third target contrast.

Loading...

Test source proxies in an ancient panel

Use the same question as Can Other Ancient Genomes Explain the Same Signal? Source A and a widespread source B contributed to the target. The reference and proxy populations descend from related ancestral groups. Each experienced some separate drift. The third candidate, C, replaces A in a second fit.

Simulate 80 linked SNP blocks. Each of two target copies inherits a changing mosaic of A and B ancestry. At each target SNP, draw one of the two alleles to mimic pseudohaploid sampling. High-coverage source and reference panels supply several copies per site.

     realized     q blockSE   pAB      pCB
[1,]    0.275 0.263  0.0446 0.905 9.08e-07
[2,]    0.278 0.269  0.0398 0.868 5.25e-09
[3,]    0.247 0.232  0.0405 0.150 1.35e-04
[4,]    0.245 0.204  0.0373 0.822 1.56e-05
plot without title

The target’s measured genome fraction varies around 25%. Its estimate also depends on which SNPs and source proxies happen to be sampled. Look at all reference contrasts together. A close match to one contrast can coexist with poor predictions for the others. This is the two-source rank condition from the lecture. The test uses a block covariance and an approximate chi-squared reference distribution.

Change the reference panel

In the simulation, R3 and alternative proxy C share drift. Remove R3 and repeat the tests using R1 and R2. Compare the evidence against C and the precision of the source-A proportion. The target and source genotypes stay the same.

Loading...

Fit a profile from simulated local trees

Now ask which reference lineages are closest along the genome, as in Fit the Target’s Whole Painting Profile. There are two reference copies per population. On each random interval, lineages first merge within their populations. At the split, any remaining lineages enter a common ancestral pool. The two target copies draw their source populations before these mergers. Even within one source, drift changes which reference is closest.

The input here is the set of recorded trees. The Xingyi study inferred its trees from sequence data with Relate. This calculation isolates the painting and profile fit that follow that step.

Loading...
Loading...

Date one node on a fixed tree

Relate first infers the relationships in a local tree, then uses MCMC to sample branch times given the mutations. For one pair in a nonrecombining region there is only one unknown node time TT. Let TT have an exponential prior with mean 2Ne2N_e. Given TT, draw the number of pairwise differences as Poisson with mean 2μLT2\mu LT. A Metropolis step proposes a new log⁡T\log T and accepts or rejects it using the posterior. In this small model the posterior is gamma, so we can check the sampler directly.

Loading...
Plot with title “”

Repeated MCMC states arise when a proposal is rejected. Their distribution describes uncertainty about the node’s age conditional on the observed differences, the prior and the mutation rate. Relate dates multiple nodes subject to their order on the tree.

Speidel et al., Relate

Follow shared haplotypes across regions and times

Follow IBD and the Spread of Celtic Languages. The central region’s new ancestry rises before the western region’s. On each chromosome, simulate distinct sampled copies as mosaics of older founder copies. Independent mosaics create distinct source and target haplotypes, including some shared founders across sources. Random crossovers and marker errors make a long exact match imperfect.

Estimate background sharing from separate source controls. Then fit a mixture to each cohort’s profile of matches to the two reference panels. Only the simulated marker sequences and map enter segment detection.

  region year truth estimate     se realized
 Central 4000  0.10   0.0891 0.0411   0.1053
 Central 3400  0.55   0.5561 0.0441   0.5507
 Central 2800  0.65   0.5907 0.0383   0.6601
 Central 2200  0.65   0.5852 0.0280   0.6481
 Western 4000  0.08   0.0567 0.0504   0.0707
 Western 3400  0.12   0.0542 0.0466   0.1007
 Western 2800  0.42   0.3408 0.0464   0.4344
 Western 2200  0.58   0.5946 0.0538   0.5780
plot without title

Compare the central and western time series, including the chromosome uncertainty at each date. The Celtic study used many more ancestry clusters and a dedicated ancient IBD caller. It compared shifts in ancestry with separate archaeological and linguistic evidence.

Harney et al., qpAdm · Wang et al., Xingyi · McColl et al., Celtic languages

References
  1. Harney, É., Patterson, N., Reich, D., & Wakeley, J. (2021). Assessing the performance of qpAdm: a statistical tool for studying population admixture. Genetics, 217(4). 10.1093/genetics/iyaa045
  2. Wang, T., Yang, M. A., Zhu, Z., Ma, M., Shi, H., Speidel, L., Min, R., Yuan, H., Jiang, Z., Hu, C., Li, X., Zhao, D., Bai, F., Cao, P., Liu, F., Dai, Q., Feng, X., Yang, R., Wu, X., … Fu, Q. (2025). Prehistoric genomes from Yunnan reveal ancestry related to Tibetans and Austroasiatic speakers. Science, 388(6750). 10.1126/science.adq9792
  3. McColl, H., Kroonen, G., Pinotti, T., Barrie, W., Koch, J., Ling, J., Demoule, J.-P., Kristiansen, K., Sikora, M., & Willerslev, E. (2026). Tracing the spread of Celtic languages using ancient genomics. Nature, 659(8142), 1031–1040. 10.1038/s41586-026-11198-9