INTRODUCING ADIXTURE DATING TOOL Modified-DATES
I finished this tool in 2023, but I guess I will publish it to the world because it's going to be useful.
https://github.com/Agenetics/Modified-DATES/blob/main/README.md
The Python file can be downloaded from here. It works on the folder output by DATES, so my program won't run without running DATES on the genotype data first.
THE PROBLEM WITH DATES
The science behind DATES is described in
Chintalapati et al., 2022. To overly simplify it, it
computes the covariance across increasing genetic distance between markers within the same sample. The estimated covariance is expected to decay exponentially with genetic distance, and the rate of decay is informative of the time of the mixture.
The problem is that they fit the decaying curve with the formula Covariance(d) = C + A.e^[-(t+1)*d]. By definition, this can only give a single estimate of t. If an admixture event happened 10 generations ago, and one happened 100 generations ago, it will give some intermediate number like 50 as the answer.
The good thing is that the covariance(d) contains more information than can be gleaned from a single exponential decay function. In a good model fit, the residuals (prediction minus actual) should form a normal distribution around a mean of 0, signalling that the errors are random and there is no hidden systemic information which was not modelled. One test for that is the Shapiro-Wilk test. But sometimes, it is easily visible to the eye.
 |
| Fig. 1: A simulated population of CEU and Yoruba admixed individuals with 2 admixtures - 10 generations and 100 generations ago. The red residuals on the single exp decay curve are clearly not random around the mean of 0 (yellow box). This can be solved by modelling the cov(d) as a sum of two exp decay curves (see the blue residual dots). Shapiro-Wilk P-value of the residuals improves from 0 to 0.83. |
With the standard DATES program, the output is t =~ 32 generations +- 2 * SE of 3.5 gen. But Modified-DATES can capture the 2 admixture events: 8.28 and 81.76 generations ± SE.
(Tip: Whenever the residuals rise like that close to 0 cM in a DATES output, you can be assured that there's a very recent admixture not being dated correctly, unlike in Figure 2 below)
 |
| Fig. 2: Simulated population with admixture 40 and 130 generations ago. No residual red dot rise near 0 cM like in Fig. 1, which had very recent admixture of 10 generations ago. Shapiro-Wilk p-value of the single decay curve residuals is 0.2096, suggesting a good fit. |
PROOF OF NON-INFERIORITY OF MODIFIED-DATES
As done by Chintalapati et al. in 2022, I simulated admixed individuals using phased genotypes of CEU (European ancestry individuals from UTAH) and Yoruba (West African ethnic group) available at
Moorjani Labs GitHub, and the simulation code is also available there.
For the first step, I simulated individuals using a single 20% admixture over 10,20,30,40, 30, 40,...,190,200 generations ago between CEU and Yoruba. Reference populations of French and Yoruba were used to detect the covariance curve for DATES.
After recording the DATES output, I further ran Modified-DATES. To prove non-inferiority, Modified-DATES must not detect 2 admixtures when there is only one, and the output should be accurate as well.
 |
Fig. 3: Modified-DATES delivers similar results to DATES for a population with a single admixture event. It does not falsely detect multiple admixtures.
|
In the next test, I simulated individuals with 30% admixture at 2 separate times (10,20,30,40) gen ago and (70,80,90,100,110,120,130,140,150) gens ago for a total of 36 combinations.
 |
| Fig. 4: a) For one very recent admixture of T1=10, Modified-DATES could identify 8/9 cases with accuracy for both admixture dates, whereas DATES gave intermediate answers. b), c) Modified-DATES could identify 2 Admixtures accurately only in some cases where the early admixture was much further in time although the CI is large. In other cases, the output was similar to DATES, an intermediate number. d) For recent admixture >=40 gens ago, Modified -DATES will give output similar to DATES - an intermediate number. |
Given that Modified-DATES either matches DATES output or improves on it in the case of two admixtures with one very recent admixture, Modified DATES should be standardly run after all DATES analyses.
Modified-DATES works best to accurately identify both admixture events when the recent admixture is < 20 generations ago and the older admixture is > 90 or 100 generations ago.
CORRECTING THE ADMIXTURE DATE OF STEPPE ANCESTRY IN SWAT IRON AGE INDIVIDUALS
Narasimhan et al. noted that
Using this approach, we infer that the Steppe Pastoralist-related admixture in SPGT occurred 26 ± 3 generations before the average sampling time of our SPGT individuals (919 BCE,range: 1263 - 808 BCE), corresponding to a 95% confidence interval of 1815 - 1479 BCE
Elsewhere, they do note that their tool cannot measure multiple admixtures.
We note that here and in what follows, we model admixture as an instantaneous process (a single episode of gene flow), even though in fact it could have occurred at multiple time points or gradually over a long period of time. Thus, one way to interpret the dates reported below is that they reflect the timing of major mixture of the ancestral sources in the history of a tested population and represent an upper bound on the time of the last gene flow as well as lower bound on the time of the earliest gene flow.
So the claim here is that Steppe folks went around BMAC, hiding from them (minimal steppe admixture in Bustan, Sumbar, Parkhai till 1400 BCE) but appeared in the south and mingled genetically with Swat valley folk around 1500-1800 BCE.
With the new v66 2M SNP dataset from the Reich Lab, I redid the admixture timing analysis for Swat. Note that this time we are using 2M SNPs compared to 1.24M previously. More data, more accuracy. And the results will differ.
The filtered dataset is available in Gdrive; it's needed as input for DATES. You can run normal DATES and fit the output data using any other 2-exp decay optimisation tool to verify the MODIFIED DATES fit. There are 114 samples labelled SouthIndian, which are Irula and Telugu samples (ITU); these are AASI-heavy Indian references. The second reference is Steppe_MLBA, with 45 samples mostly from Sintashta. The target population is Pakistan_IA, with 99 samples.
 |
