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.

2. Date Gene Flow with Ancient Genomes

Read Pritchard, Fig. 3.83. Mal’ta lived about 24,000 years ago. Its DNA records the recombination between admixture and sampling. Add the elapsed generations, expressed in years, to the sample’s age to date gene flow.

This notebook follows The Recombination Clock, Calibrating the Clock, and Timing and Duration of Gene Flow. Start from ancestry along one chromosome and then estimate a common date from markers in dated genomes.

Cross a chromosome after a pulse

At distance dd Morgans, two positions share the previous ancestry draw with probability e−gde^{-gd} in this model. Otherwise the second position draws an ancestry label with the same source probability. Here the observed inputs are phased ancestry calls. One could instead estimate local ancestry using sequence data and reference panels.

coancestryCurves() uses Daniel Nachun’s deterministic all-pairs coancestry calculation. In a stationary two-source model its expectation is twice the covariance of one ancestry indicator. Compare the curve of one chromosome with the mean across 22 independent chromosomes.

Plot with title “One chromosome and 22”

Generate informative markers on dated chromosomes

Follow the order of the Iasi study. For each dated panel, generate introduced ancestry tracts along 22 chromosomes and sample alleles at markers that distinguish the two ancestries. The probability of allele 1 is 0.85 in introduced tracts and 0.015 in background tracts. The estimate uses diploid allele fractions at these markers. It has no access to the generating ancestry of a chromosome.

A pulse with age GG generations gives an exponential tract length with mean 1/G1/G Morgans. For extended gene flow, the ages of tracts at random bases follow a Gamma distribution. Older tracts begin more often per Morgan because they are shorter. The duration is four standard deviations of the pulse ages. Here a mean date of 47,100 years and duration of 6,800 years generate four samples per age group, sixteen diploids in all.

Fit the mean date and duration

A single pulse predicts decay e−gde^{-gd} at distance dd and elapsed time gg. The Gamma pulse averages the decay over tract ages. In the fit, each age group has its own amplitude and baseline. The date and duration are shared. The simulated overlap of tracts introduces a small correction to the decay curve at 3% ancestry.

Compare the answer from each independent set of sixteen genomes with the pooled answer from 64. To measure uncertainty for the pooled fit, delete the same chromosome from each sampled genome and refit.

Loading...
Loading...
Plot with title “Precision of pulse duration”

Exercise 1: What Do the Oldest Genomes Add?

The oldest group lived closest to the gene-flow event. Its ancestry tracts had fewer generations to break up. Predict whether removing that group will affect the precision of the mean date or of the duration more. Recompute the chromosome jackknife after dropping the 40,000-year cohort.

Loading...

The date largely follows the slope of the covariance decay. Duration follows its curvature, which can be weak over the observed distances. The dashed lines are the generating covariances before centering each chromosome. An estimate at the top of the plotted range has hit the 12,000 year search bound. Interpret the error bar as a chromosome jackknife summary.

The paper estimated ancestry from reads with admixfrog and accounted for uncertainty in ancient sample ages. Here the age groups and sample ages are given, and all sampled chromosomes have an informative marker grid.

Exercise 2: Date Admixture from Two Genomes

One ancient sample dates to 40,000 years before present. Its ancestry covariance gives 200 generations since admixture. A sample from 26,000 years ago gives 700 generations. Assuming one shared admixture date and a constant average generation time, estimate years per generation and years since admixture.

Let aja_j be the sample age, gjg_j the fitted number of generations since admixture, and τ\tau years per generation. Both samples satisfy T=aj+τgjT=a_j+\tau g_j, so τ=(a1−a2)/(g2−g1)\tau=(a_1-a_2)/(g_2-g_1).

Loading...

Now consider the older sample. What happens to its covariance curve if some ancestry entered just five generations before the person lived?

The toy curves use dd in Morgans and the same covariance at distance zero. The recent contribution accounts for 20% of that covariance. It follows e−5de^{-5d} and adds a slower decay to the signal from the earlier admixture.

plot without title

The two dated samples give 28 years per generation and a shared admixture date of 45,600 years ago. A recent contribution raises covariance at larger distances. A single exponential fitted to that curve can suggest a more recent admixture date for this individual.

Iasi et al., Neanderthal ancestry through time

References
  1. Iasi, L. N. M., Chintalapati, M., Skov, L., Mesa, A. B., Hajdinjak, M., Peter, B. M., & Moorjani, P. (2024). Neanderthal ancestry through time: Insights from genomes of ancient and present-day humans. Science, 386(6727). 10.1126/science.adq3010