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 DATESv4010, 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. Even though not completely accurate, we have to accept the DATES output of ~93 generations in this case, which is intermediate between 40 and 130. In real examples, we won't know that there are multiple admixtures a priori. |
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. Dates and Modified-DATES output for simulation are available on
Google Drive in Excel format.
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. When it did identify 2 dates, both dates were meaningfully accurate. Although the CI is large for the older admixture date, Z is still Z>2. 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. It will fail to detect multiple admixtures beyond T1>40 generations.
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 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. |
A P-value of 0.002 (>0.001 cutoff) and an AIC diff of 300 lead us to 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 to the actual admixture event.
THE STEPPE ADMIXTURE AGE FOR MODERN SUBCONTINENT GROUPS IS ALSO INFLATED
DATES or Modified-DATES will always give an output between the two actual admixture dates when the latest admixture is >40 generations ago.
To prove this, I simulated individuals - CEU with two 30% admixtures from Yoruba at generations (70, 80, 90, 100, 110, 120) and (180, 200, 220, 240, 260), giving 30 combinations to test.
These combinations simulate younger admixture between (1360 BCE and 40 CE) and older admixture between (5280 and 3040 BCE), assuming 28 years per generation from the year 2000 CE. These ranges adequately cover the range of dates assumed to be relevant for steppe admixture and older IVC AASI light + AASI heavy admixture, respectively.
As expected, Fig. 7 shows that neither of the two tools was able to distinguish the 2 different admixture dates, and outputs were intermediate to the actual admixture events.
 |
| Fig. 7: Fig. 4(d): DATES and Modified-DATES will give an intermediate answer when the latest admixture is >40 gens ago, regardless of the date of the older admixture. As you can see in this example, the actual admixture dates are T1 70-120 gens ago and T2 180-260 gens ago. |
This leads us to the inevitable conclusion that all my previous DATES outputs for modern Indian groups are inflated and are actually hard upper bounds for the age of steppe admixture in these groups.
Consider that my previous outputs from 2023 using 1240k and HO genotype files for modern Indian subcontinental groups - steppe admixture dates between 1000 BCE and 0 CE - I now consider as hard upper bounds. The actual steppe admixture would be at a minimum 20 to 30 generations (~500 - 1000 years) younger than estimates below; the exact number is out of the scope of current tools. Archaeological and literary evidence tells us that the Achaemenid, Indo-Greek, Indo-Scythian and Kushana rule periods (600 BCE onwards) are likely contenders for a large part of the introgression of steppe ancestry into the North of the Indian subcontinent.
TLDR
1. I introduce a new tool - Modified-DATES - which improves the output of DATES by employing a better curve-fitting model. I prove that Modified-DATES is non-inferior to DATES using admixture-simulated data.
2. Using Modified-DATES, I showed that steppe admixture in Swat Valley Iron Age individuals is much later (~1130 BCE) than previously proposed (~1600 BCE).
3. I show that the steppe admixture date in modern Indian subcontinental groups is actually a hard upper bound, and that the actual Steppe admixture dates are even younger than I had previously estimated (many generations after 1000 BCE).
Among tens and hundreds of other pieces of evidence, such as the absence of steppe ancestry in Parthian samples, this chronology makes any version of the steppe invasion/migration/hide-and-seek theory untenable. Any theory has to satisfy the dates of the local composition of the Rig Veda and the Indo-Aryan presence attested around ~1400 BCE at the latest in West Asia.
The late introgression of Iron Age steppe ancestry into the Indian subcontinent is not related to the introduction of Indo-Iranian languages or culture.
FULL VALIDATION RESULTS OF MODIFIED-DATES
REFERENCES AND LINKS:
1.
Google Drive folder with .geno, .snp, .ind files with all individuals needed for SPGT DATES run. Also has Excel results for DATES and Modified DATES for all 120 simulation runs along with a visual plot.
6. Chintalapati, M., Patterson, N., & Moorjani, P. (2022). The spatiotemporal patterns of major human admixture events during the European Holocene.
eLife,
11, e77625.
https://doi.org/10.7554/eLife.77625
7. Mallick, Swapan; Reich, David, 2023, "The Allen Ancient DNA Resource (AADR): A curated compendium of ancient human genomes",
https://doi.org/10.7910/DVN/FFIDCW, Harvard Dataverse, V14