| Fig. 5: Single- and double-exponential decay curve fit for Pakistan_IA (Swat) with reference to SouthIndian and Steppe_MLBA. Note the red residual rise close to 0 cM, indicative of recent admixture. |
P-value of 0.002 (>0.001 cutoff) and AIC diff of 300 make us choose the Modified-DATES double decay model. Instead of an intermediate admixture date of 32 +- 2* 6.6 generations.
We get T1: 7.53 +- 2*1.73 gens ago and T2: 64.84 +- 2* 9.45 gens ago
 |
Fig.6: All the radiocarbon-dated individuals from the Swat Valley Iron Age. All other individuals were dated based on the archaeological context. Source: Harvard Allen AADR v6 Anno database.
|
The oldest individual radiocarbon date is for id I6900 of ~1260 BCE (1402-1125 BCE 95% CI). Based on other results, it's more likely that the actual date of this individual is closer to 1125 than to 1260 or 1400 BCE. However, I3260 was a first-degree relative of I6900, and she is dated to 1009-908 BCE. So, I6900 is certainly on the younger side of his date range. The point I want to emphasise is that these Swat individuals are all younger than 1100 BCE, and the average date is ~920 BCE. This is not a 1500 BCE population.
Assuming an average sample date of -919, as in Narasimhan et al., and using 28 years per generation, as in Chintalapati et al., we estimate an admixture date of 1129 BCE (1226 - 927 BCE, 95% CI). The older event is dated to 2734 BCE (3263 - 2205 BCE, 95% CI), likely indicating admixture between West Eurasian and East Eurasian ancestry (IranN-related vs AASI-heavy).
1129 BCE (1226 - 927 BCE, 95% CI) is the admixture date range for steppe ancestry in the Swat Population. Essentially, those burials occurred very close in time to the actual admixture process.
Among tens and hundreds of other pieces of evidence, such as the absence of steppe ancestry in Parthian samples, this chronology makes the steppe hide-and-seek theory untenable. The introgression of Iron Age steppe ancestry into the Indian subcontinent is not related to the introduction of Indo-Iranian languages or culture.
3 comments:
I am too dumb to understand the technical aspects of it.
I just have a question on the following: "The older event is dated to 2734 BCE (3263 - 2205 BCE, 95% CI), likely indicating an admixture between West Eurasian and East Eurasian ancestry (IranN related vs AASI heavy)."
Does this mean an additional Iran_N heavy population mixed with IVC people (who already had Iran_N)?
Because the date seems late for them to be pure AASI
DATES or Modified DATES cannot identify sources of ancestry. The references fed to it in this example were Sintashta (a west eurasian ancestry) and South Indians (telugu and irula - a mix of west and east eurasian. Aasi is east eurasian).
The older admixture date being detected would have been between an IranN heavier population and a population with slightly or maybe a lot more AASI. Nothing more can be said with certainty.
Pure AASI existing in the North even before 3000 BCE is not very likely in my estimation.
Post a Comment