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. 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.
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. |
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.
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.
7 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.
How does this work if the 2 oldest Swat_IA samples are mean dated to 1266 & 1178 BCE?
Point 1: there are 95% Confidence intervals. I6900 is dated -1266 (1402-1125 BCE 95% CI). His actual date can be towards lower end as well.
Point 2: I6900 has a first degree relative I3260 who is dated 1009-908 BCE. Both their ages are 40-50, so at max they can be separated by 50 years.
Point 3: the other individual you noted is dated 1376-1018 calBCE. The lower range of around ~1100 is perfectly suited to my analysis.
Point 4: Even if we assume there is one outlier somewhere with steppe admixture and reliably dated to 1300 BCE..
The dates and modified output simply gives admixture date in N generations ago.. The calculations we make are:
Admixture date = Average sample date - 28 years * N. And then add +-2 SE for the 95% range. Its based on the average of the 99 individuals, the answer does not have to justify outliers. The simulation output clearly shows that the output is very accurate - the actual admixture date when admixture is recent falls with +-2SE CI of prediction.
I have added a paragraph about the rdiocarbon dates.
@Leon
Also, from Narasimhan et al supplement :
"In fact, of the total of 22 dates we generated from the Swat Late Bronze-Iron Age individuals (not just from Udegram but also from the other sites), all are clustered in a time range of 1195-789 BCE conservatively considering the union of 95% confidence intervals, and 1087-804 BCE if we consider the range of the means of these dates. Thus, the individuals for which we obtained DNA that we directly radiocarbon dated for this study do not have any evidence of coming from the earliest burial phase (1400-1100 BCE) and it is possible that our analysis is entirely reflecting individuals of the inter-phase and late phase."
In fact.. we already have proof of ongoing admixture occuring in the Swat samples. The individual labeled Loebanr_outlier I12138 dated 1107-924 calBCE. She can be modeled as ~50% Turkmenistan_IA (Yaz). Her mtDna was T1a1, her mother was of steppe origin :).
"The Loebanr_o woman likely represents the first wave of such Iranians into India. It is for this reason that extremely few such samples are seen in the data. These Iranian migrations cannot be a source of Vedic language and culture in the Indian subcontinent."
"She was a near-perfect 50/50 admixture of Loebanr_IA and TKM_IA. Such a profile is hardly possible if this ancestry persisted for a long time in India. At the very least, her ancestors did not stay at Loebanr for generations, because it would have diluted away and become like Loebanr_IA rather quickly (5 gens). Bear in mind that she was 1/101 samples, the other 100 were not steppe/TKM_IA enriched like her. I have already proved that steppe ancestry is a late entry into India so the deep Indian origin is impossible and also proved that his DATES result is noisy and not significant. Given these facts, the only possible solution is that she was a child of a 1st/2nd/3rd generation migrant from the north. I favour 1st because of the 50/50 admixture coefficients."
From https://a-genetics.blogspot.com/2022/12/the-final-blow.html
It's like groundhog day, I have to repeat the same shit over and over.
Post a Comment