Skip to main content
eLife logoLink to eLife
. 2023 Jun 29;12:e85492. doi: 10.7554/eLife.85492

On the limits of fitting complex models of population history to f-statistics

Robert Maier 1,†,, Pavel Flegontov 1,2,†,, Olga Flegontova 2, Ulaş Işıldak 2, Piya Changmai 2, David Reich 1,3,4,5,
Editors: Magnus Nordborg6, Molly Przeworski7
PMCID: PMC10310323  PMID: 37057893

Abstract

Our understanding of population history in deep time has been assisted by fitting admixture graphs (AGs) to data: models that specify the ordering of population splits and mixtures, which along with the amount of genetic drift and the proportions of mixture, is the only information needed to predict the patterns of allele frequency correlation among populations. The space of possible AGs relating populations is vast, and thus most published studies have identified fitting AGs through a manual process driven by prior hypotheses, leaving the majority of alternative models unexplored. Here, we develop a method for systematically searching the space of all AGs that can incorporate non-genetic information in the form of topology constraints. We implement this findGraphs tool within a software package, ADMIXTOOLS 2, which is a reimplementation of the ADMIXTOOLS software with new features and large performance gains. We apply this methodology to identify alternative models to AGs that played key roles in eight publications and find that in nearly all cases many alternative models fit nominally or significantly better than the published one. Our results suggest that strong claims about population history from AGs should only be made when all well-fitting and temporally plausible models share common topological features. Our re-evaluation of published data also provides insight into the population histories of humans, dogs, and horses, identifying features that are stable across the models we explored, as well as scenarios of populations relationships that differ in important ways from models that have been highlighted in the literature.

Research organism: Human, Other

Introduction

Admixture graph models provide a powerful intellectual framework for describing the relationships among populations that allows not only branching of populations from a common ancestor but also mixture events. An admixture graph (abbreviated below as AG), as fit in the widely used software packages ADMIXTOOLS (Patterson et al., 2012) and TreeMix (Pickrell and Pritchard, 2012; Molloy et al., 2021), is a directed acyclic bifurcating graph with two types of edges: those representing genetic drift, and those representing gene flow. Each admixture event is represented as a confluence of two gene flow edges. Nodes of such a graph represent unsampled intermediate populations, and terminal nodes (leaves) represent sampled present-day or ancient groups (see a mathematical definition in Soraggi and Wiuf, 2019). An attractive feature of AGs is that they can summarize important features of population history without requiring specification of all parameters such as population sizes, split times, mixture times, and distinguishing between sudden splits or drawn-out separations. All these parameters describe important features of demographic history and are fit by many methods for fitting demographic models (Gutenkunst et al., 2009; Gronau et al., 2011; Schiffels et al., 2016; Flegontov et al., 2019; Kamm et al., 2020, Rogers, 2019; Hubisz et al., 2020). However, the fact that it is possible to factor this difficult problem by first inferring important aspects of the topology (AGs fitted to allele frequency correlation statistics), and then fitting additional demographic parameters to data such as site frequency spectra, simplifies demographic inference (Patterson et al., 2012; Pickrell and Pritchard, 2012; Lipson et al., 2013; Leppälä et al., 2017; Lipson et al., 2020b; Molloy et al., 2021; Yan et al., 2021). AGs thus serve both as conceptual frameworks that allow us to think about the relationships of populations deep in time, and as mathematical models we can fit to genetic data.

AGs are fitted to f-statistics (Reich et al., 2009; Patterson et al., 2012; Peter, 2016; Soraggi and Wiuf, 2019). For convenience, below we use a concise definition of f-statistics by Lipson, 2020a: ‘The most general definition is that of the f4-statistic f4(A, B; C, D), which measures the average correlation in allele frequency differences between (1) populations A and B and (2) populations C and D that is, (pA – pB)∗ (pC – pD), for allele frequencies p, typically averaged over many biallelic single-nucleotide polymorphisms. This f4-statistic is the same as the D-statistic up to a normalization factor.’ The other f-statistics (f2 and f3) can be defined as special cases of f4-statistics: f2(A, B) = f4(A, B; A, B) and f3(A; B, C) = f4(A, B; A, C). f4-Statistics can be written as linear combinations of f3- or f2-statistics, and f3-statistics can be written as linear combinations of f4- and f2-statistics. f2-, f3-, and f4-statistics have straightforward interpretations in terms of drift edges along the tree, see Figure 2 in Patterson et al., 2012 and Appendix 1—figure 1b. A challenge for fitting AG models is that they are often not uniquely constrained by the data, with many providing equally good fits to the f2-, f3-, and f4-statistics used to constrain them within the limits of statistical resolution. Previously published methods for finding fitting AGs (mainly qpGraph, Patterson et al., 2012 and TreeMix, Pickrell and Pritchard, 2012; Molloy et al., 2021) were not well equipped to handle the large range of equally well-fitting models for three reasons: (1) They did not reliably provide information on whether there is a uniquely fitting parsimonious model or alternatively whether there are many models that fit equally well to the limits of statistical resolution, (2) they did not provide formal goodness-of-fit tests, and related to this, (3) they did not provide tests for whether the difference between the fits of any two models is statistically significant. As a consequence, and as we demonstrate in what follows, many published AG models have been interpreted as providing more confidence than is merited about the extent to which genetic data allows us to disentangle ancestral relationships.

To appreciate these problems, we first need to consider two main approaches that were utilized to study demographic history with AGs.

The first approach is to identify AGs automatically, either without human intervention or with guidance. It is possible in theory to exhaustively test all possible graphs for a given set of populations and pre-specified number of admixture events, as implemented, for example, in the admixturegraph R package (Leppälä et al., 2017). An exhaustive approach can provide a complete view of the range of models that are consistent with the data for a specified level of parsimony (total number of admixture events allowed in the graph), which is not biased by the algorithm used to explore the space of possible AGs. However, this approach is limited to small graphs (typically up to six groups, two admixture events) due to the rapid increase in the number of possible AGs as the number of populations and admixture events grows. As we show in our discussion of case studies, the simple models explored with an exhaustive approach can lead to misleading conclusions about population history because not including additional populations can blind users to additional mixture events that occurred (and whose existence is revealed by examining data from additional populations). Furthermore, models with additional admixture events that are qualitatively different to the best-fitting parsimonious graph and that capture the true history, will sometimes be completely missed when constraining the number of gene flows. Alternatively, the programs TreeMix (Pickrell and Pritchard, 2012; Molloy et al., 2021), MixMapper (Lipson et al., 2013), miqoGraph (Yan et al., 2021), and AdmixtureBayes (Nielsen et al., 2023 preprint) all address the problem of how to rapidly explore the vast space of AGs relating a set of populations by applying algorithmic ideas or heuristics; all of these methods speed up model search by orders of magnitude.

The second approach to fitting AGs is to manually build them up by grafting additional populations onto simpler smaller graphs that fit the data. This approach involves stepwise addition of populations in an order that is chosen based on the best judgment of the user, and for each newly added population involves adding admixture events or tweaks in the graph until a fit is obtained; the user then moves on to adding the next population (see Reich et al., 2009; Reich et al., 2011; Reich et al., 2012; Lazaridis et al., 2014; Seguin-Orlando et al., 2014; Fu et al., 2016; Skoglund et al., 2016; Yang et al., 2017; McColl et al., 2018; Moreno-Mayar et al., 2018; Tambets et al., 2018; van de Loosdrecht et al., 2018; Flegontov et al., 2019; Sikora et al., 2019; Wang et al., 2019; Lipson et al., 2020b; Shinde et al., 2019; Yang et al., 2020; Hajdinjak et al., 2021; Wang et al., 2021; Bergström et al., 2022 for examples). The program qpGraph in the ADMIXTOOLS package (Patterson et al., 2012) has been the most common computational method used for testing fits of individual AGs. Most AGs in the literature have been constructed manually in this way, often acknowledging the existence of alternative models by presenting plausible models side-by-side, and this approach has been the basis for many claims about population history (Lazaridis et al., 2014; Yang et al., 2017; Posth et al., 2018; Sikora et al., 2019; Shinde et al., 2019; Bergström et al., 2020; Lipson et al., 2020b; Hajdinjak et al., 2021; Wang et al., 2021; Bergström et al., 2022). A strength of this approach is that it takes advantage of human judgment and outside knowledge about what graphs best fit the history of the human or animal populations being analyzed. This external information is powerful as it can incorporate non-genetic evidence such as geographic plausibility and temporal ordering of populations or linguistic similarity, or other genetic data such as estimates of population split times, or shared Y chromosomes, or rejection of proposed scenarios based on joint analysis of much larger numbers of populations than can reasonably be analyzed within a single AG. Thus, while manual approaches explore many orders of magnitude fewer topologies than automatic approaches often do, they still may provide inferences about population history that are more useful than those provided by automatic approaches. These methods’ strength is also their weakness: by relying on intuition, following a manual approach has the potential to validate the biases users have as to what types of histories are most plausible (these may be the only types of histories that will be carefully explored). This can blind users to surprises: to profoundly different topologies that may correspond more closely to the true history, and we discuss examples of this in the Results section.

In this study, we introduce a new method, findGraphs, that belongs to the first class of algorithms (those for automated AG topology inference). Algorithmic innovations and speedups in findGraphs enable us to explore a much larger proportion of plausible AG space than many other methods reported to date. The findGraphs method combines the advantages of automated and manual topology exploration by allowing users to encode various sources of information as constraints on the space of AGs, which is then explored automatically. However, the main innovations in findGraphs are not computational, but instead conceptual. Instead of finding one or a few AGs fitting the data well, we use findGraphs for exploring AG spaces and assessing if any reliable information on population history can be extracted from a given AG space (defined by a population set and parsimony constraints) in the first place.

Results

Regardless of the approach used to search through the space of possibly fitting AGs, a challenge in the effort to find a uniquely well-fitting AG (or group of topologically similar AGs) is that it has been difficult to quantify the absolute goodness of fit of a model to date. We have not been entirely successful with this and are not aware of other work that has been successful. It is also difficult to assess the relative fits of multiple models, especially if they differ in complexity. Performance gains relative to the original implementation of qpGraph allow us to address this problem by obtaining bootstrap confidence intervals and p-values for estimated parameters of single models, as well as for the difference in fit quality of two models (see Appendix 1, Sections 1.B.3 and 2.E). In combination with the approach to automating the search of well-fitting AGs, this leads to a situation where we are able to find and test a large number of models, many of which fit equally well despite often having very different topological features. Published approaches to comparing the fits of AG models based on Akaike information criterion (AIC) or Bayesian information criterion (BIC), see Flegontov et al., 2019; Shinde et al., 2019 have the problem that it is often not clear what the effective number of degrees of freedom is in the two models being compared since in the case of AGs it depends not only on the number of graph edges, but also on graph topology.

The methods for automated graph topology inference and model comparison relying on bootstrap resampling are implemented in ADMIXTOOLS 2, a comprehensive platform for learning about population history from f-statistics. It is built to provide a stand-alone workspace for research in this area and is implemented as an R package. For all computations, ADMIXTOOLS 2 exhibits large speedups relative to previously published platforms for f-statistic analysis (e.g., popstats and ADMIXTOOLS version 6.0 which we call ‘Classic ADMIXTOOLS’ in what follows to distinguish it from updated ADMIXTOOLS version 7.0.2 which implements some of the speedup ideas also implemented in ADMIXTOOLS 2). This is achieved by deploying a series of algorithmic improvements, most notably storage of precomputed f-statistics in random access memory, which avoids having to rely on reading in extremely large genotype matrices to perform most computations. In addition to the new algorithmic ideas allowing efficient searching through the space of AGs and comparing the fits of two AGs, ADMIXTOOLS 2 also provides a solution to the question of which parameters of an AG are identifiable in the limit of infinite data. Methodological details are presented in Appendix 1, and below we focus on documenting problems of AG inference on simulated data and revisiting AGs from the literature to understand the extent to which methodological challenges with AG fitting biased previous studies.

Topological diversity of well-fitting models and effects of parsimony constraints on simulated data

First, we explored the performance of the findGraphs method for automated topology inference on simulated AGs of random topology, focusing on the following questions: (1) among findGraphs results, how common are AGs fitting nominally or significantly better than the true one but different topologically; (2) what is the degree of topological diversity among these models fitting the data better than the true one? For this purpose, we simulated AGs of four complexity classes using msprime v.1.1.1: eight or nine non-outgroup populations, and four or five admixture events. Only simulations where pairwise FST for groups were in the range characteristic for anatomically modern and archaic humans were selected for further analysis, resulting in 20 random topologies per complexity class, each including a distant outgroup that facilitates automated exploration of the topology space.

We ran findGraphs on each simulated dataset starting from random graphs and pre-specifying the true number of admixture events (n), or n − 1, or n + 1 events. For each of these graph complexity levels, we performed 100 independent findGraphs runs and recorded 5 AGs from each run having the best log-likelihood (LL) scores. Topologically redundant AGs were discarded, and for the remaining AGs we calculated worst f4-statistic residuals (WR) and tested if the newly found models fit significantly better than the true model, using the bootstrap model comparison method developed in this study (see Appendix 1, Sections 1.B.3 and 2.E). In Figure 1a–c, we show the following statistics for each simulated AG, summarized across simulated complexity classes and parsimony levels allowed at the stage of topology exploration: fraction of topologies found with findGraphs that fit better than the true AG (according to LL score), or that fit significantly better than the true AG, or those with plausible absolute fits (WR < 3 SE). It is clear that for the great majority of simulated datasets, even a shallow exploration of the topology space with findGraph (100 independent runs) uncovers AGs that fit nominally better than the true topology (Figure 1a and d) and are topologically diverse (see Figure 1e for examples). When allowing for n admixture events, at least one AG fitting significantly better than the true one was found for 60% of simulated datasets. When n + 1 admixture events were allowed, this grew to 100% (all 80 datasets). It should be noted that some admixture events are indistinguishable with f-statistics; for instance, successive gene flows between two lineages, with no other edges branching off between the gene flows. If such gene flows were included in the random topologies we simulated, AGs with n events were overly complex for representing the true history. Thus, if we are dealing with random histories, choosing an optimal complexity class for topology search is not straightforward.

Figure 1. Computer simulations show that when the true admixture graph (AG) topology is complex, findGraphs frequently finds AGs fitting the data better than the true AG.

Figure 1.

(a) Fractions of distinct AGs found with findGraphs that fit the data nominally better than the true AG (according to log-likelihood [LL] scores). The simulated datasets are grouped by complexity class (eight or nine leaves, four or five admixture events) and by the number of admixture events allowed at the topology search stage (n − 1 on the left, n in the middle, and n + 1 on the right, where n is the true number of simulated admixture events). Each dot represents a simulated random history, and 20 such histories were simulated for each complexity class. (b) Fractions of distinct AGs found with findGraphs that fit the data significantly better than the true AG (two-tailed empirical p-value of the bootstrap model comparison method <0.05). (c) Fractions of distinct AGs found with findGraphs that fit the data well in absolute terms (WR < 3 SE). (d) Distinct AGs found for a particular simulated history (eight groups and four admixture events) in the LL and WR coordinates. Only best-fitting graphs with WR < 3 SE are shown. The fit of the true topology is shown in yellow, and topologies that fit the data significantly better than the true one are in purple. The true topology was not recovered by our findGraphs searches. (e) The true model from panel (d) and two alternative models found with findGraphs, both fitting significantly better than the true one (based on the bootstrap p-value) and very different topologically. This is presented as an example of very high topological diversity seen among well-fitting models. Model parameters (graph edges) that were inferred to be unidentifiable (see Appendix 1, Section 2.F) are plotted in red.

These results on simulated data raise concerns about the extent to which fitting AG topologies provide reliable information about population history. Even for histories including eight or nine groups, an outgroup, and four or five pulse-like admixture events, perfect diploid data, and groups as differentiated as Neanderthals and anatomically modern humans—a complexity class that is simpler than many models fitted to real genetic data in published papers—models fitting the data as well as or better than the true one are common, and their topological diversity is in most cases so high that it precludes consensus inference of topology by analysis of multiple topologies. As we demonstrate on another set of simulated data in Appendix 1 (Section 1.B.1), the probability of finding a ‘wrong’ model that fits better than the true one grows with increasing graph complexity, and that effect is reproduced with both findGraphs and TreeMix (Appendix 1—figure 2). We expect this problem to be even more acute when researchers are dealing with realistic complex histories. However, geneticists often rely on external constraints on AG topologies (such as temporal plausibility of a topology, results from qpAdm modelling, f4-statistics, PCA, ADMIXTURE, geographical, archaeological, and linguistic considerations) that were not used for filtering the results of our topology searches on simulated data. Thus, it is possible in principle that published AG models are more robust than our results on simulated data, and we explore this issue in depth in the next section and in Appendix 2.

Revisiting published AGs

We studied AGs from eight publications (Lazaridis et al., 2014; Shinde et al., 2019; Sikora et al., 2019; Bergström et al., 2020; Lipson et al., 2020b; Hajdinjak et al., 2021,Librado et al., 2021; Wang et al., 2021) with the goal of comparing published models to models identified by our algorithm for automatically inferring optimal (best-fitting) AGs (Table 1). In all but one study, qpGraph or its automated reimplementation (admixturegraph, Leppälä et al., 2017) was used for fitting topologies to genetic data, while Librado et al., 2021 relied on the automated OrientAGraph method (Molloy et al., 2021). The main question we were interested in is whether we can find alternative models which (1) fit as well as, or better than the published graph, (2) differ in important ways from the published graph, and (3) cannot immediately be rejected based on other evidence such as temporal plausibility. The studies were selected according to the criterion that an AG model inferred in the study is used as primary evidence for at least one statement about population history in the main text of the study. In other words, the AG method was used in the original studies to support new conclusions about population history, and not simply to show that there is a model that exists that does not contradict results of other genetic analyses, an approach that is a valid use of AGs and has been taken in some studies (e.g., Seguin-Orlando et al., 2014; Narasimhan et al., 2019; Wang et al., 2019). There are many published studies that could have been included in our re-evaluation exercise as they meet our key criterion (e.g., Yang et al., 2017; McColl et al., 2018; Posth et al., 2018; Flegontov et al., 2019; Carlhoff et al., 2021, Kutanan et al., 2021; Bergström et al., 2022; Lipson et al., 2022; Vallini et al., 2022). However, critical re-evaluation of each published graph is an intensive process, and the sample of studies we revisited is diverse enough to identify some general patterns.

Table 1. Published graphs in the context of automatically found graphs.

We compared graphs from eight publications to alternative graphs inferred on the same or very similar data (see Supplementary file 1 for details).

Publication Figure in the original publication Groups (populations) Admixture events SNPs used Publ. model: worst residual, SE Distinct alternative topologies found Significantly better fitting topologies, % Non-significantly better fitting topologies, % Non-significantly worse fitting topologies, % Significantly worse fitting topologies, %
Bergström et al., 2020 1e 7 3 312,282 2.1 221 0.5 2.3 16.7 80.5
Lazaridis et al., 2014 3 7 4 642,247 2.2 306 1.0 12.1 80.7 6.2
Shinde et al., 2019 3 8* 3 2,49,009 2.6 143 0.0 2.8 3.5 93.7
Librado et al., 2021 3b 10* 3 1,767,419 23.9 324 6.8 15.7 24.1 53.4
Ext 5d 4 14.1 535 0.0 0.0 4.5 95.5
Ext 5e 5 6.9 784 0.0 0.3 28.4 71.3
Hajdinjak et al., 2021 2d 12 8 263,698 4.8 1988 15.7 55.7 6.6 22.0
Lipson et al., 2020b Ext 4 12 11 211,738 2.3 2000 0.0 11.9 77.1 10.4
Wang et al., 2021 Ext 6 12 8 203,753 3.8 1778 12.6 84.3 3.1 0.0
Sikora et al., 2019 3f (left) 13 6 344,903 3.8 894 0.3 17.1 34.6 48.0
3f (right) 14 6 613,509 4.2 2785 0.1 0.9 9.8 89.2

Publication: Last name of the first author and year of the relevant publication.

Figure in the original publication: Figure number in the original paper where the AG is presented.

Groups (populations): The number of populations in each graph.

Admixture events: The number of admixture events in each graph.

SNPs used: The number of single-nucleotide polymorphisms (SNPs; with no missing data at the group level) used for fitting the AGs. For all case studies, we tested the original data (SNPs, population composition, and the published graph topology) and obtained model fits very similar to the published ones. However, for the purpose of efficient topology search, we in some cases adjusted settings for f3-statistic calculation, population composition, or graph complexity as noted in the footnotes, in Supplementary file 1, and discussed in the text.

Publ. model: Worst residual, SE: The worst f-statistic residual of the published graph fitted to the SNP set shown in the ‘SNPs used’ column, measured in standard errors (SE).

Distinct alternative topologies found: The number of distinct newly found topologies differing from the published one.

Significantly better fitting topologies, %: The percentage of distinct alternative topologies that fit significantly better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05). If the number of distinct topologies was very large, a representative sample of models (1/20 to 1/3 of models evenly distributed along the log-likelihood spectrum) was compared to the published one instead, and the percentages in this and following columns were calculated on this sample.

Non-significantly better fitting topologies, %: The percentage of distinct topologies that fit non-significantly (nominally) better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

Non-significantly worse fitting topologies, %: The percentage of distinct topologies that fit non-significantly (nominally) worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

Significantly worse fitting topologies, %: The percentage of distinct topologies that fit significantly worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05).

*

The population composition was modified, see Supplementary file 1 and the text.

Certain gene flows were removed from the published model for simplicity, see Supplementary file 1 and the text.

Here we present a high-level summary of these analyses. Discussion of individual case studies follows below, and for details see the exposition in Appendix 2.

For 19 out of 22 published graphs we examined, we were able to find at least one, but usually many, graphs of the same complexity (number of groups and admixture events), with an LL score that was nominally better than that of the published graph (see results for 11 selected graphs in Table 1 and full results for all 22 graphs in Supplementary file 1). The 22 graphs were drawn from the 8 publications as there were multiple final graphs presented in some of the publications (Shinde et al., 2019; Sikora et al., 2019; Librado et al., 2021), or we examined selected intermediates in the model construction process (Bergström et al., 2020; Lazaridis et al., 2014; Lipson et al., 2020b; Wang et al., 2021), or we introduced an outgroup not used in the original study (Hajdinjak et al., 2021; Sikora et al., 2019), or we tested additional graph complexity classes dropping ‘unnecessary’ admixture events (Lipson et al., 2020b; Sikora et al., 2019).

These alternative graphs often fit not significantly better than the published one after taking into account variability across single-nucleotide polymorphisms (SNPs) via bootstrapping. In the following cases, at least one model that fits significantly better than the published one according to our bootstrap model comparison method was found: the Bergström et al. and Lazaridis et al. 7-population graphs; the Librado et al., 2021 graph with 3 admixture events; the Hajdinjak et al. graphs with or without adding a chimpanzee outgroup; the Lipson et al., 2020b. intermediate graphs with 7 groups and 4 admixture events and with 10 groups and 8 admixture events; the Wang et al. 12-population graph; and the Sikora et al. graphs for West Eurasians and for East Eurasians with 10 or 6 admixture events (Supplementary file 1). In nearly all cases (except for the Lazaridis et al. six-population graph, Shinde et al. graph with eight populations and three admixture events, and the Librado et al., 2021. graph with four admixture events), we also identified many additional graphs that fit the data not significantly worse than the published ones. In every example, some of these graphs have topologies that are qualitatively different in important ways from those of the published graphs. Features such as which populations are admixed or unadmixed, direction of gene flow, or the order of split events, if not constrained a priori, are generally not the same between alternative fitting models for the same populations. This result agrees with the expectation from our exploration of simulated AGs (Figure 1). While some of these graphs can be rejected since their topologies appear highly unlikely because of non-genetic or unrelated genetic evidence, for all of the publications except one (Shinde et al., 2019), there are alternative equally-well-or-better-fitting graphs we identified and examined manually that differ in qualitatively important ways with regard to the implications about history, are temporally plausible (for instance, very ancient populations do not receive gene flows from sources closely related to much less ancient groups), and not obviously wrong based on other lines of evidence. These findings and the results on simulated AGs suggest that complex AG models, even with a very good fit to the data, often differ in important ways from true population histories.

The previous statements are valid if the original parsimony constraints are applied, that is, if the graph complexity (the number of admixture events) is not altered. Below in selected case studies (Shinde et al., Librado et al., 2021.) we also explore the effect of relaxing the parsimony constraint. Table 1 and Figure 2 summarize these results for one or a few graphs from each publication, while Supplementary file 1 contains the full results for all studied graphs and setups. Table 2 summarizes our assessment of inferences in the original publications that were supported by the published graphs.

Figure 2. Log-likelihood (LL) scores of published graphs (those shown in Table 1) and automatically inferred graphs.

Figure 2.

Each dot represents the LL score of a best-fitting graph from one findGraphs iteration (low values of the score indicate a better fit); only topologically distinct graphs are shown. LL scores for the published models and best-fitting alternative models found are shown by blue and pink x’s, respectively. Bootstrap distributions of LL scores for these models (vertical lines, 90% CI) and their medians (solid dots) are also shown. Lower scores of the fits obtained using all single-nucleotide polymorphisms (SNPs), relative to the bootstrap distribution, indicate overfitting. Green and red horizontal lines show the approximate locations where newly found models consistently have fits significantly better or worse, respectively, than those of the published model. In the case of the Bergström et al., Lazaridis et al., and Hajdinjak et al. studies, one or more worst-fitting models were removed for improving the visualization. The setups shown here (population composition, number of groups and admixture events, topology search constraints) match those shown in Table 1.

Table 2. Features of the published admixture graphs (AGs) that support inferences in the original studies and the level of their support in our re-analysis.

The table lists key features whose support we assessed in sets of alternative well-fitting and temporally plausible models generated by findGraphs. Since this assessment had to be performed manually, only in two cases (marked by asterisks) all models fitting better and non-significantly worse than the published one were scrutinized; in other cases only a subset of best-fitting models was examined (see the respective sections in Appendix 2 for details).

Study Groups/admixture events Features of the published model supported by all temporally plausible alternative models generated by findGraphs that we scrutinized Features of the published model lacking universal support among temporally plausible alternative models generated by findGraphs
Bergström et al., 2020 7/3* Early divergence of domesticated dog lineages (prior to the date of the Karelian dog, 10,900 ya). Siberian (Baikal), American, and East Mediterranean dog lineages are unadmixed, and the West European (Germany Early Neolithic), East European (Karelia), and dogs of Southeast Asian origin (New Guinea singing dog) are admixed.
Lazaridis et al., 2014 7/4 Present-day Europeans represent a mixture of three ancestral sources related to the following groups: Mal’ta (MA1), West European hunter–gatherers, and early European farmers. N/A
Shinde et al., 2019 8/3* (1) Iranian farmer-related ancestry in the Indus Periphery group is not derived from the Hajji Firuz Neolithic or Tepe Hissar Chalcolithic groups.
(2)There is Asian-related ancestry in the Indus Periphery group.
N/A
8/4 (2) There is Asian ancestry in the Indus Periphery group. (1) Iranian farmer-related ancestry in the Indus Periphery group is not derived from the Hajji Firuz Neolithic or Tepe Hissar Chalcolithic groups.
Librado et al., 2021 10/8 or 9 (2) DOM2 and C-PONT are sister groups (they form a clade).
(4) There is gene flow from a deep-branching ghost group to the NEO-ANA group.
(1) NEO-ANA-related admixture is absent in the DOM2 group.
(3) There is no gene flow connecting the CWC group and the cluster associated with Yamnaya horses and horses of the later Sintashta culture whose ancestry is maximized in the Western Steppe (DOM2, C-PONT, TURG).
(5) Tarpan is a mixture of a CWC-related and a DOM2-related lineage.
Hajdinjak et al., 2021 12/8 (3) The Vestonice16 lineage is a mixture of a Sunghir-related and a BK1653-related lineage. (1) There are gene flows from the lineage found in the ~45,000- to 43,000-year-old Bacho Kiro Initial Upper Paleolithic (IUP)-associated lineage to the Ust’-Ishim, Tianyuan, and GoyetQ116-1 lineages.
(2) The ~35,000-year-old Bacho Kiro Cave individual BK1653 belonged to a population that was related, but not identical, to that of the GoyetQ116-1 individual.
Lipson et al., 2020b 12/11 N/A (1) A lineage maximized in present-day West African groups (Lemande, Mende, and Yoruba) also contributed some ancestry to the ancient Shum Laka individual and to present-day Biaka and Mbuti.
(2) Another ancestry component in Shum Laka is a deep-branching lineage maximized in the rainforest hunter–gatherers Biaka and Mbuti.
(3) ‘Super-archaic’ ancestry (i.e., diverging at the modern human/Neanderthal split point or deeper) contributed to Biaka, Mbuti, Shum Laka, Lemande, Mende, and Yoruba.
(4) A ghost modern human lineage (or lineages) contributed to Agaw, Mota, Biaka, Mbuti, Shum Laka, Lemande, Mende, and Yoruba.
Wang et al., 2021 12/8 N/A Admixture from a source related to Andamanese hunter–gatherers is almost universal in East Asians, occurring in the Jomon, Tibetan, Upper Yellow River Late Neolithic, West Liao River Late Neolithic, Taiwan Iron Age, and China Island Early Neolithic (Liangdao) groups.
Sikora et al., 2019 ‘West’ 13/6 N/A The Mal’ta (MA1_ANE) lineage received gene flow from the Caucasus hunter–gatherer (CaucasusHG_LP or CHG) lineage.
Sikora et al., 2019 ‘East’ 14/6 (2) European-related ancestry in the Kolyma, USR1, and Clovis lineages is closer to Mal’ta than to Yana. (1)The Mal’ta (MA1_ANE) and Yana (Yana_UP) lineages received gene flow from a common East Asian-associated source diverging before the ones contributing to the Devil’s Cave (DevilsCave_N), Kolyma (Kolyma_M), USR1 (Alaska_LP), and Clovis (Clovis_LP) lineages.

(3)The Devil’s Cave lineage received no European-related gene flows, and Kolyma has less European-related ancestry than ancient Americans (USR1 and Clovis).

To identify alternative models, we ran many iterations of findGraphs for each set of input populations, constraints, and the number of admixture events being fit to the data, and we selected the best-fitting graph in each iteration, that is, a graph with the lowest LL score. Each iteration was initiated from a random graph. The algorithm is non-deterministic so that in each iteration it takes a different trajectory through graph space, possibly terminating in a different final best graph. The number of admixture events in the initial random graphs and in the output graphs was always kept equal to that of the published graph. For each example, we counted how many distinct topologies were found with significantly or non-significantly better or worse LL scores than that of the published graph (Table 1, Supplementary file 1). To obtain a formally correct comparison of model fit, the published graph and each alternative model were fitted to resampled replicates of the dataset and the resulting LL score distributions were compared (see Appendix 1, Sections 1.B.3 and 2.E). As shown in Figure 2, for four of the eight publications we re-analyzed, the LL score of the published graph run on the full data is better than almost all the bootstrap replicates on the same data (it falls below the fifth percentile), which is a sign of overfitting, and underscores the importance of applying bootstrap to assess the robustness of fitted models and conclusions drawn from them.

The fraction of graphs with scores better than the score of the published graph should not be overinterpreted, as it is influenced by the findGraphs algorithm, which does not guarantee ergodic sampling from the space of well-fitting AGs. In particular, it is possible that despite findGraph’s strategies for efficiently identifying classes of well-fitting AGs (see Appendix 1, Sections 1.B.1 and 2.C), it has a bias toward missing particular classes of graph topologies. However, even one alternative graph which is not significantly worse-fitting than the published graph suggests that we are not able to identify a single best-fitting model. Many of these alternatives, despite providing a good fit to the data, appear unlikely, for example, because they suggest that Paleolithic-era humans are mixed between different lineages closely related to present-day humans. We were mainly interested in alternative models which are also plausible, and so we constrained the space of allowed topologies in findGraphs to those we considered plausible a priori, in cases where this was necessary for reducing the search space size. Constraints were either integrated into the topology search itself, or were applied to outcomes of unconstrained searches, as detailed below.

Below we summarize our key findings and the methodological implications from our re-analysis of the eight published datasets. For more detailed discussions see Appendix 2.

1. Bergström et al., 2020

The AG for ancient and present-day dogs in Figure 1e of Bergström et al., 2020 includes an outgroup, six other groups and three admixture events (Figure 3a, Figure 3—source data 1). A best-fitting newly found graph fits the data nominally better than the published one (two-tailed empirical p-value = 0.332), and it bears a closer resemblance to the human population history (Figure 3—source data 2). In this new seven-population model (Figure 3a), both American and Siberian dog lineages represent a mixture between groups related to the Asian and East European dog lineages, and robust genetic results suggest that in the time horizon investigated in the original publication (after ca. 10,900 years ago) nearly all Siberian (Jeong et al., 2019; Sikora et al., 2019) and all American (Raghavan et al., 2014; Raghavan et al., 2015; Moreno-Mayar et al., 2018) human populations were admixed between groups most closely related to Europeans and East Asians. According to this model, East Mediterranean dogs are modeled as a mixture of a basal branch (splitting deeper than the divergence of the Asian and European dogs) and West European dogs, again in agreement with current models of genetic history of West Asian human populations who are modeled as a mixture of ‘basal Eurasians’ and West European hunter–gatherers (Lazaridis et al., 2016; Lipson et al., 2017). Although greater congruence with human history increases the plausibility of findGraph’s newly identified model relative to the published model, to make unbiased comparisons between the history of the two species, model selection should be done strictly independently for each species, and so the genetic data alone does not favor one model more than another.

Figure 3. Published graphs and selected alternative models from three studies for which we explored alternative admixture graph (AG) fits.

Figure 3.

In all cases, we selected a temporally plausible alternative model that fits nominally or significantly better than the published model and has important qualitative differences compared to the published model with respect to the interpretation about population relationships. In all but one case, the model has the same complexity as the published model shown on the left with respect to the number of admixture events; the exception is the re-analysis of the Librado et al., 2021 horse dataset since the published model with three admixture events is a poor fit (worst Z-score comparing the observed and expected f-statistics has an absolute value of 23.9 even when changing the composition of the population groups to increase their homogeneity and improve the fit relative to the composition used in the published study). For this case, we show an alternative model with 8 admixture events that fits well and has important qualitative differences from the point of view of population history interpretation. The existence of well-fitting AG models does not mean that the alternative models are the correct models; however, their identification is important because they prove that alternative reasonable scenarios exist that are qualitatively different from published models. Model parameters (graph edges) that were inferred to be unidentifiable (see Appendix 1, Section 2.F) are plotted in red. (a) The graph published by Bergström et al., 2020 (on the left) and a nominally better fitting graph for dogs that is more congruent to human history (on the right). For both species, Baikal and Native American groups are mixed between European- and East Asian-related lineages, and a ‘Basal Eurasian’ lineage contributes to West Asian groups; these features are all characteristic of human history but absent in the published dog graph. (b) The graph published by Librado et al., 2021 (modified population composition, on the left) and a significantly better fitting AG that is temporally and geographically plausible (on the right). In contrast to the published graph, in this graph with eight mixture events (the minimum necessary to obtain an acceptable statistical fit to the data), a lineage maximized in horses associated with Yamnaya steppe pastoralists or their Sintashta descendants (C-PONT, TURG, or DOM2) contributes a substantial proportion of ancestry to the horses from the Corded Ware Complex (CWC). Thus, in this model both CWC humans and horses are mixtures of Yamnaya and European farmer-associated lineages. This is qualitatively different from the suggestion that there was no Yamnaya-associated contribution to CWC horses which was a possibility raised in the paper. The AG with eight admixture events is also different from the published model in that it shows a fitting model where the Tarpan horse does not have the history claimed in the study (as an admixture of the CWC and DOM2 horses). (c) The graph published by Hajdinjak et al., 2021 (on the left) and a significantly better fitting AG, but without a specific lineage shared between the Bacho Kiro Initial Upper Paleolithic group and East Asians (on the right). In this model, all the lineages shared between Bacho Kiro IUP and East Asians contributed a large fraction of the ancestry of later European hunter–gatherers as well, and thus this graph does not imply distinctive shared ancestry between the earliest modern humans in Europe and later people in East Asia, and instead could be explained by a quite different and also archaeologically plausible scenario of a primary modern human expansion out of West Asia contributing serially to the major lineages leading to Bacho Kiro, then later East Asians, then Ust’-Ishim, then the primary ancestry in later European hunter–gatherers.

Figure 3—source data 1. The published (Bergström et al., 2020) and alternative admixture graphs for dogs found with findGraphs.
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, (b) alternative models fitting nominally better than the published one, sorted by the fit score, and (c) alternative models fitting nominally or significantly (the graph framed in blue) better than the published one, sorted by the fit score.
Figure 3—source data 2. Alternative admixture graphs for humans found with findGraphs for the dataset from Bergström et al., 2020.
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) Best-fitting models for humans sorted by the fit score.
Figure 3—source data 3. The published admixture graph from Lazaridis et al., 2014 and alternative graphs found with findGraphs (seven populations, four admixture events).
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The re-fitted published graph and (b) 10 examples of graphs inferred by findGraphs (arranged according to LL score) and fitting significantly (the graph framed in blue) or nominally better than the published model.
Figure 3—source data 4. The published admixture graph from Shinde et al., 2019 and alternative graphs found with findGraphs (8 pops., 3 adm. events) relying on the original set of SNPs and group composition, and original (incorrect) algorithm for calculating f-statistics.
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model; the original set of SNPs and individuals, and the original algorithm for calculating f3-statistics was used (470,389 variable sites with no missing data at the group level available). The following claim in Shinde et al., 2019 relies on the admixture graph: Primary ancestry in the Indus Periphery group forms the deepest branch in the Iranian Neolithic clade composed of the Indus Periphery, Ganj Dareh Neolithic, Hajji Firuz Neolithic, and Tepe Hissar Chalcolithic groups. (b-f) Selected alternative models fitting significantly better (graphs framed in blue), nominally better (graphs without frames), or not significantly worse (graphs framed in red) than the published one.
Figure 3—source data 5. The published admixture graph from Shinde et al., 2019 and alternative graphs found with findGraphs (eight populations, three admixture events) for the modified group composition and using the updated algorithm for calculating f-statistics.
The graphs were also re-fitted on the original set of single-nucleotide polymorphisms (SNPs)/individuals and using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model with three admixture events. The following claim in Shinde et al., 2019 relies on the admixture graph: Primary ancestry in the Indus Periphery group forms the deepest branch in the Iranian Neolithic clade composed of the Indus Periphery, Ganj Dareh Neolithic, Hajji Firuz Neolithic, and Tepe Hissar Chalcolithic groups. (b) Alternative models fitting nominally better than the published one and confirming all of its important topological details and (c) alternative models fitting not significantly worse than the published one and differing from it in important ways.
Figure 3—source data 6. Alternative graphs allowing for an additional admixture event found with findGraphs for the dataset from Shinde et al., 2019: 8 populations, 4 admixture events, the modified group composition, and the updated algorithm for calculating f-statistics.
The graphs were also re-fitted on the original set of single-nucleotide polymorphisms (SNPs)/individuals and using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The highest-ranking model with four admixture events that confirms all important features of the published model with three admixture events. The following claim in Shinde et al., 2019 relies on the admixture graph: Primary ancestry in the Indus Periphery group forms the deepest branch in the Iranian Neolithic clade composed of the Indus Periphery, Ganj Dareh Neolithic, Hajji Firuz Neolithic, and Tepe Hissar Chalcolithic groups. (b) Alternative models fitting not significantly worse than the highest-ranking one and contradicting the historical interpretation of the admixture graph results by Shinde et al., 2019.
Figure 3—source data 7. The published admixture graphs from Librado et al., 2021 and alternative graphs found with findGraphs (10 populations, 3–5 admixture events) for the modified group composition and using the updated algorithm for calculating f-statistics.
The graphs were also re-fitted on the original set of single-nucleotide polymorphisms (SNPs)/individuals and using the original algorithm for calculating f-statistics. Selected alternative graphs found with findGraphs when more admixture events were allowed (from 6 to 9) are also shown. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, three admixture events. The following claims in Librado et al., 2021 rely on the admixture graph: (1) NEO-ANA-related admixture is absent in DOM2; (2) DOM2 and C-PONT are sister groups; (3) there is no gene flow connecting the CWC group and the cluster associated with Yamnaya horses and horses of the later Sintashta culture whose ancestry is maximized in the Western Steppe (DOM2, C-PONT, and TURG); (4) there was a gene flow from a deep-branching ghost group to NEO-ANA; (5) Tarpan is a mixture of a CWC-related and a DOM2-related lineage. (b) An alternative model with three admixture events fitting significantly better than the published one, (c) the published model, four admixture events, (d) an alternative model with four admixture events fitting not significantly worse than the published one, (e) the published model, five admixture events, (f) an alternative model with five admixture events fitting not significantly worse than the published one, (g) selected models with six admixture events, (h,i) selected models with seven admixture events (all plausible models with WR < 5 SE), (j-l) selected models with eight admixture events (all plausible models with WR < 4 SE), (m-r) selected models with nine admixture events (all plausible models with WR < 4 SE).
Figure 3—source data 8. Published admixture graph from Hajdinjak et al., 2021 and alternative graphs found with findGraphs (12 populations, 8 admixture events).
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) The published model and its simplified representation. The following claims in Hajdinjak et al., 2021 rely on the admixture graph: (1) gene flow from the Bacho Kiro lineage to Ust’-Ishim, Tianyuan, and GoyetQ116-1; (2) the BK1653 individual belonged to a population that was related, but not identical, to that of the GoyetQ116-1 individual; (3) Vestonice is a mixture of a Sunghir-related and a BK1653-related lineage. (c-e) Selected alternative models fitting significantly better than the published one.

To explain why the original paper on the population history of dogs missed the model that findGraphs identified, we observe that the Bergström et al., 2020 AG search was exhaustive under the parsimony constraint (no more than two admixture events for six populations, with the seventh group added at a later stage without an exhaustive topology search), and thus missed the potentially true topology including three admixture events for these six populations. This case study also illustrates that even in a relatively low complexity context (seven groups and three admixture events) applying manual approaches for finding optimal models is risky. When any new group such as an Early Neolithic dog from Germany is added to the model, it may introduce crucial new constraints into the system, and re-exploring the whole graph space in an automated way is necessary to avoid missing the true model. In contrast, mapping a newly added group on a simple skeleton graph (even when that skeleton is a uniquely best-fitting model like in Bergström et al., 2020) may yield a topology that is at odds with the true history.

2. Lazaridis et al., 2014

The graph in Figure 3 (in Lazaridis et al., 2014) suggested that present-day Europeans are derived from at least three populations that are very much differentiated genetically: West European hunter–gatherers (WHG), early European farmers (EEF), and Siberian hunter–gatherers from the same lineage as that of the Mal’ta boy who lived about 24,000 years ago (MA1). For seven-population graphs with four admixture events, we found 40 out of 306 distinct graphs with a score better than that of the published graph (10 of those graphs are shown in Figure 3—source data 3). The best-fitting newly found model and two other models fit the data significantly better than the published model (Supplementary file 1), but their topology is qualitatively very similar to that of the published graph (Figure 3—source data 3). In the best-fitting newly found model, French and Karitiana share some drift to the exclusion of MA1, while in the published model the source of MA1-related ancestry in French is closer to MA1 than to Karitiana.

It is important to point out that not all of the 40 alternative graphs that fit nominally or significantly better than the published one are consistent with the conclusion that modern European populations are admixed between three different ancestral populations (Figure 3—source data 3). According to the fifth alternative graph in Figure 3—source data 3 that fits nominally better than the published model (p-value = 0.464), the present-day European population was formed by admixture of an MA1-related lineage and a European Neolithic-related lineage, with no WHG contribution. Of course, other lines of evidence make it clear that LBK Stuttgart is a mixture of Anatolian farmer- and WHG Loschbour-related ancestry (e.g., Lazaridis et al., 2016; Lipson et al., 2017), thus providing external information in favor of the Lazaridis et al., 2014 model. The use of such ancillary information in concert with graph exploration is important in order to obtain more confident inferences about population history taking advantage of AGs. We also note that a large group of newly found models (247 graphs) fits not significantly worse than the published one (Supplementary file 1), and those are topologically diverse. Thus, strictly speaking, the AG method on the given dataset cannot be used to prove that the published model is the only one fitting the data.

3. Shinde et al., 2019

The skeleton AG in the original study (Shinde et al., 2019) was constructed manually, and subsequently all possible branching orders (105) within the five-population Iranian farmer/herder-related clade were tested. The published model (Figure 3 in that study) included nine groups and three admixture events, but one group (Belt Cave Mesolithic) had a very high missing data rate. Following the approach of the published paper, we repeated findGraphs analysis both with and without the Belt Cave individual. Thus, we initially explored the following topology classes: 9 groups with 3 admixture events on ca. 19,000 polymorphic sites and 8 groups with 3 admixture events on ca. 470,000 sites (Figure 3—source data 4, Supplementary file 1). The finding that the predominant ancestry component of the Indus Periphery group was the most basal branch in the Iranian farmer clade was a prominent claim of the original study (Shinde et al., 2019). This finding if correct is important, since it implies that the Iranian-related ancestry in the Indus Valley Civilization genetic grouping (which is the same group as Indus Periphery or IP) split from the Iranian-related ancestry in the first Iranian plateau farmers before the date of the Hajji Firuz farmers, who at ~8000 years ago are among the earliest people living on the Iranian plateau known to have grown West Asian crops. The ancient DNA record combined with radiocarbon dating evidence suggests that beginning around the time of the Hajji Firuz farmers, both West Asian domesticated plants such as wheat and barley, and Anatolian farmer-related admixture, began spreading eastward across the Iranian plateau. If the Iranian-related ancestry in IP was spread eastward into the Indus Valley across the Iranian plateau as part of the same agriculturally associated expansion—perhaps brought by people speaking Indo-European languages as well as introducing West Asian crops—then we would expect to see at least some of the Iranian-related ancestry in IP being a clade with that in Hajji Firuz relative to Ganj Dareh.

The following groups were admixed by default in the graph models compared in the original study: Hajji Firuz Neolithic (labeled ‘Chalcolithic’ in that study but the dates are Neolithic) and Tepe Hissar Chalcolithic were considered as mixtures of an Anatolian farmer-related lineage and an Iranian farmer-related lineage. Indus Periphery was assumed to be a mixture of an Andamanese-related lineage representing ancient South Indians (ASI) and an Iranian farmer-related lineage. The original study differed from ours since these constraints were introduced manually, but we wanted our topology search to be automatic and to explore a wider range of parameter space.

To provide power to detect negative f3-statistics useful for constraining the model search, we introduced several modifications to the original group composition (described in Appendix 2) and a new algorithm that makes it possible to compute negative f3-statistics on pseudo-haploid data, but at a cost of removing sites with only one chromosome genotyped in any non-singleton population (see Appendix 1, Section 1.A). We repeated topology search with this set of f-statistics providing additional constraints, performing 4,000 runs of the findGraphs algorithm. The Mota ancient African individual was set as an outgroup and three admixture events were allowed in the eight-population graph. Among 4,000 resulting graphs (one from each findGraphs run), 144 were distinct topologically, and the published model was recovered in 13 runs of 4,000 (Supplementary file 1). Only four distinct topologies fitting nominally better than the published one were found, and those had LL scores almost identical to that of the published AG. These four alternative models (Figure 3—source data 5b) shared all topologically important features of the published model (Figure 3—source data 5). Five other topologies differed in important ways from the published one and emerged as fitting the data worse, but not significantly worse, than the published one (Figure 3—source data 5c).

But in fact, the AG analysis reported above may not be an adequate exploration of the problem. Although absolute fits of the best models found are good (WR = 2.5 SE), the parsimony constraint allowing only three admixture events precluded correct modeling of basal Eurasian ancestry shared by all West Asian groups (Lazaridis et al., 2016) or of the Indus Periphery group itself, for which a more complex 3-component admixture model was proposed elsewhere (Narasimhan et al., 2019). Concerned that this oversimplification could be causing our search to miss important classes of models, we explored qpAdm models for the Indus Periphery group, following the protocol by Narasimhan et al., 2019 (see the dataset composition in Supplementary file 4). Our qpAdm results (Supplementary files 5 and 6, Appendix 2) show that the parsimony assumption that was made when constructing the AG analysis in Shinde et al., 2019 is contradicted by f-statistic evidence since the simplest fitting qpAdm model for the IP group includes four ancestry sources, not two (Indus Periphery = Ganj Dareh Neolithic + Onge (ASI) + WSHG + Anatolia Neolithic), and indeed Narasimhan et al. themselves showed this when they presented a qpAdm model that was more complex (Ganj Dareh Neolithic + Onge (ASI) + WSHG) than the one used for constraining the AG model comparison (Ganj Dareh Neolithic + Onge (ASI)).

To explore how the parsimony constraint influences results, we allowed four admixture events in the eight-population graph (Supplementary file 1). Among 4,000 resulting graphs (one from each findGraphs run), 443 were distinct topologically, and 270 had WRs between 2 and 3 SE, that is, fitted the data well. In Figure 3—source data 6b, we show four graphs with four admixture events that model the Indus Periphery group as a mixture of three or four sources, with a significant fraction of its ancestry derived from the Hajji Firuz Neolithic or Tepe Hissar Chalcolithic lineages including both Iranian and Anatolian ancestries. The fits of these models are just slightly different (e.g., LL = 11.7 vs 9.3, both WRs = 2.4 SE) from that of the best-fitting model (Figure 3—source data 6a), and are similar to that of the simpler published graph. Besides these four illustrative graphs, dozens of topologies with very different models for the Indus Periphery group fit the data approximately equally well, suggesting that there is no useful signal in this type of AG analysis when the parsimony constraint is relaxed (this finding is similar to that in our re-analysis of the dog AG in Bergström et al., 2020, where relaxation of the parsimony constraint identified equally well-fitting AGs that were very different with regard to their inferences about population history). These results show that at least with regard to the AG analysis, a key historical conclusion of the study (that the predominant genetic component in the Indus Periphery lineage diverged from the Iranian clade prior to the date of the Ganj Dareh Neolithic group at ca. 10 kya and thus prior to the arrival of West Asian crops and Anatolian genetics in Iran) depends on the parsimony assumption, but the preference for three admixture events instead of four is hard to justify based on archaeological or other arguments.

Why did the Shinde et al., 2019 AG analysis find support for the IP Iranian-related lineage being the first to split, while our findGraphs analysis did not? Shinde et al., 2019 study sought to carry out a systematic exploration of the AG space in the same spirit as findGraphs—one of only a few papers in the literature where there has been an attempt to do so—and thus this qualitative difference in findings is notable. We hypothesize that the inconsistency reflects the fact that the deeply diverging WSHG-related ancestry (Narasimhan et al., 2019) present in the IP genetic grouping at a level of ca. 10% was not taken into account explicitly neither in the AG analysis nor in the admixture-corrected f4-symmetry tests also reported in Shinde et al., 2019. The difference in qualitative conclusions may also reflect the fact that the Shinde et al. study was distinguishing between fitting models relying on an LL difference threshold of 4 units (based on the AIC). As discussed in Appendix 1, AIC is not applicable to AGs where the number of independent model parameters is topology-dependent even if the numbers of groups and admixture events are fixed, and models compared with AIC should have the same number of parameters. Thus, we believe that the analysis by Shinde et al. was over-optimistic (as compared to the bootstrap model comparison method we use) about being able to reject models that were in fact plausible using its AG fitting setup.

4.Librado et al., 2021

In contrast to the other studies revisited in our work, the AG published by Librado et al., 2021 was inferred automatically using OrientAGraph. Models with three (Figure 3b in that study) and zero to five (Ext. Data Figure 5a–d in that study) admixture events were shown. The dataset included 10 populations (9 horse populations and donkey as an outgroup) and was based on 7.4 million polymorphic transversion sites with no missing data at the group level. Unlike all the other AGs we re-evaluate in this study whose fits to the data were evaluated in the published studies using qpGraph, the topologies published in Librado et al., 2021 were not evaluated for statistical goodness-of-fit, and in fact fit the f-statistic data so poorly that even simple statistics show they cannot be correct (Figure 3b, Figure 3—source data 7a, c, e,, Supplementary file 1). In this case, the approach of using findGraphs to identify alternative topologies with the same number of admixture events that fit the data better is meaningless, as both the published models and the alternative models do not have enough degrees of freedom to accommodate the complexity present in the real data (Figure 3—source data 7). In particular, we found that WR of the published model with three admixture events is 23.9 SE (Figure 3—source data 7a).

For this reason, we moved to topology searches in more complex model spaces incorporating six to nine admixture events. Temporally plausible models with even a modest fit (WR between 3 and 4 SE) were encountered only among models with eight and nine admixture events (Figure 3—source data 7j–r). Librado et al., 2021 discussed five inferences relying fully or partially on their published AGs reported in that study (Table 2). The simplest temporally plausible and best-fitting (WR = 3.4 SE) model we found (eight admixture events, see Figure 3b and the first model in Figure 3—source data 7j) supports inferences 2 and 4, and is incompatible with inferences 1, 3, and 5 (Table 2). We consider this model to be plausible also from the geographical perspective (see Appendix 2 for an interpretation of this topology). We are not arguing here that this AG represents the true history; in fact, it is highly unlikely to be the truth, given how large the space of all possible admixture events is and how much admixture evidently occurred relating all these groups (which makes finding the true model extremely unlikely, see the results on simulated data in Figure 1 and Appendix 1—figure 2). However, our set of 16 temporally plausible and fitting (WR < 4 SE) models with eight or nine admixture events (Figure 3—source data 7j–r) is consistent with some features of the published graph being stable: the features (2) that DOM2 and C-PONT are sister groups, and (4) that there was a gene flow from a deep-branching ghost group to NEO-ANA (Table 2).

Equally important is our finding that there are plausible models that are inconsistent with other inferences in Librado et al., 2021. (Table 2). For example, 13 of these 16 models are inconsistent with the suggestion that there was no gene flow connecting the CWC group and the cluster maximized in the Western steppe (DOM2, C-PONT, and TURG) (Figure 3—source data 7j–r). In the eight-admixture-event best-fitting AG (Figure 3b, the first model in Figure 3—source data 7j), CWC actually derives appreciable ancestry from the early domestic horse lineage (DOM2) associated with the Sintashta culture to the exclusion of the more distant Yamnaya-associated TURG and C_PONT horses. This scenario presents a parallel to the one observed in humans, with individuals associated with the CWC receiving admixture from Steppe pastoralists albeit in different proportions: ~75% for humans, versus ~20% in horses. These models specifying a substantial Steppe horse contribution to CWC horses are inconsistent with the inference in Librado et al., 2021. that ‘Our results reject the commonly held association between horseback riding and the massive expansion of Yamnaya steppe pastoralists into Europe around 3000 BC’. We are not aware of other lines of evidence in the paper (apart from the fitted AG) that support the claim of no Yamnaya horse impact on CWC horses.

Another example of a feature of the published graph that turned out to be unstable is the model for the Tarpan horse. Only 8 of 16 temporally plausible and fitting models (Figure 3—source data 7j–r) support the conclusion by Librado et al. that the Tarpan is a mixture of a DOM2-related and a CWC-related lineage. The other eight models suggest that Tarpan is a mixture of a deep lineage and a DOM2-related lineage (Figure 3b, the first model in Figure 3—source data 7j), echoing a hypothesis that Tarpan may be a hybrid with Przewalski-related horses not represented in the AG (Librado et al., 2021). Again, we are not arguing here that our alternative model is right—indeed we are nearly certain it is wrong in important aspects—but we are merely pointing out that the complexity of the AG space means that qualitatively quite different conclusions are compatible with the statistics fitted in the published paper.

5. Hajdinjak et al., 2021

The AG inferred by Hajdinjak et al. was constructed manually and incorporated 11 groups and 8 admixture events (Figure 2d in the original study). Most (71.4%) models found with findGraphs fit nominally better, and 15.7% fit significantly better than the published model (Table 1, Supplementary file 1, Figure 2), which has a poor absolute fit on this set of sites and groups (WR = 4.8 SE, Figure 3c, Figure 3—source data 8). The statistics described above and the fact that LL scores on all sites lie outside of the LL distribution on resampled datasets (Figure 2) suggest that models in this complexity class are overfitted, but the published topology emerged as fitting relatively poorly. Overfitting arises naturally during manual graph construction as performed in many studies (not only in Hajdinjak et al., 2021, but also in Fu et al., 2016; Skoglund et al., 2016; Yang et al., 2017; Posth et al., 2018; McColl et al., 2018; Moreno-Mayar et al., 2018; Tambets et al., 2018; van de Loosdrecht et al., 2018; Flegontov et al., 2019; Sikora et al., 2019; Wang et al., 2019; Lipson et al., 2020b; Shinde et al., 2019; Yang et al., 2020; Wang et al., 2021). The graph grew one group at a time, and each newly added group was mapped on to the pre-existing skeleton graph as unadmixed or as a two-way mixture. Another requirement was that all intermediate graphs have good absolute fits (WR below 3 or 4 SE). When the model-building process is constrained in a particular path and fits of all intermediates are required to be good, unnecessary admixture events are often added along the way, and the resulting graph belongs to a complexity class in which models are overfitted.

Hajdinjak et al., 2021’s published graph had three notable features that were interpreted by the authors and used to support some conclusions of the study (Table 2), with the following feature considered the most important: there are gene flows from the lineage found in the ~45,000- to 43,000-year-old Bacho Kiro Initial Upper Paleolithic (IUP) individuals to the Ust’-Ishim, Tianyuan, and GoyetQ116-1 lineages. We identified 1,421 topologies fitting nominally or significantly better than the published model and moved on to inspect 50 best-fitting topologies for temporal plausibility (all of them fitting significantly better than the published model). All non-African individuals included in the model are Upper Paleolithic and their dates are not drastically different in relative terms, from ca. 45 to 30 kya (1,000 years before present). Nevertheless, we considered most gene flows from later- to earlier-attested lineages as temporally implausible (for instance, GoyetQ116-1 (~35 kya) → Ust’-Ishim (~44 kya), Sunghir III (34.5 kya) → Tianyuan (40 kya), etc.) since they imply great antiquity of the later-attested lineages and of all lineages derived from them at least partially.

Of the 50 topologies inspected, 32 were considered temporally plausible. Of those topologies, none supported the finding of gene flows from the Bacho Kiro IUP lineage specifically into all three of the Ust’-Ishim, Tianyuan, and GoyetQ116-1 lineages. A total of 17 topologies supported features 2 and 3 but were inconsistent with feature 1; and 14 topologies supported feature 3 only (Table 2). Best-fitting representatives of each of these topology classes are shown along with the published model in Figure 3—source data 8. Considering topological diversity among models that are temporally plausible, conform to current knowledge about relationships between modern and archaic humans, and fit significantly better than the published model, we conclude that feature 3 is probably robust but other details of the fitted AG in Hajdinjak et al.—for example, gene flows to the Ust’-Ishim, Tianyuan, and Goyet Q116-1 lineages from sources sharing drift exclusively with the Upper Paleolithic Bacho Kiro lineage—should not be interpreted as providing meaningful inferences about population history of Upper Paleolithic modern humans.

A central finding of Hajdinjak et al. is that the Bacho Kiro IUP group shares more alleles with present-day East Asians than with Upper Paleolithic Holocene Europeans despite coming from Europe. Specifically, the study documents significantly positive statistics of the form D(an Asian group, Kostenki14; Bacho Kiro IUP, Mbuti). Hajdinjak et al.’s interpretation of this observation is that ‘there was at least some continuity between the earliest modern humans in Europe [Bacho Kiro IUP] and later people in Eurasia [East Asians]’. However, a significant D- or f4-statistic can have multiple explanations. The statistic f4 (Tianyuan, Kostenki14; Bacho Kiro IUP, Mbuti) is fitted equally well by the published 12-population AG (Z-score for the difference between the observed and fitted statistics = 0.64) and by, for example, the AG in Figure 3c (Z-score = 0.94). Under the latter model that fits the data significantly better than the published model (p-value = 0.02), the Bacho Kiro IUP and Tianyuan branches are not connected by a gene flow and do not receive gene flows from a third common source, but the common ancestor of Ust’-Ishim and all European Paleolithic lineages receives an 8% gene flow from a divergent modern human lineage splitting deeper than Bacho Kiro IUP and Tianyuan (Figure 3c, Figure 3—source data 8c). This scenario or some version of it seems archaeologically and geographically plausible and is not disproven by any other line of genetic or non-genetic evidence of which we are aware. It could correspond to a scenario where a primary modern human expansion out of West Asia contributed serially to the major lineages leading to Bacho Kiro, then later East Asians, then Ust’-Ishim, and finally the primary ancestry in later European hunter–gatherers. This has a very different interpretation from the scenario of distinctive shared ancestry between the earliest modern humans in Europe such as Bacho Kiro IUP and later people in East Asia—to the exclusion of later European hunter–gatherers—that is suggested by the Hajdinjak et al. published graph.

We are not claiming that this specific alternative model is correct—indeed, it is almost certainly not the correct one given the topological complexity of the set of all AGs consistent with the data—but the existence of it and many other models that fit the data makes it clear that we do not yet have a unique historical explanation for the excess sharing of alleles that has been documented between some Upper Paleolithic European groups (Bacho Kiro IUP, Hajdinjak et al., 2021, and GoyetQ116-1, Yang et al., 2017 and Hajdinjak et al., 2021) and all East Asians.

6. Lipson et al., 2020b

The AG in the original study was constructed manually (Extended Data Figure 4 in that study) and is very complex (12 groups and 12 admixture events): it exists in a space of ~1044 topologies of this complexity. We note that one admixture event was added by Lipson et al., 2020b to account for potential modern DNA contamination in ancient Shum Laka individuals, and removing it caused a negligible difference in the fit of the published model (Supplementary file 1). Thus, to decrease the complexity of the graph search space, we considered graphs with 12 groups and 11 admixture events. Among 2,000 newly found models, 11.9% fit nominally (but not significantly) better than the published model (Table 1, Supplementary file 1, Figure 2), and absolute fits of 36.7% of novel models are good (WR <3 SE). These metrics, along with the fact that LL scores on all sites lie outside of the LL distribution on resampled datasets (Figure 2), suggest that models in this complexity class, including the published model, are overfitted. Of the AGs we re-evaluate in this study, the graph from Lipson et al., 2020b shares with the graphs from Hajdinjak et al., 2021; Sikora et al., 2019; Wang et al., 2021, evidence of being overfitted (Figure 2).

Below we discuss four prominent features of the AG published in the original study (that were interpreted by the authors and used to support some conclusions of the study) and the extent to which these features consistently replicate across the large number of fitting 12-population graphs with 11 admixture events (Table 2). High topological diversity is observed among temporally plausible newly found AGs (see an example in Figure 4a and further topologies in Figure 4—source data 1). Considering extreme cases, two AGs completely lacked support for three features of the published graph (Figure 4a, Figure 4—source data 1c), and one graph supported all four features of the published graph fully (Figure 4—source data 1q, the second model). There are some graphs where defining two distinct ancestral lineages maximized in West Africans and in Mbuti and Biaka (features 1 and 2, Table 2) is essentially impossible since all or nearly all Africans are modeled as a mixture of at least two deep lineages (see alternative graph no. 4 shown in Figure 4—source data 1d, the second model). In some graphs there is no single lineage specific to rainforest hunter–gatherers (Biaka, Mbuti, and Shum Laka) since the primary ancestries in these groups form independent deep branches in the African graph (see Figure 4a and graph no. 16 shown in Figure 4—source data 1j, the second model). The ghost modern and super-archaic gene flows to Africans also had no universal support in the set of alternative graphs we examined (see, for example, Figure 4a and Figure 4—source data 1c).

Figure 4. Published graphs and selected alternative models from three further studies for which we explored alternative admixture graph (AG) fits.

Figure 4.

(a) The graph published by Lipson et al., 2020b (on the left) and a nominally better fitting AG (on the right). In contrast to the published graph, there is no single lineage specific to modern rainforest hunter–gatherers (Biaka and Mbuti) and Shum Laka (Cameroon_SMA). Rather, the primary ancestries in each group are separate deep-branching lineages (the deeper lineage they all share is also the source of the majority of ancestry in all anatomically modern humans modeled here). In contrast to the graph in the published paper, there is no West African-maximized ancestry present in mixed form in Biaka, Mbuti, and Shum Laka; archaic admixture is not limited to a subset of Africans but is present in all anatomically modern humans in various proportions; and there is no ghost modern human ancestry in Agaw, Biaka, Lemande, Mbuti, Mende, Mota, Shum Laka, and Yoruba. (b) The admixture graph published by Wang et al., 2021 (on the left) and a significantly better fitting AG meeting the constraints used to inform model building in the published paper (on the right). The finding of Onge-related admixture that is widespread in East Asia suggesting an early peopling via a coastal route is not a feature of this model. (c) The admixture graph published by Sikora et al., 2019 (simplified "Western" graph, on the left) and a nominally better fitting AG (on the right). The striking feature of the AG suggested in the paper whereby Mal’ta (MA1_ANE) derives some ancestry from a CHG-associated lineage is not a feature of this alternative model.

Figure 4—source data 1. The published admixture graph from Lipson et al., 2020b and alternative graphs found with findGraphs (12 populations, 11 admixture events) using the updated algorithm for calculating f-statistics.
The graphs were also re-fitted using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) The published model and its simplified representation. Below we list selected claims by Lipson et al., 2020b relying on the admixture graph: (1) A lineage maximized in present-day West African groups (Lemande, Mende, and Yoruba) also contributed some ancestry to the ancient Shum Laka individual, and present-day Biaka and Mbuti; (2) another ancestry component in Shum Laka is a deep-branching lineage maximized in rainforest hunter–gatherers Biaka and Mbuti; (3) ‘super-archaic’ ancestry (i.e., diverging at the modern human/Neanderthal split point or deeper) contributed to Biaka, Shum Laka, Mbuti, Lemande, Mende, and Yoruba; (4) a ghost modern human lineage (or lineages) contributed to Agaw, Mota, Biaka, Shum Laka, Mbuti, Lemande, Mende, and Yoruba. (c-q) Selected alternative models fitting nominally better than the published one.
Figure 4—source data 2. The published admixture graph from Wang et al., 2021 and alternative graphs found with findGraphs (12 populations, 8 admixture events) using the updated algorithm for calculating f-statistics.
The graphs were also re-fitted using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) The published model and its simplified representation. The following claim in Wang et al., 2021 relies on the admixture graph: There is Onge-related admixture in the Jomon (Japan_HG_Jomon), Tibetan (Nepal_Chokhopani_SG), Upper Yellow River Late Neolithic (China_Upper_YR_LN), West Liao River Late Neolithic (China_WLR_LN), Taiwan Iron Age (Taiwan_IA), and China Island Early Neolithic (Liangdao, China_Island_EN) lineages. (c-l) Alternative models fitting significantly better than the published one.
Figure 4—source data 3. The simplified published admixture graph for West Eurasian groups from Sikora et al., 2019 and alternative graphs found with findGraphs (13 populations, 6 admixture events).
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, with chimpanzee added as an outgroup and four low-level gene flows from the Neanderthal lineage dropped. The following claim in Sikora et al., 2019 relies on the admixture graph: The Mal'ta (MA1_ANE) lineage receives a gene flow from the Caucasus hunter-gatherer (CaucasusHG_LP) lineage. (b-h) Models fitting nominally better than the published one and not supporting the claim, (i) models fitting nominally better than the published one and supporting the claim.
Figure 4—source data 4. The simplified published admixture graph for East Eurasian groups from Sikora et al., 2019 and alternative graphs found with findGraphs (14 populations, 6 admixture events).
Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, with chimpanzee added as an outgroup and four low-level gene flows from the Neanderthal lineage dropped. (b) The published model simplified by dropping unidentifiable edges. The following claims in Sikora et al., 2019 rely on the admixture graph: (1) The Mal’ta (MA1_ANE) and Yana (Yana_UP) lineages receive a gene flow from an Asian source diverging before the Devil’s Cave (DevilsCave_N), Kolyma (Kolyma_M), USR1 (Alaska_LP), and Clovis (Clovis_LP) lineages; (2) European ancestry in the Kolyma, USR1, and Clovis lineages is closer to Mal’ta than to Yana; (3) The Devil’s Cave lineage receives no European-related gene flows, and Kolyma has less European-related ancestry than ancient Americans (USR1 and Clovis). (c) An alternative model fitting nominally better than the published one and supporting all three claims, (d-g) alternative models fitting not significantly worse than the published model.

Considering the high degree of topological diversity among models that are temporally plausible, conform to known findings about relationships between modern and archaic humans, and fit nominally better than the published model, we conclude that none of the four AG features from the original study are consistently supported by our re-analysis (Table 2). This situation may be attributed to (1) overfitting and/or to (2) the lack of information in the dataset (in the combination of groups and SNP sites) and/or to (3) inherent limitations of f-statistics, when distinct topologies predict identical f-statistics. Our results highlight the mystery around the highly distinctive genetic ancestry of the Shum Laka individuals themselves, who represent the newly reported data in the Lipson et al., 2020b study, and represent a highly important set of genetic datapoints that was not available prior to the study. The ancestral relationships of these four individuals to rainforest hunter–gatherers, and to the primary lineage in present-day West Africans, remains an open question, one whose resolution promises meaningful new insights into modern human population history.

7. Wang et al., 2021

The AG inferred by Wang et al., 2021 was constructed manually, and the final graph (Extended Data Figure 6 in the original study) included 12 groups and 8 admixture events. We applied several constraints on the graph space exploration process all of which were shared with the Wang et al. graphs (Supplementary file 1). An important feature of the published graphs in Wang et al., 2021 that was remarked upon in the study is admixture from a source related to Andamanese hunter–gatherers that is almost universal in East Asians (Table 2). For example, the abstract states ‘Hunter-gatherers from Japan, the Amur River Basin, and people of Neolithic and Iron Age Taiwan and the Tibetan Plateau are linked by a deeply splitting lineage that probably reflects a coastal migration during the Late Pleistocene epoch.’ We performed 2,000 findGraphs iterations and obtained 1,778 distinct topologies satisfying all the constraints, nearly all of them (1,724) fitting nominally better than the published model, and 12.6% fitting significantly better (Table 1, Supplementary file 1). The models were ranked by LL scores, and 56 highest-ranking topologies, all of them fitting significantly better than the published one, were assessed for temporal plausibility, and 20 topologies were considered temporally plausible (all of them are shown in Figure 4—source data 2). According to these topologies, 0–2 East Asian groups had a fraction of their ancestry derived from a source specifically related to Onge, and 19 topologies included gene flows from the European (Loschbour)-related branch to all 8 East Asian groups (Figure 4—source data 2). The inferred topological relationships among East Asians are variable in this group of AGs, and we decided to apply further constraints that guided model ranking and elimination by Wang et al., based on considerations from archaeological evidence, Y chromosome haplogroup divergence patterns, and population split time estimation (see Appendix 2 for details). Applying these three additional constraints, we identified two models (among the 56 subjected to manual inspection) that satisfied all of them. The highestranking of those models is shown in Figure 4b and Figure 4—source data 2c (the second model), and it includes a 13% (deeply) European-related gene flow to the common ancestor of all East Asians, and gene flows from the Onge-related branch to just two East Asian groups: Nepal Chokhopani and China WLR LN. This model fits the data significantly better than the published model (p-value = 0.028). We do not claim that this is the correct model (indeed we are almost certain that it is not given the high topological diversity of fitting models), but it is not obviously wrong and differs in qualitatively important ways from the published one.

The Wang et al., 2021 AG provides an illuminating example that helps us to understand the value added by AG construction. The AG construction process in Wang et al. followed a philosophy of not relying entirely on the allele frequency correlation data (not treating the genetic data as independent to explore how much new insight could come from genetic data alone). Instead, the study integrated other lines of genetic evidence as well as linguistic and archaeological insights explicitly into the AG construction process, with the goal of identifying models consistent with multiple lines of evidence. The fact that after this procedure a fitting graph was obtained is not of great interest, as it is essentially always possible to obtain a fit to allele frequency correlation data when enough admixture events are added. The important question is whether any of the emergent features of the graph that were not applied as constraints in the construction process—for example the evidence of ubiquitous Andamanese-related gene flow throughout East Asia suggesting a coastal route expansion that admixed with an interior route expansion proxied by Tianyuan—were stably inferred. Our analysis does not come to this finding consistently among well-fitting and plausible AGs. We conclude that this important feature of the published graph is not supported by f-statistic analysis alone (Table 2), and indeed we are not aware of a single feature of the Wang et al., 2021 AG that is stably inferred beyond the constraints applied to build it.

8. Sikora et al., 2019

Two AGs inferred by Sikora et al., 2019 were constructed manually based on an SNP set derived from whole-genome shotgun data and incorporated 12 or 13 groups and 10 admixture events (Extended Data Figure 3f in the original study). One graph was focused on West Eurasians, and the other one on East Eurasians, and both included a Neanderthal, a Denisovan, and an African group (Dinka). Although the chimpanzee outgroup was not included in the original graphs, we added it as it drastically constrains the topology search space. In contrast to most other published graphs discussed above, gene flows in the graphs inferred by Sikora et al. do not have equal standing: four low-level gene flows (0–1%) connect the Neanderthal lineage to Upper Paleolithic lineages. We repeated each topology search under two alternative settings: either keeping the number of admixture events at 10 to match the published graphs, or at 6 to match simplified versions of the published graphs lacking these low-level Neanderthal gene flows. We performed that modification to simplify the search space and to alleviate the overfitting problem which becomes severe if 10 gene flows across the graph are allowed (Supplementary file 1).

In the case of the "Western" graphs with 6 admixture events, 1,000 topology search iterations were performed, 894 distinct topologies were found, 4 models fit significantly better, and 151 models fit nominally better than the published one (Table 1, Supplementary file 1). We inspected those 155 topologies and identified 29 topologies (Figure 4—source data 3) that are temporally plausible. Sikora et al. came to the following striking conclusion relying on the "Western" AG (Table 2): the Mal’ta (MA1_ANE) lineage received a gene flow from the Caucasus hunter–gatherer (CHG) lineage. However, in our findGraphs exploration this direction of gene flow (CHG → Mal’ta) was supported by two of the 29 topologies, and the opposite gene flow direction (from the Mal’ta and East European hunter–gatherer lineages to CHG) was supported by the remaining 27 plausible topologies (Figure 4—source data 3). The highest-ranking plausible topology (Figure 4c) has a fit that is not significantly different from that of the simplified published model with six admixture events (p-value = 0.392). We note that the gene flow direction contradicting the graph by Sikora et al. was supported by published qpAdm analyses (Lazaridis et al., 2016; Narasimhan et al., 2019), and qpAdm is not affected by the same model degeneracy issues that are the focus of this study. Considering the topological diversity among models that are temporally plausible, conform to robust findings about relationships between modern and archaic humans, and fit nominally better than the published model, we conclude that the direction of the Mal’ta-CHG gene flow cannot be resolved by AG analysis (Table 2).

Some important conclusions based on the "Eastern" graph also do not replicate across all plausible AGs (Table 2). In the case of the "Eastern" graphs with 6 admixture events, 4,446 topology search iterations were performed, and 2,785 distinct topologies were found. Only 3 topologies fit significantly and 13 nominally better than the published one, and 9.8% of topologies fit not significantly worse than the published one (Table 1, Supplementary file 1). Of the AGs belonging to these groups, we inspected 116 best-fitting ones and identified 97 AGs that are temporally plausible. The Sikora et al. "Eastern" AG had three distinctive features that were used to support some conclusions of the study (Table 2). Only feature 2 was universally supported by all the 97 plausible alternative models fitting significantly better, nominally better, or not significantly worse than the simplified published model, while feature 3 was supported by 83 of 97 plausible models, and feature 1 was supported by 28 of 97 plausible models (Table 2). We plotted 14 plausible graphs as examples of topologies supporting all three features, two features, or one feature of the published graph (Figure 4—source data 4). We note that all the "Eastern" graphs discussed here, both the published and alternative ones, have relatively poor absolute fits with WR above 4 or 5 SE. Increasing the number of gene flows to 10 allowed us to reach much better absolute fits (with WR as low as 2.42 SE), but that resulted in high topological diversity (on a par with some other case studies discussed above).

Discussion

A proposed protocol for using AG fitting in genetic studies

AGs represent a conceptually powerful framework for thinking about demographic history, but, as we demonstrate in this study (see also Appendix 2), the practice of manually constructing a small number of complex models without exploring AG space in an automated way can lead to overconfidence in the validity of these models. An ideal outcome of an AG model exploration exercise would be the identification of a model or a group of topologically very similar models which fit the data well and significantly better than all alternative models with the same number of admixture events; however, this is almost never achieved for graphs with more than eight populations and three admixture events in our experience (Appendix 2), and even this approach can lead to potentially unstable results as relaxing the assumption of parsimony (that fewer admixture events is more likely) can lead to qualitatively quite different equally well-fitting topologies as in our re-analysis of the Bergström et al. and Shinde et al. datasets. Most of the examples of AGs in eight recently published studies we revisited do not fit this ideal pattern, as we were able to identify many topologically different alternative models that could not easily be rejected based on temporal plausibility or other constraints (Figure 3—source data 4, Figure 3—source data 5, Figure 3—source data 6, Figure 3—source data 7, Figure 3—source data 8, Figure 4—source data 1, Figure 4—source data 2, Figure 4—source data 3, Figure 4—source data 4). In particular, for all studies except Shinde et al., 2019 (under a strict parsimony assumption however), we identified AGs that were not significantly worse fitting than the published ones, and with topological features that were different in qualitatively important ways. There were also some more encouraging findings of the exercise we performed to re-evaluate published models. For example, at least one of the key inferences about population history relying on AG modeling were stable for all analyzed models for the Librado et al., 2021., Hajdinjak et al., Shinde et al. (under the parsimony assumption), and Sikora et al. (simplified "Eastern" graph) studies (Appendix 2). The existence of some stable features in these graphs helps to point the way toward a protocol that we believe should be applied in all future studies that use AG fitting exercises to support claims about population history.

We propose the following tentative protocol to identify features of fitting AGs that are stable enough to be used to make inferences about population history.

  1. For a given combination of populations, carry out an initial scan using findGraphs to identify reasonable parameter values for the number of allowed admixture events (graph complexity class). For example, run findGraphs allowing between zero and eight admixture events (100 algorithm iterations per graph complexity class), saving one or a few best-fitting AGs after each iteration. The smallest number of admixture events that yields models where the (negative) LL score or the worst f-statistic residual is lower than some threshold can then be explored more deeply by running more iterations of findGraphs.

  2. Run findGraphs on the chosen complexity class, where some of the resulting graphs should be inspected manually to determine whether they could in principle be historically plausible models. Implausible models (e.g., models where a very ancient population appears to be admixed between two modern populations) can be filtered out by imposing topological constraints. If no or only a few graphs remain, findGraphs can be run again under these constraints. This can be repeated until one or more graphs with an acceptable LL score or worst residual has been identified. At this stage, apply the bootstrap method to determine whether the best-fitting graph is significantly better than the next best-fitting graph. If it is not, identify a set of graphs which are not clearly worse than the best-fitting graph by performing bootstrap model comparison for many model pairs.

  3. Researchers should compare the resulting graphs to each other with the goal of identifying common features. Although ADMIXTOOLS 2 includes automated tools for cataloguing common topological features (Appendix 1, Sections 1.B.5 and 2.G), we found a manual approach to be valuable as the fitted parameters (especially admixture proportions) are as important for this task as graph topology.

  4. Once a set of fitting graphs and stable topological features shared between them is identified, researchers should carry out a findGraphs exploration of the space of graphs with one additional admixture event. If inferences are stable even when fitting graphs with one more level of complexity than the graphs with the minimal number of admixture events needed to fit the data, this increases confidence in the inferences. Furthermore, addition of a new population may introduce crucial information to an existing set of populations, which can change the space of fitting topologies in a profound way, as in our re-analysis of the data from Bergström et al., 2020 (Figure 3a, Figure 3—source data 1). Thus, it is advisable that the topology optimization procedure is repeated on several alternative population sets, in addition to considering models that allow an additional admixture event beyond the minimum required for parsimony, to explore if inferences about topology change qualitatively.

  5. AGs fitted with f-statistics do not distinguish between time and population size as the two factors affecting genetic drift. Moreover, many different complex genetic histories for a set of populations can result in the exact same expected f-statistics. This provides an opportunity to further constrain a model fitting procedure. Methods that take advantage of information from the site frequency spectra (momi2, fastsimcoal, Kamm et al., 2020, Excoffier et al., 2013) or derived site patterns, a special case of site frequency spectra (Legofit, Rogers, 2019), can supply alternative information not captured by f-statistics (further information can come from methods that fit haplotype divergence patterns such as MSMC, Schiffels and Durbin, 2014 and SMC++, Terhorst et al., 2017, or inferences based on fitted gene trees such as RELATE, Speidel et al., 2019, and ARGweaver, Hubisz et al., 2020; Hubisz and Siepel, 2020). These tools are too computationally intensive to explore a large number of models, but the advantages of the different approaches can be combined by first identifying a set of candidate models using findGraphs, and then testing these candidate models with other methods. This approach is also expected to help address overfitting since different data types almost always include different variable site sets.

We believe that researchers should only begin to make strong claims about population history with AGs once a protocol such as we propose is applied.

We see the guidelines above as analogous in spirit to the protocols that were introduced in medical genetics at a time of the reproducibility crisis in the field of candidate gene association studies. Many studies looking for risk factors for common, complex diseases resulted in publications with marginally significant p-values without correcting for multiple hypothesis testing that was implicitly performed due to many candidate genes being tested and only those with significant findings being published. Unsurprisingly, most of these claims failed to replicate in follow-up studies in independent sets of samples (Ioannidis, 2005; Border et al., 2019; Collins et al., 2012; Duncan et al., 2019). The human medical genetic community addressed this challenge by coming together to support a rigorous set of commonly accepted standards for declaring genome-wide statistical significance, such as the requirement that p-values be corrected for the effective number of independent common variants in the genome and requiring correction for the known confounders of population structure and undocumented relatedness among individuals (Hirschhorn and Daly, 2005).

Conclusions

Sampling AG space is a useful method for modeling population histories, but finding robust and accurate models can be challenging. As we demonstrated by revisiting a handful of published AGs and re-analyzing the datasets used to fit them, f-statistics are usually insufficient for identifying uniquely fitting AG models, making it necessary to incorporate other sources of evidence. This provides a challenge to previous approaches for automated model building. We investigated several published AG models and, in nearly all cases, found many alternative models, some of which are historically and geographically plausible but contradict conclusions that were derived from the published models. To conduct these analyses, we developed a method for automated AG topology optimization that can incorporate external sources of information as topological constraints. This method is developed in the ADMIXTOOLS 2 framework, which aside from AG modeling, implements many other methods for population history inference based on f-statistics.

It is important to recognize that the key concern we have highlighted in this study—the fact that there can often be thousands of different topologies that are equally good fits to the allele frequency correlation patterns relating a set of populations—does not invalidate the use of allele frequency correlation testing in many other contexts in which it has been applied to make inferences about population history. For example, negative f3-statistics (‘admixture’ f3-statistics) continue to provide unambiguous evidence for a history of mixture in tested populations, and f4-and D-symmetry statistics remain powerful ways to evaluate whether a tested pair of populations is consistent with descending from a common ancestral population since separation from the ancestors of two groups used for comparison. The qpWave methodology remains a fully valid generalization of f4-statistics, making it possible to test whether a set of populations is consistent with descending from a specified number of ancestral populations (which separated at earlier times from a comparison set of populations). In addition, Haak et al., 2015 and Harney et al., 2021 the qpAdm extension of qpWave—which allows for estimating proportions of mixtures for the tested population under the assumption that we have data from the source populations for the mixture—remains a valid approach, unaffected by the concerns identified here. Instead of relying on a specific model of deep population relationships, qpAdm relies on an empirically measured covariance matrix of f4-statistics for the analyzed populations, which is highly constraining with respect to estimation of mixture proportions but can be consistent with a wide range of deep history models. All these methods are implemented in ADMIXTOOLS 2.

Finally, approaches that use AGs to adjust for the covariance structure relating a set of populations without insisting that the particular AG model that is proposed is true with can be useful, for example for the purpose of analyzing shared genetic drift patterns of a group of populations that derive from similar mixtures. One example was a study that attempted to test for different source populations for Neolithic migrations into the Balkans after controlling for different proportions of hunter–gatherer admixture (Mathieson et al., 2018). Another example was a study that attempted to study shared ancestry between different East African forager populations after controlling for different proportions of deeply divergent source populations (Lipson et al., 2022). However, with respect to the inferences about deep history produced by AGs themselves, our results highlight the importance of caution in proposing specific models of population history that relate a set of groups.

Acknowledgements

We thank Anders Bergström, Esther Brielle, Mateja Hajdinjak, Iosif Lazaridis, Pablo Librado, Mark Lipson, Vagheesh Narasimhan, Ludovic Orlando, Nick Patterson, Mary Prendergast, Jakob Sedig, Kendra Sirak, Pontus Skoglund, and Chuanchao Wang, for suggestions for how to improve specific analyses, and for conversations and critical comments. We thank Matthew Mah, Shop Mallick, Adam Micco, Nadin Rohland, Ron Pinhasi for help in generating additional data from an ancient DNA library from individual I8726 for which 1.24 million SNP capture data was generated and published in Narasimhan et al., 2019 and for which we report 2.6-fold shotgun data here (Supplementary file 2). P.F., P.C., O.F., and U.I. were supported by the Czech Ministry of Education, Youth and Sports (program ERC CZ, project no. LL2103). P.F., P.C., and O.F. were supported by the Czech Science Foundation (project no. 21-27624S). P.F. and P.C. were also supported by the Czech Ministry of Education, Youth and Sports: the "Large Infrastructures for Research, Experimental Development and Innovations" program (project "IT4Innovations National Supercomputing Center" no. LM2015070) and the Inter-Excellence program (project no. LTAUSA18153). R.M. and D.R. were supported by grants from the National Institutes of Health (GM100233 and HG012287), the John Templeton Foundation (grant 61220), and the Allen Discovery Center program, a Paul G Allen Frontiers Group advised program of the Paul G Allen Family Foundation. D.R. and P.F. were supported by private gifts from Jean-Francois Clin. D.R. is an Investigator of the Howard Hughes Medical Institute.

Appendix 1

1. ADMIXTOOLS 2. A new software package and set of algorithmic ideas for fitting allele frequency correlation statistics to genetic data relating populations

We present a new implementation of the popular ADMIXTOOLS software (called ‘Classic ADMIXTOOLS’) (Patterson et al., 2012; Haak et al., 2015). Our implementation (ADMIXTOOLS 2) enhances performance by greatly reducing runtime and memory requirements across a wide range of different methods, relative to Classic ADMIXTOOLS (Appendix 1—figure 1a). Some of these improvements have now been implemented in version 7.0.2 of ADMIXTOOLS (https://github.com/DReichLab/AdmixTools/). The present study focuses not on the performance differences between Classic ADMIXTOOLS and ADMIXTOOLS 2, but on the description of new ideas implemented in one or both of these tools.

1.A. Computation and use of f-statistics

A key idea that facilitates the performance increases shared by ADMIXTOOLS 2 and ADMIXTOOLS v. 7.0.2 is that any f-statistic (which form the basis of almost all ADMIXTOOLS programs as well as other toolkits for studying population history such as popstats) can be computed from a small number of f2-statistics. For most f-statistic-based analyses (for example qpWave, qpAdm, and qpGraph; Appendix 1—figure 1c), the time required to compute f3- and f4-statistics algebraically from f2-statistics is trivial compared to the time required to load genotype data and compute f2-statistics. These f2-statistics can be stored and re-used to compute f3- and f4-statistics, thus reducing the size of the input data, runtime, and memory requirements by orders of magnitude (Appendix 1—figure 1a, d).

Using precomputed f2-statistics is not always the best solution. In datasets with large amounts of missing data, computing f3- and f4-statistics from precomputed f2-statistics may introduce bias. In this case, it is necessary to compute f3- and f4-statistics directly, using different SNPs for each f-statistic (all available SNPs in each population triplet or quadruplet). However, even without the use of precomputed f2-statistics, ADMIXTOOLS 2 often achieves large performance gains (Appendix 1—figure 1a).

The program qpfstats in Classic ADMIXTOOLS implements an idea which strikes a balance between these two extremes. It increases the accuracy of estimation of f-statistics by using a regression approach to jointly estimate the values of all f2-, f3-, and f4-statistics relating a set of populations. Specifically, qpfstats searches for values of these statistics that are not only consistent with information from the SNPs that have data in the groups used to compute each particular f-statistic, but also satisfy the algebraic relationships expected with other f-statistics (thus incorporating information from data at many additional SNPs). See further details on this algorithm at https://github.com/DReichLab/AdmixTools/blob/master/qpfs.pdf, (Patterson et al., 2012). This feature is available in ADMIXTOOLS 2 through the qpfstats option in the extract_f2 function.

Another improvement introduced in ADMIXTOOLS 2 relates to accurate evaluation of the match between observed and expected f3-statistics when fitting AGs where at least one population is represented by a single individual with genotypes derived by randomly selecting one sequencing read at each variable position (‘pseudo-haploid’ data). f-Statistic computations need to be modified when analyzing pseudo-haploid data, because heterozygosity cannot be computed using comparisons of sequences within the same individual; however, computation of heterozygosity is essential to calculate ‘admixture’ f3-statistics f3(target; A, B), where negative values provide proof of the mixed nature of the target population. When a target population is represented by multiple individuals, unbiased estimation of admixture f3-statistics can be carried out even for pseudo-haploid data by analyzing positions covered by sequences from at least two individuals and only computing variation rates across individuals. This approach is implemented in Classic ADMIXTOOLS with the ‘inbreed: YES’ option. However, no admixture f3-statistic can be computed with this algorithm if the target population is represented by a single individual (as no variation across individuals within a population can be detected in this case). Classic ADMIXTOOLS deals with this case by failing to run if any population in an analysis is represented by a single individual and the ‘inbreed: YES’ option is turned on. Because the datasets from all the AGs revisited here included at least one population represented by a single individual (Supplementary file 1), the ‘inbreed: YES’ option could not be used in the original studies (the program failed with this option, by design). Thus, AG fitting in those studies relied on the incorrect algorithm for calculating f3-statistics (except for Librado et al., 2021, which used TreeMix instead of qpGraph) and, as a result, some f3-statistics that are negative and could provide important constraints for AG fitting were evaluated as positive. These concerns are relevant for the Shinde et al., 2019, Lipson et al., 2020b, and Wang et al., 2021 studies we revisit below (see Supplementary file 1 for a list of datasets where negative f3-statistics were encountered). To be able to detect negative f3-statistics and thus take advantage of their power for constraining the space of possibly fitting historical models, in ADMIXTOOLS 2 we introduced a similar algorithm which makes it possible to compute negative f3-statistics on pseudo-haploid data, at a cost of removing sites with only one chromosome genotyped in any population that is represented by at least two individuals (so that it is possible in theory to compute heterozygosity in these populations). Admixture f3-statistics continue to be incorrectly computed using ADMIXTOOLS 2 for targets that are singleton populations represented by pseudo-haploid data, as there is no avoiding this particular problem.

Appendix 1—figure 1. Performance comparison of f-statistic computation and AG fitting in Classic ADMIXTOOLS and ADMIXTOOLS 2 and an overview of the major ADMIXTOOLS programs.

Appendix 1—figure 1.

(a) Performance comparison of f-statistic computation and AG fitting. Top: Memory usage and runtime for computing f-statistics using (1) the qpDstat program in ADMIXTOOLS v7.0.2 released in 06/2021, (2) the f4 function in ADMIXTOOLS 2 without precomputing f2-statistics, and (3) the f4 function in ADMIXTOOLS 2 with precomputed f2-statistics. (1) and (2) give identical results, whereas (3) only gives identical results in the absence of missing data, which limits its usefulness beyond a moderate number of populations. Bottom: Runtime comparison of qpGraph with and without precomputed f-statistics. (b) Illustration of f2- and f4-statistics. f2 measures the amount of drift separating any two populations, while f4 measures the amount of drift shared between two population pairs. Every f4-statistic is a linear combination of four f2-statistics. (c) Overview of the major ADMIXTOOLS programs, their primary use cases, and their associated f-statistics. (d) Schematic representation of the computations behind the ADMIXTOOLS programs qpGraph, qpWave, and qpAdm. ADMIXTOOLS 2 separates the computation of f2-statistics from the later steps in the pipeline. Shown below are the number of data points for N individuals, M SNPs, and k populations. The exact number of all possible non-redundant f2-, f3-, and f4-statistics for k populations are k2 , 12k3 , and 13(k4) . A small number of f2-statistics can be used to obtain a much larger number of f3- and f4-statistics and require much less storage space than the raw genotype data.

1.B. AG fitting, model comparison, and interpretation

There are several challenges that arise when modeling the ancestral relationships among populations with AGs, and ADMIXTOOLS 2 implements solutions to several key problems that were not adequately addressed with previous approaches: (1) Automated AG inference; (2) Estimating confidence intervals for AG parameters; (3) Comparing fits of different AGs; (4) Determining identifiability of AG parameters; and (5) Drawing conclusions from a large number of fitting graphs.

Here, we describe these challenges, how we address them, and how our approaches compare to other approaches, while the section ‘Technical presentation of ADMIXTOOLS 2 in the context of methods based on f-statistics’ gives detailed descriptions.

1.B.1. Automated AG inference

Constructing AGs manually runs the risk of overlooking models that challenge conventional hypotheses. On the other hand, current methods for inferring AGs automatically (Leppälä et al., 2017; Molloy et al., 2021; Pickrell and Pritchard, 2012; Yan et al., 2021) do not allow external information to be integrated into the analysis, and often result in models that may fit the genetic data but can be rejected on other grounds. In addition, TreeMix (Pickrell and Pritchard, 2012), as well as OrientAGraph (Molloy et al., 2021), an improved version of TreeMix, can miss AG topologies that exist on parts of the non-convex likelihood surface that are bypassed by these algorithms for exploring AGs (e.g., topology M7 in Figure 4 of Molloy et al., 2021). MixMapper (Lipson et al., 2013) and miqoGraph Yan et al., 2021 have a different limitation: exploring topologies with more than one admixture event in the history of any group is not possible. Due to these limitations, many published findings are based on manual proposal of topologies and evaluation of fit, and the great majority of studies using this manual approach (see, e.g., Reich et al., 2011; Reich et al., 2012; Lazaridis et al., 2014; Fu et al., 2016; Skoglund et al., 2016; Yang et al., 2017; McColl et al., 2018; Moreno-Mayar et al., 2018; Tambets et al., 2018; van de Loosdrecht et al., 2018; Flegontov et al., 2019; Sikora et al., 2019; Wang et al., 2019; Lipson et al., 2020b; Shinde et al., 2019; Yang et al., 2020; Hajdinjak et al., 2021; Wang et al., 2021; Bergström et al., 2022) rely on the software qpGraph. We introduce an approach for finding well-fitting AGs automatically that can integrate external information, and that recovers graph topologies more accurately than TreeMix (Appendix 1—figure 2). External information can be integrated by specifying a set of constraints that AGs must satisfy. This not only ensures that resulting models are temporally plausible, but also cleanly separates prior assumptions from the independent constraints provided by genetic data. Our strategy implemented in the function ‘findGraphs’, differs from TreeMix/OrientAGraph in several deep ways, most notably in that it optimizes graphs directly, rather than optimizing trees first and adding admixture events later. This makes it less prone to getting stuck in local optima: our simulation results show that findGraphs is more accurate for random graphs (Appendix 1—figure 2), and that it can recover specific topologies that pose problems for TreeMix and OrientAGraph.

1.B.2. Estimating confidence intervals for AG parameters

Since our new implementation of qpGraph can evaluate models much more rapidly, it becomes feasible to evaluate the same model multiple times on different SNP sets. This allows us to derive bootstrap confidence intervals (Boos, 2003) for all parameters estimated by qpGraph, including drift lengths, admixture weights, LL scores, and f4-statistic residuals. It should also be noted that the estimated confidence intervals do not take into account uncertainty about the graph topology.

1.B.3. Comparing the fits of different AGs

Using the bootstrap method for evaluating a graph multiple times on different SNP sets not only allows us to obtain confidence intervals for single graphs, but also allows us to test whether the fit of one graph is significantly better than the fit of another graph, by obtaining confidence intervals for the LL score difference or difference in the largest f4-statistic residuals (worst residuals, WR) of two graphs. When we apply this approach to a range of datasets, we find that models with modest LL differences are often not distinguishable after accounting for the variability across SNPs, even if one might expect them to be distinguishable based on the magnitude of the likelihood difference (Appendix 1—figure 3a, b). Thus, previous methods relying on AIC or BIC (such as Shinde et al., 2019; Flegontov et al., 2019) that used specified likelihood difference thresholds to reject some models over others, were over-aggressive. These methods are problematic since they generally assume that the models compared have the same effective number of degrees of freedom, but the number of independent parameters estimated in an AG is not simply determined by the number of groups, drift edges, or admixture events, as it also depends on the graph topology in a complex way. A second challenge in comparing different AG models arises when comparing models of different complexity (i.e., with a different number of admixture events). Established methods such as AIC and BIC can also account for different model complexity, but if the number of independent parameters in a model is known.

We implement a method to compare AG models of different complexity by using a new scoring function, which uses different blocks of SNPs for deriving fitted and estimated f-statistics. This ensures that our model comparison test does not favor more complex models by allowing them to overfit the data. This cross-validation approach can also be used to rank alternative models of the same complexity and deal with overfitting. We note that the calculation of cross-validated LL scores is not turned on in findGraphs by default, and to make our results more comparable to those of the published studies we revisited, we relied on standard LL scores in this study.

To test if our method is well calibrated, we simulated 100,000 SNPs under the same graph in 1,000 replicates. We then created two new topologies by removing one out of two symmetric edges from the first graph (Appendix 1—figure 3c). These new incorrect models are symmetrically related to the first graph and can be used to test whether the true difference in LL scores of these two graphs is zero. The uniform distribution of p-values confirms that our method is well calibrated (Appendix 1—figure 3d). A caveat is that only one symmetric topology was explored in this way.

1.B.4. Determining identifiability of AG parameters

Fitting AGs results in an estimate of the overall model fit, as well as in estimates of branch lengths and admixture weights. However, even with infinite data some of these parameters cannot be estimated, as they are not identifiable from the system of equations that corresponds to the AG. Issues like this have been well described for simple topological features of a graph. For example, the lengths of the two branches connected to the root node cannot be estimated independently. Furthermore, in a graph with n populations and a admixture events, at least one parameter will not be identifiable unless the inequality (n2)>=2n+2a3 is satisfied (Lipson, 2020a). However, even in graphs that meet this criterion, some parameters are not identifiable, and until the development of ADMIXTOOLS 2, there was no method for testing whether any given parameter in an AG is identifiable. We introduce a method for testing which parameters in an AG are identifiable, and which are not, based on the Jacobi matrix of the graph’s system of f2 equations. Like our method for deriving confidence intervals for AG parameters, this can improve the interpretability of AG analyses.

Our methods for automated topology inference, for bootstrapping LL scores or worst residuals for comparing model fits, for cross-validation of AGs of different complexities, for estimating confidence intervals and determining identifiability of AG parameters can greatly improve the interpretability of AG analyses. We implement all these methods in ADMIXTOOLS 2 to assist the user in accurately testing a series of admixture models for ancient populations.

1.B.5. Drawing conclusions from a large number of fitted models

As discussed in the Results section, when we apply our methods for finding optimal graphs and comparing AGs to a number of previously published models, we find that there often exists a much larger number of fitting models than has previously been appreciated. In these cases, we are unable to prioritize a single model, or even a small number of models, based on the evidence we have. However, we are still able to reject the vast majority of all tested models. This suggests that insight can be gained by identifying common features among the well-fitting models. We therefore introduce methods for summarizing collections of well-fitting AGs to determine which features they share. In practice, we find that these methods can aid manual inspection of findGraphs results, but the high diversity of well-fitting topologies we see in most case studies and the importance of fitted parameters (especially admixture proportions) for historical interpretation of topologies makes it difficult to reliably automatize the process of interpreting fitted AG models.

2. Technical presentation of ADMIXTOOLS 2 in the context of methods based on f-statistics

Much of the content that follows recapitulates theory presented in previous work, notably Reich et al., 2009, Green et al., 2010, and Patterson et al., 2012, but we summarize it here for coherence.

2.A. f-Statistics

All ADMIXTOOLS programs are based on the statistics f2, f3, and f4, for population pairs, triplets, and quadruples, respectively.

f2 quantifies the genetic drift separating two populations A and B . For a single SNP, it is given by f2A,B=1Mj(aj-bj)2 , where aj and bj are the allele frequencies for SNP j in populations A and B. When allele frequencies are estimated using a small number of samples, this estimator of f2 will be biased upwards. An unbiased estimator of f2 is given by

f2=1Mj  (ajbj)2aj(1aj)nA,j1bj(1bj)nB,j1, where nA,j and nB,j are the observed allele counts in populations A and B.

f3(A;B,C)=1Mj(aj-bj)(aj-cj) is the covariance of the allele frequency differences between populations A and B, and the allele frequency differences between populations A and C (assuming that alleles are coded randomly, so that a – b and a – c are both 0 in expectation). Significantly negative values of f3(A; B, C) suggest that A is a mixture of sources related to B and C (although the converse does not hold: A might be admixed between B and C even if f3 is positive).

f4(A,B;C,D)=1Mj(aj-bj)(cj-dj) is the covariance of the allele frequency differences between A and B, and the allele frequency differences between C and D. Significantly positive values of f4(A, B; C, D) (or equivalently significantly negative values of f4(A, B; D, C)) reveal that A and B do not form a clade with respect to C and D, and that some of the drift separating A from C is shared with the drift separating B from D.

f3 and f4 can be written as linear combinations of f2-statistics:

f3(A;B,C)=12(f2(A,B)+f2(A,C)-f2(B,C)) (1)
f4(A,B;C,D)=12(f2(A,D)+f2(B,C)-f2(A,C)-f2(B,D)) (2)

This implies that all f3- and f4-statistics can be computed from f2-statistics as long as they are defined on the same SNPs.

For revisiting published studies, we used the ‘extract_f2’ function with the ‘maxmiss’ argument set at 0, which corresponds to the ‘useallsnps: NO’ setting in classic ADMIXTOOLS. It means that no missing data are allowed (at the level of populations) in the specified set of populations for which pairwise f2-statistics are calculated. For the values of the ‘blgsize’, ‘adjust_pseudohaploid’, and ‘minac2’ arguments we use in our analyses, see Supplementary file 1. The ‘blgsize’ argument sets the SNP block size in Morgans, and we used either the default value of 0.05 (5 cM), or 4,000,000 bp when a genetic map was not available. Genotypes of pseudo-haploid samples are usually coded as 0 or 2 (i.e., they are, strictly speaking, pseudo-diploid), even though only one allele is observed. The ‘adjust_pseudohaploid’ argument ensures that the observed allele count increases only by 1 for each pseudo-haploid sample. If ‘TRUE’ (default), samples that do not have any genotypes coded as 1 among the first 1,000 SNPs are automatically identified as pseudo-haploid. This leads to slightly more accurate estimates of f-statistics. Setting this parameter to ‘FALSE’ treats all samples as diploid.

Another important argument (‘minac2=2’) of the ‘extract_f2’ function removes sites with only one chromosome genotyped in any non-singleton population and is needed for unbiased estimation of negative f3-statistics in non-singleton pseudo-haploid populations. In the absence of negative f3-statistics or pseudo-haploid populations, this argument has no influence on AG LL scores. This algorithm for calculation of f-statistics triggered by the ‘minac2=2’ argument is described below.

For f3(A; B, C), we compute the uncorrected numerator for each SNP, (a – b) × (a – c). We then subtract a bias correction factor at each SNP, p(1 – p)/(ac – 1), which we only need for population a (because the other factors cancel out); p is the allele frequency, and ac is the observed allele count. In pseudo-haploid samples, (ac – 1) would be zero and produce an error in any sites with only one observed allele. With the ‘inbreed: NO’ setting in Classic ADMIXTOOLS, the smallest non-zero value for ac is 2, so the division by 0 problem is avoided, but the correction factor is slightly smaller than it should be. ADMIXTOOLS 2 adds only an allele count of 1 for each site in a pseudo-haploid sample (with the default option ‘adjust_pseudohaploid = TRUE’), so there can be cases where ac = 1. To imitate what the setting ‘inbreed: NO’ in Classic ADMIXTOOLS is doing, ac is set to 2 at those sites (or the denominator is set to 1). There is still a small difference between Classic ADMIXTOOLS and ADMIXTOOLS 2 at other sites because each observed site adds two alleles in ADMIXTOOLS with the default setting ‘inbreed: NO’, but only 1 allele in ADMIXTOOLS 2 with the default setting ‘adjust_pseudohaploid = TRUE’, but for AG fitting that does not matter. One solution to avoid biased correction factors is to only consider sites with ac of at least two, which is what the ‘inbreed: YES’ setting in Classic ADMIXTOOLS does. The problem with this is that we cannot use populations with a single pseudo-haploid sample, which is often useful, and would only give misleading results if that population is admixed. The new option ‘minac2=2’ in ADMIXTOOLS 2 is different from the ‘inbreed: YES’ setting in Classic ADMIXTOOLS since it makes an exception for populations consisting of a single pseudo-haploid sample in that it sets ac to 2 at each site (denominator is set to 1) when computing the correction factor for those populations.

2.B. Fitting AGs

An AG is a directed acyclic graph specifying the topology of the ancestral relationships among a set of populations. Each node in this graph represents a (present-day or ancient) population. Terminal nodes (also called leaf nodes) represent observed populations, while internal nodes represent unobserved ancestral populations. Modeling all observed populations as leaf nodes confers some robustness to drift specific to single populations and to genotyping errors. The edges connecting the populations are weighted and correspond either to the magnitude of genetic drift that has occurred along that branch (drift edges), or to the admixture proportions (admixture edges, where two edges point to the same node).

The goal of qpGraph is to test how well a given graph topology fits the observed f-statistics. This is achieved by varying the edge weights until the maximum likelihood fit is obtained. The following section describes the graph fitting in more detail.

First, for k populations, all k(k+1)2 f3-statistics of the form f3(O; X1, X2) are computed, where O is one of the k populations (typically an outgroup), and X1 and X2 are all pairs formed from the other populations (including pairs where X1 = X2). These f3-statistics can then be used to fit the graph and to compute the likelihood. The likelihood score of a graph is the dot product of the differences between the expected and observed f3-statistics, weighted by the inverse covariance matrix of f3-statistics:

L(g)=-12(f3,obs-f3,fit)`Q-1(f3,obs-f3,fit) (3)

Here, f3, obs are the observed f3-statistics and f3, fit are the fitted f3-statistics. Both are vectors of length q=k(k+1)2 for k populations excluding the outgroup. Q is the q × q covariance matrix of f3-statistics, where the diagonal entries are the f3-statistic variances, and the off-diagonal entries are the covariances for all pairs of f3-statistics. Just like the variances (the squared standard errors), the covariances are estimated from the jackknife leave-one-block-out f3-statistics.

Finding the edge weights which maximize the likelihood score involves two nested optimization steps. The inner optimization finds the drift weights which maximize the likelihood score while fixing the admixture weights. The outer optimization finds the admixture weights which maximize the likelihood score, while optimizing the drift weights for each set of admixture weights. The inner optimization uses a quadratic programming solver to find the optimal drift weights, while the outer optimization uses a general purpose optimization algorithm to find the optimal admixture weights.

While the gradient function in the outer optimization adjusts the admixture weights, the objective function iterates over the following steps:

1. Optimization of drift weights conditional on admixture weights

2. Estimation of fitted f3-statistics

3. Calculation of the graph likelihood using observed and fitted f3-statistics

These steps are repeated until convergence is reached and the likelihood score can no longer be improved by adjusting the admixture weights.

Step 1 optimizes the drift edge weights, while holding the admixture weights constant. All drift edge weights are required to be non-negative, which makes this a constrained quadratic programming problem (hence qpGraph). Additional upper and lower bounds can be specified for individual graph edges.

Step 2 turns the edge weights into fitted f3-statistics. To see how edge weights in an AG translate to f3-statistics, it helps to first consider how they translate into f2-statistics for a pair of populations. Without any admixture events, there is exactly one path p connecting any two populations. The fitted f2-statistic (f2, fit) is the sum of edge weights we along this path p connecting two populations. The fitted f2-statistic is the sum of edge weights we along this path:

f2, fit = e  p  we

In the presence of admixture events, two populations may be connected via multiple paths. Each admixture node that lies between the two populations increases the number of possible paths. The fitted f2-statistic for the two populations now becomes the weighted sum of all these paths, where the weight of each path is given by the product of all estimated admixture proportions wa along this path (apwa):

f2, fit = p  P   a  p  wa e  p  we (4)

The fitted f2-statistics are then used to obtain fitted f3-statistics using Equation 1.

Step 3 uses the fitted and observed f3-statistics to estimate the likelihood score using Equation 3.

Prior to these three steps, initial admixture weights are drawn randomly. To ensure that the end results do not depend on the random initialization, the whole optimization process is repeated multiple times with different random initial values. The original ADMIXTOOLS implementation retains only the results from the initial values resulting in the lowest absolute likelihood score. The new ADMIXTOOLS 2 implementation provides an option to retrieve the results for all random initializations. This can be useful, as large fluctuations between different random initializations can be an indicator of an overparameterized or otherwise poorly fitting model.

2.C. Automated AG inference

To find graph topologies that could conceivably have given rise to the observed f-statistics, we start with a randomly generated graph with a fixed number of admixture events, apply a number of modifications to this graph, and evaluate each of the resulting graphs. We then pick the best-fitting graph and repeat this procedure until graph modifications no longer lead to improved scores. We use a number of random graph modifications, as well as targeted modifications which are informed by parameters obtained during the fitting of the current graph.

For the targeted modifications, we change the optimization of a single graph from a constrained optimization problem, in which drift edges are constrained to be positive and admixture weights are constrained to be between zero and one, to an unconstrained optimization problem in which both types of parameters can take any real values. Rearranging the nodes adjacent to edges which were estimated to be negative results in an improved fit at a much higher rate than random graph adjustments.

The random modifications include (1) pruning and randomly re-grafting leaf nodes, (2) pruning and randomly re-grafting a set of connected nodes in the graph, (3) swapping the orientation of admixture edges, (4) shifting admixture edges, (5) re-rooting the graph, and (6) combinations of two or more of any of these modifications.

The number of admixture events is not affected by the graph modifications described so far. A significant score improvement can often be achieved by adding a single admixture edge to several random positions in a graph. This is unsurprising since it increases the degrees of freedom of the original graph. However, picking the best fitting graph with one admixture edge added, and testing all graphs that result from removing a single admixture edge from that graph, often results in a graph with the same number of admixture events and a better fit than the original graph. We employ this strategy whenever the regular graph modifications described above do not lead to any further improvements.

We keep track of the search tree of all previously evaluated graphs and their scores in order to not evaluate any graph more than once, and so that backtracking in the search space is possible in cases where no more local improvements can be identified. Nevertheless, multiple iterations with different random starting graphs are usually necessary to find graphs with good fits. The number of iterations needed to approach a global optimum depends on the size of the search space, but the optimal number of iterations is hard to estimate in practice.

For revisiting published studies, we used the following settings of the findGraphs algorithm:

  • mutfuns = namedList(spr_leaves, spr_all, swap_leaves, move_admixedge_once, flipadmix_random, place_root_random, mutate_n), a list of functions used to modify graphs.

  • numgraphs = 10, number of alternative graphs produced by randomly applying the mutation functions at the start of each generation.

  • stop_gen = 10,000, total number of generations after which to stop.

  • stop_gen2=30, number of generations without LL score improvement after which to stop.

  • plusminus_generations = 10. If the best score does not improve after plusminus_generations generations, another approach to improving the score is attempted: A number of graphs with an additional admixture event is generated and evaluated. The resulting graph with the best score is picked, and new graphs are created by removing any one admixture event (bringing the number back to what it was originally). The graph with the lowest score is then selected. This approach often makes it possible to break out of local optima.

  • opt_worst_residual = FALSE. Optimize for lowest worst residual instead of best score. ‘FALSE’ by default, because the LL score is generally a better indicator of the quality of the model fit, and because optimizing for the lowest worst residual is much slower since f4-statistics need to be computed for each graph.

  • reject_f4z=0. If this is a number greater than zero, all f4-statistics with |Z-score|>reject_f4z will be used to constrain the search space of AGs: Any graphs in which Z-scores greater than reject_f4z are expected to be zero will not be evaluated.

  • diag = 1e−04. This argument is passed to the qpgraph function and determines the regularization term added to the diagonal elements of the covariance matrix of fitted branch lengths (after scaling by the matrix trace). Default is 0.0001.

  • numstart = 10. This argument is passed to the qpgraph function and determines the number of random initializations of starting weights (defaults to 10). Increasing this number will make the optimization slower but reduce the risk of not finding the optimal weights.

  • lsqmode = FALSE. This argument is passed to the qpgraph function. If set to ‘FALSE’, the inverse f3-statistic covariance matrix is not discarded by the algorithm.

The arguments ‘admix_constraints’ (constraints on the number of admixture events in the history of a given population), ‘event_constraints’ (constraints on the branching order of specified lineages), and ‘outpop’ (the population assigned as an outgroup) were set according to Supplementary file 1. Each findGraphs run was initiated by a random graph with a specified number of admixture events. Usually, the same topology constraints were applied at the stage of random graph generation and the topology search stage, for exceptions see Supplementary file 1.

2.D. Evaluating automated AG inference through simulations

We evaluated the performance of findGraphs by simulating genetic data under a large number of different AG models, applying findGraphs to each simulated dataset in three independent iterations, and comparing the resulting best graph across three iterations to the simulated graph. We applied TreeMix to the same simulated data for comparison. We simulated between 8 and 16 populations per graph, and between 0 and 10 admixture events. For each parameter combination, we simulated 20 different AGs generated by the random_admixturegraph function. We counted both the fraction of random simulated graphs where the best inferred graph was identical to the simulated graph, as well as the fraction of random simulated graphs where the best inferred graph was either identical to the simulated graph or had a better score than the simulated graph. For models with a large number of admixture events the number of possible models is so large that it becomes increasingly likely that there will be some alternative models which fit the data better than the model under which the data were simulated.

We used msprime v.0.7.4 and the msprime_sim wrapper function in ADMIXTOOLS 2 to simulate data for 100,000 unlinked SNPs and 100 diploid samples per population for each AG. The simulation parameters we chose were aimed at facilitating fast simulations of large numbers of informative SNPs rather than at being as realistic as possible. We therefore expect that the simulation results allow us to make comparisons across groups, but not that they are informative about the rate at which ‘true’ models can be recovered in empirical data. We simulated under a constant mutation rate of 0.001 per site per generation, a constant haploid effective population size of 1,000, with neighboring nodes in the graph separated by 1,000 or more generations, and all admixture events occurring in discrete pulses of 50%/50% proportions.

To allow for a fair comparison between findGraphs and TreeMix, we made sure that small differences in the way AGs are modeled in findGraphs and in TreeMix were accounted for before testing graphs for identical topology. For example, TreeMix AGs can have lineages terminating at an admixture node, whereas in findGraphs lineages always end at a ‘leaf’ node with a single ancestor.

More realistic simulations were performed with msprime v.1.1.1 which allows accurate simulation of recombination and of multi-chromosome diploid genomes relying on the Wright–Fisher model (Nelson et al., 2020, Baumdicker et al., 2022). We simulated three chromosomes (each 100 Mbp long) in a diploid genome by specifying a flat recombination rate (2 × 10−8 per bp per generation) along the chromosome and a much higher rate at the chromosome boundaries (loge2 or ~0.693 per bp per generation, see https://tskit.dev/msprime/docs/stable/ancestry.html#multiple-chromosomes). A flat mutation rate, 1.25 × 10−8 per bp per generation (Scally and Durbin, 2012), and the binary mutation model were used. To maintain the correct correlation between chromosomes, the discrete time Wright–Fischer model was used for 25 generations into the past, and deeper in the past the standard coalescent simulation algorithm was used (as recommended by Nelson et al., 2020).

We simulated AGs of four complexity classes: eight or nine groups sampled at leaves, four or five pulse-like admixture events. All group sizes were identical: 10 diploid individuals with no missing data. Demographic events were separated by date intervals ranging randomly between 1,500 and 8,000 generations, with an upper bound on the tree time depth at 40,000 generations. Effective population sizes were constant along each edge, and were picked randomly from the range of 2,000–40,000 diploid individuals. Admixture proportions for all admixture events varied randomly between 10% and 40%. For subsequent analyses we selected only simulations where pairwise FST for groups were in the range characteristic for anatomically modern and archaic humans (there was at least one FST value below 0.15). In this way, 20 random topologies were simulated per graph complexity class, each including also a distant outgroup that facilitates exploration of the topology space. The outgroup diverged at 40,000 generations ago and had a constant diploid population size of 100,000 individuals. Since there was no missing data and all individuals were diploid, we first calculated all possible f2-statistics for 4 Mbp-sized genome blocks (with the ‘maxmiss = 0’, ‘adjust_pseudohaploid = FALSE’, and ‘minac2=FALSE’ settings) and then used them for calculating f4-statistics as linear combinations of f2-statistics or for fitting AGs (with the ‘numstart = 100’ and ‘diag = 0.0001’ settings).

2.E. Comparing the fits of different AGs

We are interested in determining whether one AG fits the data significantly better than another AG, or whether an observed score difference Δ = S1 – S2 can be attributed to variability across independent SNPs. We first consider two AGs with the same number of admixture events, where we can ignore the problem of comparing two models with different complexity. As in other bootstrap standard error calculations, we divide the genome into n blocks indexed by i, and we draw b sets of n blocks with replacement, indexed by j. We fit both graphs b times—once for each bootstrap set of SNP blocks. This results in a set of b score differences Δj. The bootstrap confidence interval for the difference in scores is given by the quantiles of the distribution of Δj. We also compute an empirical bootstrap p-value, testing the null hypothesis that two different graphs fit the data equally well. It is computed as p=max(1b,2δ) (Boos, 2003), where δ is either the fraction of Δj > 0, or the fraction of Δj < 0, whichever is smaller. The reason for applying bootstrap resampling, as opposed to jackknife resampling in this case, is that the distribution of score differences tends to have a high kurtosis, which can make jackknife estimates inaccurate. Simulating data under the null hypothesis is not straightforward in this case, because it involves finding two non-identical graphs which in expectation fit the data equally well. We decided to simulate under one graph and compare two graphs which are symmetrically related to the simulated graph (Appendix 1—figure 3). This confirmed that the p-value follows a uniform distribution under the null hypothesis.

Next, we consider comparisons of two graphs of different complexity. The problem here is that more complex graphs have more degrees of freedom which allow them to overfit the data better, without necessarily being any closer to the truth. To solve this problem, we introduce an out-of-sample likelihood score. The regular likelihood score is given by:

L(g)=-12(f3,obs-f3,fit)`Q-1(f3,obs-f3,fit), with f3, obs and f3, fit defined on the same set of SNPs. The out-of-sample likelihood score is defined in the same way, except that f3, obs and f3, fit are defined on mutually exclusive sets of SNP blocks, thereby preventing any overfitting. The covariance matrix Q is defined on the same set of SNP blocks as f3, fit. As described earlier, we use block-bootstrap to fit both graphs multiple times on different SNP blocks. In each bootstrap iteration, we use all SNP blocks which are not used in fitting the graph for estimating f3, obs.

2.F. AG identifiability

An edge in an AG is unidentifiable, if small changes to the weight of this edge (admixture proportions in the case of an admixture edge, drift length in the case of a drift edge) do not necessarily lead to changes in expected f-statistics. This is the case if the small change in weight can be offset by small changes in other graph edges, leading to a situation where observed f-statistics can be explained by more than one weight estimate for that edge. To find unidentifiable edges, we derive the Jacobi matrix of the graph’s system of f2 equations (Equation 4 applied to each population pair). In principle, whether a parameter is identifiable can depend on the values of all other parameters. However, in practice this is rarely the case, and so we draw values for all parameters from a uniform distribution, which gives us a Jacobi matrix with numeric values. We then determine the rank of the Jacobi matrix, along with the rank of all matrices that result from dropping a single column (a parameter corresponding to a graph edge). For identifiable edges, the rank of the full matrix will be greater than the rank of the reduced matrix, and for unidentifiable edges, the ranks will be the same.

2.G. Drawing conclusions from a large number of fitting models

We developed several methods that aim to summarize a collection of graphs which all fit the data similarly well. By highlighting features which are observed repeatedly across graphs, it becomes possible to extract interpretable conclusions from an otherwise hard to interpret collection of possible models. These graph summaries identify features in each graph that can be compared to different graphs describing the same populations. We summarize each graph in several ways:

  1. Admixture status of each population

    For each population, we count the total number of admixture events that are encountered along all paths from the chosen leaf to the root.

  2. Order of population split events

    For each pair of population pairs, we determine if the most recent split of the first pair has occurred before or after the most recent split of the second pair, or whether the graph does not specify the order in which those splits occurred.

  3. Proxy populations

    For each admixed population in a graph, we attempt to identify proxy sources: populations closest to the admixing populations. In contrast to the other approaches to summarizing graphs which are based only on the topology of each graph, this can also rely on information about the estimated graph parameters.

  4. Cladality

    For each group of four populations, we test whether the graph implies that any f4-statistic describing the relationship between the four populations is expected to be zero.

  5. Node descendants

    Each internal node in an AG is an ancestor to a specific set of leaf populations. An AG can be characterized by the sets of leaf populations formed by the internal nodes. Multiple AGs may be compared by counting the number of overlapping sets. This also makes it possible to quantify for each internal node in a single graph, how often a matching internal node can be found across a collection of alternative graphs, which is conceptually similar to bootstrap support values in phylogenetic trees.

While these methods provide some help in comparing features across many graphs, they are not able to reliably answer the question whether the fitting graphs are relatively similar or dissimilar from each other, and whether they are similar to any particular graph. This is in part due to the fact that small topological changes involving populations of interest may be more relevant than similar topological changes involving only populations that are not the focus of the study.

Appendix 1—figure 2. Comparison of accuracy of automated search for optimal topology in the findGraphs function of ADMIXTOOLS 2 and in TreeMix using simulated graphs with 8, 10, 12, and 16 populations, and 0–10 admixture events.

Appendix 1—figure 2.

Error bars show standard errors calculated as SE2 = p (1 – p) / n, where p is the fraction on the y-axis and n is the number of simulations in each group (typically 20). In the case of ADMIXTOOLS 2, we applied findGraphs three times on each simulated dataset and picked a result with the best fit score. More details are provided in Methods. (a) Fraction of simulations where the simulated graph is recovered exactly. (b) Fraction of simulations where the simulated graph is either recovered exactly, or the score is at least as good as the score of the simulated graph, when both graphs are evaluated by ADMIXTOOLS 2. More admixture edges greatly increase the search space and make it more difficult to recover the simulated graph, but they do make it easier to find alternative graphs with good fits.

Appendix 1—figure 3. Calibrating the bootstrap model comparison approach.

(a) Bootstrap sampling distributions of the log-likelihood scores for two AGs (shown in Appendix 1—figure 3—Figure supplement 1) for the same populations fitted using real data. Vertical lines show the log-likelihood scores computed on all SNP blocks. (b) Distribution of differences of the bootstrap log-likelihood scores for both graphs (same data as in a). The purple area shows the proportion of resamplings in which the first graph has a higher score than the second graph. The two-sided p-value for the hypothesis of no difference is equivalent to twice that area (or one over the number of bootstrap iterations if all values fall on one side of zero). In this case it is 0.078. (c) The AG which was used to evaluate our method for testing the significance of the difference of two graph fits on simulated data. We simulated under the full graph and fitted two graphs that result from deleting either the red admixture edge or the blue admixture edge. These two graphs have the same expected fit score but can have different scores in any one simulation iteration. (d) QQ plot of p-values testing for a score difference between the two graphs (on simulated data) under the hypothesis of no difference, confirming that the method is well calibrated.

Appendix 1—figure 3.

Appendix 1—figure 3—figure supplement 1. The admixture graphs compared in (Appendix 1—figure 3).

Appendix 1—figure 3—figure supplement 1.

(a) Graph 1, LL = 4.9, WR = 2.0 SE. (b) Graph 2, LL = 25.7, WR = 5.0 SE.

Appendix 2

1. Bergström et al., 2020

The AG for dogs in Figure 1e of Bergström et al., 2020 was inferred by exhaustively evaluating all graphs with two admixture events and outgroup ‘Andean fox’ for the six populations that remain in the graph after excluding an Early Neolithic dog from Germany. The only six-population graph with a worst residual (WR) below 3 standard errors (SE) was then chosen as a scaffold onto which the Early Neolithic dog genome from Germany was mapped, allowing for one more admixture event, and a seven-population graph with the lowest LL score was shown as the final model in the paper. Alternative six-population scaffolds were not explored in the original publication, although two six-population graphs with fits very similar to the best one were found. LL was not used as a ranking metric for alternative models in the original study; instead, the number of f4-statistics having residuals above 3 SE was considered. Since no f3-statistics were negative when all sites available for each population triplet were used (the ‘useallsnps: YES’ option), we did not use the upgraded algorithm for calculating f3-statistics on pseudo-haploid data.

Our findGraphs results confirm the published six-population graph in that no graph with lower LL score is identified, but 3 of 14 unique alternative graphs found fit not significantly worse than the published graph (the published graph was also recovered by findGraphs) (Table 1, Supplementary file 1). When we used findGraphs to infer seven-population graphs with three admixture events (again fixing Andean fox as the outgroup), we identified five graphs with LL score nominally better than that of the published graph and one with a score that is slightly lower than that of the published graph but actually significantly better according to our model comparison methodology (this model is very similar to the published graph, Figure 3—source data 1). In the newly found seven-population graph with the best LL score (Figure 3—source data 1), the Siberian (Baikal), American, and East Mediterranean dogs are admixed, and the West European, East European (Karelia), and dogs of Southeast Asian origin (New Guinea singing dog) are unadmixed, while the opposite pattern is found in the published graph (Table 2). The best-fitting graph does not fit the data significantly better than the published graph (two-tailed empirical p-value = 0.332), but it bears a closer resemblance to the human population history (see the third-best graph found by findGraphs on human data from Bergström et al., 2020 in Figure 3—source data 2) than the published seven-population graph (Figure 3a, Figure 3—source data 1).

In this new seven-population model (Figure 3a), both American and Siberian dog lineages represent a mixture between groups related to the Asian and East European dog lineages, and robust genetic results suggest that in the time horizon investigated in the original publication (after ca. 10,900 years ago) nearly all Siberian (Jeong et al., 2019; Sikora et al., 2019) and all American (Raghavan et al., 2014; Raghavan et al., 2015; Moreno-Mayar et al., 2018) human populations were admixed between groups most closely related to Europeans and Asians. According to this model, East Mediterranean dogs are modeled as a mixture of a basal branch (splitting deeper than the divergence of the Asian and European dogs) and West European dogs, again in agreement with current models of genetic history of West Asian human populations who are modeled as a mixture of ‘basal Eurasians’ and WHG (Lazaridis et al., 2016; Lipson et al., 2017). Although greater congruence with human history increases the plausibility of findGraph’s newly identified model relative to the published model, to make unbiased comparisons between the history of the two species, model selection should be done strictly independently for each species, and so the genetic data alone does not favor one model more than another. Our results provide a specific alternative hypothesis that differs in qualitatively important ways from the published model and can be tested against new genetic data as it becomes available as well as other lines of genetic analysis of existing data.

To explain why the original paper on the population history of dogs missed the model that findGraphs identified that is plausibly a closer match to the true history, we observe that the Bergström et al., 2020 AG search was exhaustive under the parsimony constraint (no more than twp admixture events for six populations), and thus missed the potentially true topology including three admixture events for these six populations. This case study also illustrates that even in a relatively low complexity context (seven groups and three admixture events) applying manual approaches for finding optimal models is risky. When any new group such as an Early Neolithic dog from Germany is added to the model, it may introduce crucial information into the system, and re-exploring the whole graph space in an automated way is advisable. In contrast, mapping a newly added group on a simple skeleton graph (even when that skeleton is a uniquely best-fitting model) may yield a topology that is at odds with the true history. As the original Bergström et al. paper noted (Figure 3C of that study), no congruent six-population graph models were found for humans and dogs under the parsimony assumption: the three most congruent graphs for dogs resulted in poorly fitting models for the corresponding human populations (WR above 10 SE), and the three most congruent graphs for humans resulted in poorly fitting models for the corresponding dog populations (WR between 5 and 10 SE). We added a WHG group to the set of human groups from the original publication and using findGraphs on the original set of 77 K transversion SNPs we found that the third best-fitting model for humans (Figure 3—source data 2) (which is not significantly different in fit from the first one) is nearly identical topologically to the newly found dog graph.

Even though findGraphs identified an AG topology that fits the data as well as the seven-population graph in Bergström et al. and is qualitatively quite different with respect to which populations were admixed, the new topology continues to support another of the key inferences of that study: that many of the early divergences among domesticated dog lineages occurred prior to the date of the Karelian dog (~10,900 ya). Thus, both graphs concur in providing strong evidence that the radiation of domesticated dog lineages occurred by the early Holocene, prior to the domestication of other animals. We further emphasize that the Bergström et al., 2020 graph is the best-case scenario (along with Lazaridis et al., 2014 discussed below) for published AGs. Most published graphs are far less stable even than this.

2. Lazaridis et al., 2014

The graph in Figure 3 (from Lazaridis et al., 2014) was inferred in the following manner. First, a phylogenetic tree without admixture was constructed which was the best fit for all f4-statistics among the populations ‘Mbuti’, ‘WHG Loschbour’ (Lazaridis et al., 2014), ‘LBK Stuttgart’ (Lazaridis et al., 2014), ‘Onge’, and ‘Karitiana’, with ‘Mbuti’ fixed as an outgroup. Next, all possible AGs were considered that result from adding a single admixture edge to this tree. After it was found that each of them had a WR > 3 SE, several graphs with two admixture events were considered, and some of them had WR < 3 SE. The ‘MA1’ genome (Raghavan et al., 2014) was added to these graphs in several different ways, and only one of these configurations was found to have WR < 3 SE. This was then used as a skeleton graph onto which a European population (represented by different present-day groups) was added. No fitting graph was found in which present-day Europeans could be modeled as a two-way mixture (adding one admixture event to the graph). After inspecting the non-fitting f-statistics of one of these graphs, it was found that modeling modern Europeans as a three-way mixture (adding two admixture events to the graph) is consistent with all f-statistics. Six f3-statistics were negative when all sites available for each population triplet were used (the ‘useallsnps: YES’ option, Supplementary file 1), but the upgraded algorithm for calculating f3-statistics on pseudo-haploid data had no effect since the only pseudo-haploid group in the dataset (MA1) was a singleton population, and the algorithm removes sites with only one chromosome genotyped in any non-singleton population. Thus, below we show results generated using the standard algorithm for calculating f-statistics.

First, we considered the published skeleton graph onto which a European population was later added (Lazaridis et al., 2014). As in the Bergström et al., 2020 example, the best six-population graph with two admixture events found by findGraphs is identical to the published six-population graph, which has an LL score of 3.0 (Supplementary file 1). The second-best graph found has an LL score of 31.8. When computing the bootstrap p-value for the difference between these two graphs, we find that in 1.6% of all SNP resamplings the second-best graph has a better score than the published graph, resulting in a two-tailed empirical p-value of 0.032 for a difference in fits between these two graphs. All 14 alternative graphs found by our algorithm fit significantly worse than the published graph (Supplementary file 1).

When we add the European population (French) and consider seven-population graphs with four admixture events, we find 40 out of 306 distinct graphs with a score better than that of the published graph (10 of those graphs are shown in Figure 3—source data 3). The best-fitting newly found model and two other models fit the data significantly better than the published model (Supplementary file 1), but their topology is qualitatively very similar to that of the published graph (Figure 3—source data 3). In the best-fitting newly found model, French and Karitiana share some drift to the exclusion of MA1, while in the published model the source of MA1-related ancestry in French is closer to MA1 than to Karitiana.

It is important to point out that not all of the 40 alternative graphs that fit nominally or significantly better than the published one are consistent with the conclusion that modern European populations are admixed between three different ancestral populations (Figure 3—source data 3). For example, the fifth alternative graph in Figure 3—source data 3 that is fitting nominally better than the published model (p-value = 0.464) includes no basal Eurasian ancestry in EEF (LBK Stuttgart), and instead models Onge as having ~50% West Eurasian-related ancestry and MA1 as having ~25% Asian ancestry. According to that graph, the present-day European population was formed by admixture of an MA1-related lineage and a European Neolithic-related lineage, with no West European hunter–gatherer (WHG) contribution. Of course, other lines of evidence make it clear that LBK Stuttgart is a mixture of Anatolian farmer-related ancestry and WHG Loschbour-related ancestry (Lazaridis et al., 2016; Lipson et al., 2017), thus providing external information in favor of the Lazaridis et al., 2014 model, and the use of such ancillary information in concert with graph exploration is important in order to obtain more confident inferences about population history taking advantage of AGs.

The second alternative graph in Figure 3—source data 3 that fits just negligibly worse than the highest-ranking model has another distinctive feature: LBK Stuttgart is modeled as a mixture of a WHG-related and a basal Eurasian lineage, but modern Europeans receive a gene flow not from the LBK-related lineage, but from its basal Eurasian source. Although temporally plausible, this model is much less plausible from the archaeological point of view than the published model, and thus in this case too we can reject it as unlikely based on non-genetic evidence. We note, however, that a large group of newly found models (247 graphs) fits not significantly worse than the published one (Supplementary file 1), and those are topologically diverse. Thus, strictly speaking, the AG method on the given dataset cannot be used to prove that the published model is the only one fitting the data.

3. Shinde et al., 2019

The skeleton AG in the original study (Shinde et al., 2019) was constructed manually on the basis of an SNP set derived from the 1240K enrichment panel, and subsequently all possible branching orders (105) within the five-population Iranian farmer-related clade were tested. The published model (Figure 3 in that study) included 9 groups and 3 admixture events, but one group (Belt Cave Mesolithic) had a very high missing data rate, and as a result model fitting relied not just on the merged dataset which included 19,000 polymorphic sites without missing data across groups, but also on a dataset with approximately 470,000 sites that excluded the Belt Cave individual. The topological inferences were consistent for both analyses (Table S3 of that study). Following the approach of the published paper, we repeated findGraphs analysis both with and without the Belt Cave individual. Thus, we initially explored the following topology classes: 9 groups with 3 admixture events on ca. 19,000 polymorphic sites and 8 groups with 3 admixture events on ca. 470,000 sites (Supplementary file 1). The sample composition of the groups and the SNP dataset matched that in the original study. We summarize results across 4,000 independent iterations of the findGraphs algorithm for each topology class.

For the nine-population graph we found 89 models with LL nominally better than that of the published model (Supplementary file 1). For the eight-population graph, we found 61 nominally and 4 significantly better fitting models (Supplementary file 1), and their topological diversity was high (Figure 3—source data 4). We note that the following groups were admixed by default in the graph models compared in the original study: Hajji Firuz Neolithic (labeled ‘Chalcolithic’ in that study but the dates are Neolithic) and Tepe Hissar Chalcolithic were considered as mixtures of an Anatolian farmer-related lineage and an Iranian farmer-related lineage; Indus Periphery was considered as a mixture of an Andamanese-related lineage representing ancient South Indians (ASI) and an Iranian farmer-related lineage. However, calculation of negative ‘admixture’ f3-statistics for these target groups is impossible using the original dataset and the original model fitting algorithm for several reasons. First, the Indus Periphery group was represented by a single pseudo-haploid individual (I8726) from the ‘Indus Valley cline’ for whom the best-quality data were available. But direct calculation of ‘admixture’ f3-statistics for such a group as a target is impossible since its heterozygosity cannot be estimated. Second, as discussed above, in Classic ADMIXTOOLS it is impossible to apply a correction intended for accurate calculation of f3-statistics on pseudo-haploid data (the ‘inbreed: YES’ option) if there is at least one population composed of one individual only (a singleton population). Third, the original Hajji Firuz Neolithic group composed of five individuals included a family of three second- or third-degree relatives, and that artificially inflated the drift on the Hajji Firuz branch and made detecting a negative statistic f3(Hajji Firuz Neolithic; X, Y), even if present, highly unlikely. Indeed, no f3-statistic turned out to be nominally negative for the groups on the eight-population graph when statistics were calculated according to the original settings (we used settings equivalent to ‘useallsnps: NO’ and ‘inbreed: NO’ in classic ADMIXTOOLS, 470,389 polymorphic sites were available). Considering this fact, it is not surprising that our automated topology space search is not well constrained. The original study differed from ours since the constraints were introduced manually, but we wanted our topology search to be automatic and to explore a wider range of the parameter space.

In order to provide power to detect negative f3-statistics useful for constraining the model search, we (1) removed two members of the family from the Hajji Firuz Neolithic group, (2) extended the number of individuals and sites available for the Indus Periphery group by generating new shotgun-sequencing data for a previously published library (Narasimhan et al., 2019) derived from individual I8726 (see Supplementary file 2) and by adding published data for three other individuals from the Indus Valley cline (from Gonur in Turkmenistan and Shahr-i-Sokhta in Iran; Narasimhan et al., 2019; Shinde et al., 2019), (3) removed from other groups two individuals based on second to third degree relatedness, and (4) removed two individuals from other groups based on evidence of contamination with modern human DNA. All the changes to the dataset are shown in Supplementary file 3. In addition to these dataset adjustments, the new algorithm for calculating f-statistics makes it possible to compute negative f3-statistics on pseudo-haploid data, but at a cost of removing sites with only one chromosome genotyped in any non-singleton population (see Appendix 1). We eventually detected significantly negative ‘admixture’ f3-statistics f3(Tepe Hissar Chalcolithic; Ganj Dareh Neolithic, Anatolia Neolithic), f3(Indus Periphery; Ganj Dareh Neolithic, Onge), and other similar statistics for the same target groups. We also observed a nominally negative (Z-score = −0.6) statistic f3(Hajji Firuz Neolithic; Ganj Dareh Neolithic, Anatolia Neolithic), which is suggestive but does not by itself prove admixture in the recent history of the Hajji Firuz Neolithic group. For this updated analysis, 249,009 variable sites without missing data at the group level were available for the eight populations.

We repeated topology search with this set of f-statistics providing additional constraints, performing 4,000 runs of the findGraphs algorithm. The Mota ancient African individual was set as an outgroup and three admixture events were allowed in the eight-population graph. Among 4,000 resulting graphs (one from each findGraphs run), 144 were distinct topologically, and the published model was recovered in 13 runs of 4,000 (Supplementary file 1). Only four distinct topologies fitting nominally better than the published one were found, and those had LL scores almost identical to that of the published eight-population model (16.97 and 17.66 vs. 17.85). These four alternative models (Figure 3—source data 5b) shared all topologically important features of the published model (Figure 3—source data 5a). Five other topologies differed in important ways from the published one and emerged as fitting the data worse, but not significantly worse, than the published one (Figure 3—source data 5c): two-tailed empirical p-values reported by our bootstrap model comparison method ranged between 0.060 and 0.112. Three of these topologies included a trifurcation of Iranian farmer-related lineages leading to the Indus Periphery, Hajji Firuz Neolithic, and Ganj Dareh Neolithic groups. The other two topologies included Hajji Firuz Neolithic as an unadmixed Anatolian-related lineage. In both cases, the Indus Periphery group was modeled as receiving a gene flow from either the Onge lineage (a proxy for ASI) or a deep Asian lineage.

The finding that the predominant ancestry component of the Indus Periphery group was the most basal branch in the Iranian farmer clade was a prominent claim of the original study Shinde et al., 2019; for example, the abstract stated: ‘The Iranian-related ancestry in the IVC derives from a lineage leading to early Iranian farmers, herders, and hunter gatherers before their ancestors separated.’ Our finding that the Hajji Firuz Neolithic lineage may be as deep within the Iranian clade as the Indus Periphery lineage or may even diverge from the Anatolian branch shows that this statement cannot be confidently made based on AG analysis alone.

However, the findings we have described up to this point do not invalidate the broader conclusion that the AG modeling in Shinde et al. was used to support; namely (using the phrasing from the abstract) that the genetic data ‘contradict… the hypothesis that the shared ancestry between early Iranians and South Asians reflects a large-scale spread of western Iranian farmers east.’ This finding if correct is important, since it implies that the Iranian-related ancestry in the IVC (Indus Valley Civilization genetic grouping, which is the same group as IP), split from the Iranian-related ancestry in the first Iranian plateau farmers before the date of the Hajji Firuz farmers, who at ~8000 years ago are among the earliest people living on the Iranian plateau known to have grown West Asian crops. The ancient DNA record combined with radiocarbon dating evidence suggests that beginning around the time of the Hajji Firuz farmers, both West Asian domesticated plants such as wheat and barley, and Anatolian farmer-related admixture, began spreading eastward across the Iranian plateau. If the Iranian-related ancestry in IP was spread eastward into the Indus Valley across the Iranian plateau as part of the same agriculturally associated expansion—perhaps brought by people speaking Indo-European languages as well as introducing West Asian crops—then we would expect to see at least some of the Iranian-related ancestry in IP being a clade with that in Hajji Firuz relative to Ganj Dareh. The fact that we do not find any models compatible with this scenario is thus a potentially important finding. In summary, there are two reasons the genetic analyses we have reported up to this point continue to support the finding that the Iranian-related ancestry in IP is not a clade with the Iranian-related ancestry in Hajji Firuz (and Tepe Hissar) and thus is unlikely to reflect the same eastward movement of agriculturalists. First, in findGraphs analysis, all models specifying IP and Tepe Hissar and/or Hajji Firuz as a clade relative to Ganj Dareh were significantly worse-fitting that the published one. Instead, either the Iranian-related ancestry in IP definitively splits off first (the topology from Shinde et al.), or the branching order of the IP, Ganj Dareh, and the Hajji Firuz/Tepe Hissar lineages cannot be determined, or IP, Ganj Dareh, and Tepe Hissar are a clade relative to Hajji Firuz. In all these fitting topologies, the ~10,000-year-old radiocarbon date of the Ganj Dareh individuals sets a lower bound on the split time between IP and Hajji Firuz/Tepe Hissar, which is pre-agriculturalist. This suggests that the Iranian-related ancestry in IP is not due to an eastward agriculturalist expansion.

But in fact, the AG analysis reported above is not an adequate exploration of the problem. Although absolute fits of the best models found are good (WR = 2.5 SE), the parsimony constraint allowing only three admixture events precluded correct modeling of basal Eurasian ancestry shared by all West Asian groups (Lazaridis et al., 2016) or of the Indus Periphery group itself, for which a more complex 3-component admixture model was proposed (Narasimhan et al., 2019). Concerned that this oversimplification could be causing our search to miss important classes of models, we explored qpAdm models for the Indus Periphery group further, following the ‘distal’ protocol with ‘rotating’ outgroups outlined by Narasimhan et al., 2019 and using the dataset and outgroups (‘right’ populations) from that study. All sites available for analyses were used, following Narasimhan et al. (the ‘useallsnps: YES’ option). The combined Indus Periphery group we analyzed included seven individuals from Shahr-i-Sokhta and three individuals from Gonur (three individuals were removed from the Narasimhan et al., 2019 dataset due to potential contamination with modern human DNA and low coverage). We removed one individual from the Ganj Dareh Neolithic group as potentially contaminated, and one second- or third-degree relative was removed from the Anatolia Neolithic group, see the dataset composition in Supplementary file 4. We note that no ‘distal’ qpAdm models were tested for the combined Indus Periphery group by Narasimhan et al., 2019, and individuals from this group were modeled one by one (Table S82 from Narasimhan et al., 2019), which potentially reduced the sensitivity of the method.

A model ‘Indus Periphery = Ganj Dareh Neolithic + Onge (ASI)’ was strongly rejected for the Indus Periphery group of 10 individuals with a p-value = 2 × 10−15, and a model that was shown to be fitting for all Indus Periphery individuals modeled one by one by Narasimhan et al. (Ganj Dareh Neolithic + Onge (ASI) + West Siberian hunter–gatherers (WSHG)) was rejected for the grouped individuals with a p-value = 0.0044. In contrast, a model ‘Indus Periphery = Ganj Dareh Neolithic + Onge (ASI) + WSHG + Anatolia Neolithic’ was not rejected based on the p > 0.01 threshold used in Narasimhan et al. (the p-value was marginal but passing at 0.03) and produced plausible admixture proportions for all four sources that are confidently above zero: 53.2 ± 5.3%, 28.7 ± 2.1%, 10.5 ± 1.3%, and 7.7 ± 2.9%, respectively (Supplementary file 5). The same ‘distal’ model albeit with Anatolian Neolithic always in higher proportion was found as one of the simplest models (or the only simplest model) fitting the data for many other groups from Iran and Central Asia explored by Narasimhan et al., 2019: Aligrama2_IA (13% Anatolia Neolithic), Barikot_H (21%), BMAC (26%), Bustan_BA_o2 (15%), Butkara_H (24%), Saidu_Sharif_H_o (12%), Shahr_I_Sokhta_BA1 (19%), and SPGT (23%) (Supplementary file 5 gives a compendium of ‘distal’ modeling results by Narasimhan et al.). When we modeled Indus Periphery individuals separately, as in Narasimhan et al., 2019, the simplest two-component model ‘Ganj Dareh Neolithic + Onge (ASI)’ was rejected for 5 of 10 individuals (at least ~315,000 sites were genotyped per individual), including the individual I8726 used for the AG analysis in Shinde et al. (Supplementary file 6). The model ‘Ganj Dareh Neolithic + Onge (ASI)’ was not rejected only for individuals with fewer than 141,000 sites genotyped, suggesting that this result is attributed not to population heterogeneity, but to lack of power.

These qpAdm results show that the parsimony assumption that was made when constructing the AG analysis in Shinde et al., 2019 is contradicted by f-statistic evidence, and indeed Narasimhan et al. themselves showed this when they presented a distal qpAdm model that was more complex (Ganj Dareh Neolithic + Onge (ASI) + WSHG) than the one used for constraining the AG model comparison (Ganj Dareh Neolithic + Onge (ASI)). Another line of evidence used to support the principal historical conclusion by Shinde et al. was a series of f4-statistic cladality tests following correction of allele frequencies using an admixture model ‘target group = Iranian farmer + Anatolia Neolithic + Onge (ASI)’, with a great majority of tests supporting the deepest position of the Iranian farmer ancestry component in the Indus Periphery group within the Iranian farmer clade (Shinde et al., 2019). However, the model used for allele frequency correction (Ganj Dareh Neolithic + Onge (ASI) + Anatolia Neolithic) was simpler than the 4-component model we found and different from the 3-component model for the Indus Periphery group suggested by Narasimhan et al., 2019, which is a weakness of that analysis. A valuable direction for future work would be to repeat this analysis with a 4-component allele frequency correction model (Ganj Dareh Neolithic + Onge (ASI) + WSHG + Anatolia Neolithic), although that is beyond the scope of the present study, which simply aims to revisit the reported analyses and test if they fully support their inferences by ruling out alternative explanations.

To explore how the parsimony constraint influences results, we allowed four admixture events in the eight-population graph (Supplementary file 1). Among 4,000 resulting graphs (one from each findGraphs run), 443 were distinct topologically, and 270 had WRs between 2 and 3 SE, that is, fitted the data well. We explored 35 topologies with LL scores in a narrow range between 9.3 (the best value) and 13.3. In Figure 3—source data 6, we show four graphs with four admixture events that model the Indus Periphery group as a mixture of three or four sources, with a significant fraction of its ancestry derived from the Hajji Firuz Neolithic or Tepe Hissar Chalcolithic lineages including both Iranian and Anatolian ancestries. The fits of these models are just slightly different (e.g., LL = 11.7 vs 9.3, both WRs = 2.4 SE) from that of the best-fitting model (Figure 3—source data 6), and similar to that of the published graph. Besides these four illustrative graphs, dozens of topologies with very different models for the Indus Periphery group fit the data approximately equally well, suggesting that there is no useful signal in this type of AG analysis when the parsimony constraint is relaxed (this finding is similar to that in our re-analysis of the dog AG in Bergström et al., 2020, where relaxation of the parsimony constraint identified equally well-fitting AGs that were very different with regard to their inferences about population history). These results show that at least with regard to the AG analysis, a key historical conclusion of the study (that the predominant genetic component in the Indus Periphery lineage diverged from the Iranian clade prior to the date of the Ganj Dareh Neolithic group at ca. 10 kya and thus prior to the arrival of West Asian crops and Anatolian genetics in Iran) depends on the parsimony assumption, but the preference for three admixture events instead of four is hard to justify based on archaeological or other arguments.

Why did the Shinde et al., 2019 AG analysis find support for the IP Iranian-related lineage being the first to split, while our findGraphs analysis did not? Shinde et al., 2019 study sought to carry out a systematic exploration of the AG space in the same spirit as findGraphs—one of only a few papers in the literature where there has been an attempt to do so—and thus this qualitative difference in findings is notable. We hypothesize that the inconsistency reflects the fact that the deeply diverging WSHG-related ancestry (Narasimhan et al., 2019) present in the IVC (Indus Valley Civilization genetic grouping, which is the same group as Indus Periphery) at a level of ca. 10% was not taken into account explicitly neither in the AG analysis nor in the admixture-corrected f4-symmetry tests also reported in Shinde et al., 2019. The difference in qualitative conclusions may also reflect the fact that the Shinde et al. study was distinguishing between fitting models relying on a LL difference threshold of 4 units (based on the AIC). As discussed in Appendix 1, AIC is not applicable to AGs where the number of independent model parameters is topology dependent even if the numbers of groups and admixture events are fixed, and models compared with AIC should have the same number of parameters. Thus, the analysis by Shinde et al. was over-optimistic about being able to reject models that were in fact plausible using its AG fitting setup.

The archaeological and linguistic implications of the Shinde et al. study are important, and there are several avenues available for further attempting to distinguish historical scenarios using f-statistics that are outside the scope of a methodological study like this one. Some of our observations that are most challenging for the conclusions of Shinde et al. are those related to the graphs with four admixture events in Figure 3—source data 6b that fit the Iranian farmer-related ancestry in the Indus Periphery group as deriving partially from the Hajji Firuz Neolithic or Tepe Hissar Chalcolithic-related lineages. The qpAdm method (Haak et al., 2015, Harney et al., 2021) is able to use information from distal outgroups (such as WSHG) not included in the AG modeling exercise revisited here. Leveraging this information might be able to obtain constraints that would further test the key historical conclusions from Shinde et al. Non-f-statistic-based methods could also be informative. Finally, we emphasize that the f4-statistic cladality tests correcting for the Anatolian farmer- and Onge-related admixture in the Indus Periphery grouping do continue to provide support for the historical conclusion of Shinde et al. (these analyses reject models where the Tepe Hissar or Hajji Firuz groups share genetic drift with the Indus Periphery individuals), with the caveat that they do not correct for the WSHG admixture.

4.Librado et al., 2021

In contrast to the other studies revisited in our work, the AG published by Librado et al., 2021was inferred automatically using OrientAGraph. Models with three (Figure 3b in that study) and zero to five (Ext. Data Fig. 5a-d in that study) admixture events were shown. The dataset included 10 populations (nine horse populations and donkey as an outgroup) and was based on 7.4 million polymorphic transversion sites with no missing data at the group level. We observed that some groups used for the OrientAGraph and qpAdm analyses were very broad geographically and temporally (see Table S1 in the original study), and thus we tested two alternative group compositions: the original one and a streamlined one. In the latter case we included individuals from one archaeological site and one archaeological period per group: the Botai, C-PONT, DOM2, ELEN, and NEO-ANA groups were modified in this way, and the CWC, LP-SFR, Tarpan, and TURG groups were left with the composition used in the original paper (Supplementary file 7). In addition, seven individuals with missing data proportion exceeding 80% were removed from the analysis, affecting the donkey outgroup, DOM2, and NEO-ANA groups (Supplementary file 7). Since among all possible f3-statistics for the 10 populations three were negative (using all sites available for each population triplet, ‘useallsnps: YES’), we applied the upgraded algorithm for calculating f-statistics, which removed sites with only one chromosome genotyped in any non-singleton population, resulting in the following site counts for the original and modified population compositions: 11,092 and 1,767,419 sites, respectively. The very low number of sites available in the former case is due to the fact that all individuals are pseudo-haploid, and that two groups (the donkey outgroup and NEO_ANA) are composed of two individuals, a high-coverage one and a low-coverage one. Thus, just sites genotyped in both donkey individuals and in both NEO_ANA individuals were kept. Considering this problem, we focused on the modified group composition only. We tested a range of model complexities (from 3 to 9 gene flows) and performed 1,000 findGraphs topology search runs per model complexity class.

Unlike all the other AGs we re-evaluate in this study whose fits to the data were evaluated in the published studies using qpGraph, the topologies published in Librado et al., 2021 (with three to five admixture events) were not evaluated for statistical goodness-of-fit, and in fact fit the f-statistic data so poorly that even simple statistics show they cannot be correct (Figure 3b, Figure 3—source data 7a, c, e, Supplementary file 1). In this case, the approach of using findGraphs to identify alternative topologies with the same number of admixture events that fit the data better is meaningless, as both the published models and the alternative models do not have enough degrees of freedom to accommodate the complexity present in the real data; all models are guaranteed to be wrong. In particular, we found that WR of the published model with three admixture events is 23.9 SE (Figure 3—source data 7a). In this complexity class findGraphs found 22 topologically diverse models that fit significantly better than the published one (Table 1, Supplementary file 1), but nevertheless have extremely poor absolute fits (from 16.2 to 21.3 SE, see a temporally plausible example in Figure 3—source data 7b). In the complexity class with four admixture events, no model fitting better than the published one was found; however, five alternative models fitting not significantly worse than the published one had lower WR (10 or 12 SE vs. 14.1 SE, Figure 3—source data 7d). The WR of the published model with five admixture events was 6.9 SE (Figure 3—source data 7e); just two models fitting nominally better and 223 models fitting non-significantly worse than the published model and having similar or higher WR were found (Table 1, Supplementary file 1). These results suggest that while OrientAGraph was often (but not always) able to find the same tentative global likelihood optimum as findGraphs, neither three nor five admixture events are enough to explain the data since nearly all the groups are probably admixed.

For this reason, we moved to topology searches in more complex model spaces incorporating six to nine admixture events. Temporally plausible models with even a modest fit (WR between 3 and 4 SE) were encountered only among models with eight and nine admixture events (Figure 3—source data 7j-r). In the complexity class with eight admixture events, five such temporally plausible fitting models were found, with WRs ranging from 3.4 to 3.9 SE (all these models are shown in Figure 3—source data 7j-l). In the complexity class with 9 admixture events, 11 such models were found, with WRs ranging from 3.4 to 4.0 SE (all these models are shown in Figure 3—source data 7m-r).

Librado et al., 2021 discussed the following inferences relying fully or partially on their published AGs reported in that study (Table 2): (1) NEO-ANA-related admixture is absent in DOM2; (2) DOM2 and C-PONT are sister groups (they form a clade); (3) there is no gene flow connecting the CWC group and the cluster associated with Yamnaya horses and horses of the later Sintashta culture whose ancestry is maximized in the Western Steppe (DOM2, C-PONT, TURG); (4) there was gene flow from a deep-branching ghost group to NEO-ANA; and (5) Tarpan is a mixture of a CWC-related and a DOM2-related lineage.

The simplest temporally plausible and best-fitting (WR = 3.4 SE) model we found (modified group composition, eight admixture events; see Figure 3b and the second model in Figure 3—source data 7j) supports inferences 2 and 4, and is incompatible with inferences 1, 3, and 5 (Table 2). This newly found model can be interpreted as follows. There is a trifurcation of three deep lineages: a lineage maximized in Western and Central Europe (up to 100% of ancestry in a Late Paleolithic group from France, LP_SFR), a Western-Steppe-specific lineage (up to 55% in TURG), and a Tarpan-specific lineage (22% in Tarpan). Western and Central European horses, represented by LP-SFR, by the majority ancestry in horses found in the Corded Ware culture context (CWC), and by the majority ancestry in wild Neolithic Anatolian horses (NEO_ANA), contributed about half of the ancestry in the Western Steppe groups TURG, C-PONT, and DOM2. The other half of ancestry in the Western Steppe groups is represented by the Western Steppe-specific lineage. That lineage also contributed about 50% of ancestry in wild horses from the Yana Upper Paleolithic site (ELEN), and the other half of ELEN’s ancestry is derived from an even deeper lineage. The Botai group is modeled as a mixture of European horses (69%) and Siberian horses (31% ELEN-related ancestry). In contrast to Librado et al., 2021, Tarpan is modeled as a mixture of its specific lineage (22%) and a DOM2-related group (78%), and CWC also received ancestry (21%) from a DOM2-related group. All the populations included in the model except for LP_SFR are admixed, and there is evidence of substantial genetic influence from a lineage that was eventually maximized in the Western Steppe (although it did not necessarily originate there) in the ELEN and Botai groups. We consider this model to be plausible from both temporal and geographical perspectives.

We are not arguing here that our eight-admixture-event model represents the true history; in fact, it is highly unlikely to be entirely true, given how large the space of all possible admixture events is and how much admixture evidently occurred relating all these groups (which makes finding the unique truly fitting model extremely unlikely based on f-statistic fitting, see the results on simulated data in Figure 1 and Appendix 1—figure 2b). We have also not attempted in any way to replicate the AG exploration procedure performed in the Librado et al., 2021. study; the graph fitting procedure was quite different from ours, based on OrientAGraph optimization rather than findGraphs optimization, and a Block Jackknife procedure with a different genome block size for determining standard errors (4 Mbp in our protocol and ca. 500 kbp in the Librado et al., 2021. study). Regardless of how the graph was obtained, it is valuable for providing readers with guidance about which topological features of the graphs are meaningful and stable, and which are less certain, especially—as in the case of the AG presented in the paper—when some features of the presented model do not fit the data by a wide margin, as evident by the WR of 6.9 in the published model for five admixture events. Our set of 16 temporally plausible and fitting (WR < 4 SE) models with eight or nine admixture events (Figure 3—source data 7j–r) is consistent with some features of the published graph being stable: the features (2) that DOM2 and C-PONT are sister groups, and (4) that there was a gene flow from a deep-branching ghost group to NEO-ANA (Table 2).

Equally important, however, is our finding that there are plausible models that are inconsistent with other inferences in Librado et al., 2021. (Table 2). For example, 13 of these 16 models are inconsistent with the suggestion that there was no gene flow connecting the CWC group and the cluster maximized in the Western steppe (DOM2, C-PONT, and TURG) (Figure 3—source data 7j–r). In the eight-admixture-event best-fitting plausible model (Figure 3b and the second model in Figure 3—source data 7j), CWC actually derives appreciable ancestry from the early domestic horse lineage (DOM2) associated with the Sintashta culture to the exclusion of the more distant Yamnaya-associated TURG and C_PONT horses. This scenario presents a parallel to the one observed in humans, with individuals associated with the CWC receiving admixture from Steppe pastoralists albeit in different proportions: ~75% for humans, versus ~20% in horses. These models specifying a substantial Steppe horse contribution to CWC horses would weaken support for the inference in Librado et al., 2021. that ‘Our results reject the commonly held association between horseback riding and the massive expansion of Yamnaya steppe pastoralists into Europe around 3000 BC.’ We are not aware of other lines of evidence in the paper (apart from the fitted AG) that support the claim of no Yamnaya horse impact on CWC horses.

Another example of a feature of the published graph that turned out to be unstable is the model for the Tarpan horse. Only 8 of 16 temporally plausible and fitting models (Figure 3—source data 7j–r) support the conclusion by Librado et al., 2021. that the Tarpan is a mixture of a DOM2-related and a CWC-related lineage. The other 8 models suggest that Tarpan is a mixture of a deep lineage and a DOM2-related lineage (Figure 3b and the second model in Figure 3—source data 7j), echoing a hypothesis that Tarpan may be a hybrid with the Przewalski horse lineage not represented in the AG (Librado et al., 2021).

Again, we are not arguing here that our fitting alternative model is right—indeed we are nearly certain it is wrong in important aspects—but we are merely pointing out that the complexity of the AG space means that qualitatively quite different conclusions are compatible with the genetic data. Other aspects of the Librado et al., 2021. study, most notably the dramatic geographic expansion of the DOM2 modern domestic horse lineage after 4000 years ago in association with the Sintashta culture which is the most extraordinary finding of Librado et al., 2021., are in no way challenged by our results.

5. Hajdinjak et al., 2021

The AG inferred by Hajdinjak et al. was constructed manually on the basis of an SNP set derived from in-solution enrichment of two SNP panels (1240K and a further million of transversion polymorphisms discovered as polymorphic within one or two sub-Saharan African individuals or among archaic humans) and incorporated 11 groups and 8 admixture events (Figure 2d in the original study). The published graph has no clear outgroup since the deepest branch (Denisovan) is admixed. This property of the graph makes automated graph space exploration difficult. We explored two topology classes: (1) 11 groups with 8 admixture events, the original SNP set, Denisovan assigned as an outgroup only at the stage of generating random starting graphs (gene flows to/from the Denisovan branch were allowed at the topology optimization step); and (2) 12 groups with 8 admixture events, chimpanzee added and the original SNP set changed due to the zero missing rate condition, and chimpanzee assigned as an outgroup at both algorithm stages (Supplementary file 1). For both graph complexity classes, two topology search settings were tested: (1) either no additional constraints were applied beyond the outgroup constraints described above, or (2) the Vindija Neanderthal and Mbuti were allowed to have no admixture events in their history, and the Denisovan lineage was allowed to have up to one admixture event in its history (these constraints were in line with the model in the original study and with literature on the genetic history of archaic humans, e.g., Prüfer et al., 2014). The composition of the groups matched that in the original study, as did the parameter settings for qpGraph, with the exception of ‘least squares mode’, which was used in the original study, but not in our analysis. ‘Least squares mode’ computes LL scores without taking into account the f-statistic covariance matrix, and we confirmed that changing this parameter does not qualitatively change our results. Since no f3-statistics were negative when all sites available for each population triplet were used (the ‘useallsnps: YES’ option), we did not use the upgraded algorithm for calculating f3-statistics on pseudo-haploid data. We summarize results across 2,000–4,000 independent runs of the findGraphs algorithm (Supplementary file 1).

When chimpanzee was not included into the analysis and no topology constraints were applied, nearly all newly found models turned out to be distinct (3,996 of 4,000), nearly all (96.8%) fit nominally better and 15.9% fit significantly better than the published model (Supplementary file 1), and absolute fits of 91.3% of novel models are good (WR < 3 SE). Similar results were obtained when the topology search algorithm was constrained: nearly all (89.5%) of 1,999 newly found models fit nominally better and 26% fit significantly better than the published model (Supplementary file 1).

When chimpanzee was set as an outgroup and no topology constraints were applied, the picture remained similar. Nearly all newly found models turned out to be distinct (1,996 of 2,000), and a very large fraction of them (56.8%) fit significantly better than the published model (Supplementary file 1); 16.4% of novel models demonstrated WR < 3 SE. Similar results were obtained when the topology search algorithm was constrained: most (71.4%) newly found models fit nominally better and 15.7% fit significantly better than the published model (Table 1, Supplementary file 1, Figure 2), which has a poor absolute fit on this set of sites and groups (WR = 4.8 SE, Figure 3c, Figure 3—source data 8). The statistics described above and the fact that LL scores on all sites lie outside of the LL distribution on resampled datasets (Figure 2) suggest that models in this complexity class are overfitted, but the published topology emerged as fitting relatively poorly.

Overfitting arises naturally during manual graph construction as performed in many studies (not only in Hajdinjak et al., 2021, but also in, e.g., Fu et al., 2016; Skoglund et al., 2016; Yang et al., 2017; Posth et al., 2018; McColl et al., 2018; Moreno-Mayar et al., 2018; Tambets et al., 2018; van de Loosdrecht et al., 2018; Flegontov et al., 2019; Sikora et al., 2019; Wang et al., 2019; Lipson et al., 2020b; Shinde et al., 2019; Yang et al., 2020; Wang et al., 2021). The graph grew one group at a time, and each newly added group was mapped on to the pre-existing skeleton graph as unadmixed or as a two-way mixture. This imposed constraints on the model-building process. Another constraint imposed was the requirement that all intermediate graphs have good absolute fits (WR below 3 or 4 SE). When the model-building process is constrained in a particular path and fits of all intermediates are required to be good, unnecessary admixture events are often added along the way, and the resulting graph belongs to a complexity class in which models are overfitted and many alternative models fit equally well. There is no single obviously correct order of adding branches to a growing graph. For example, the Kostenki and Sunghir lineages were included into the initial graph (Fig. S6.1 in the original study) as unadmixed lineages, and their admixture status was not revisited at subsequent steps (unlike that of Tianyuan and Ust’-Ishim), except for adding the archaic gene flow common for non-Africans. For that reason, the published graph differs from many alternative better-fitting and temporally plausible graphs where the Kostenki and Sunghir lineages are modeled as more complex mixtures (Figure 3—source data 8).

Hajdinjak et al., 2021’s published graph had the following notable features that were interpreted by the authors and used to support some conclusions of the study (Table 2): (1) there are gene flows from the lineage found in the ~45,000- to 43,000-year-old Bacho Kiro Initial Upper Paleolithic (IUP) individuals to the Ust’-Ishim, Tianyuan, and GoyetQ116-1 lineages; (2) the ~35,000-year-old Bacho Kiro Cave individual BK1653 belonged to a population that was related, but not identical, to that of the GoyetQ116-1 individual; and (3) the Vestonice16 lineage is a mixture of a Sunghir-related and a BK1653-related lineage. To assess if these features are supported by our re-analysis, we focused on our most constrained findGraphs run: with chimpanzee set as an outgroup and with the topology constraints applied at the topology search step. We identified 1,421 topologies fitting nominally or significantly better than the published model and satisfying the constraints and moved on to inspect 50 best-fitting topologies for temporal plausibility (all of them fitting significantly better than the published model). All non-African individuals included in the model are Upper Paleolithic and their dates are not drastically different in relative terms: from ca. 45 kya (thousand years before present) for some Bacho Kiro IUP individuals (Hajdinjak et al., 2021) to ca. 30 kya for the Vestonice16 individual (Fu et al., 2016). Nevertheless, we considered most gene flows from later- to earlier-attested lineages as temporally implausible (for instance, GoyetQ116-1 (~35 kya) → Ust’-Ishim (~44 kya), GoyetQ116-1 (35 kya) → Bacho Kiro IUP (45–43 kya), Kostenki14 (38 kya) → Ust’-Ishim (44 kya), Sunghir III (34.5 kya) → Tianyuan (40 kya), Vestonice16 (30 kya) → Tianyuan (40 kya)) since they imply great antiquity of the later-attested lineages, for example, >40 kya for the Vestonice16 lineage, and even greater antiquity for the related lineages such as Sunghir III and Kostenki14.

Of the 50 topologies inspected, 32 were considered temporally plausible. Of those topologies, none supported feature 1 of the published AG (there is no replication of the finding of gene flows from the Bacho Kiro IUP lineage specifically to all three of the Ust’-Ishim, Tianyuan, and GoyetQ116-1 lineages). One topology supported features 2 and 3, and partially supported feature 1 (there was Bacho Kiro → GoyetQ116-1 gene flow, but no Bacho Kiro → Tianyuan and Bacho Kiro → Ust’-Ishim gene flows). A total of 17 topologies supported features 2 and 3 but were inconsistent with feature 1; and 14 topologies supported feature 3 only (Table 2). Best-fitting representatives of each of these topology classes are shown along with the published model in Figure 3—source data 8. Considering topological diversity among models that are temporally plausible, conform to current knowledge about relationships between modern and archaic humans, and fit significantly better than the published model, we conclude that feature 3 is probably robust but other details of the fitted AG in Hajdinjak et al. (Figure 2d of that study)—for example, gene flows to the Ust’-Ishim, Tianyuan and Goyet Q116-1 lineages from sources sharing drift exclusively with the Upper Paleolithic Bacho Kiro lineage—should not be interpreted as providing meaningful inferences about population history of Upper Paleolithic modern humans. For example, the upper right-hand alternative model plotted in Figure 3—source data 8c supports features 2 and 3 but includes no gene flows from the Bacho Kiro IUP lineage.

A central finding of Hajdinjak et al. is that the Bacho Kiro IUP group shares more alleles with present-day East Asians than with Upper Paleolithic Holocene Europeans despite coming from Europe. Specifically, the study documents significantly positive statistics of the form D(an Asian group, Kostenki14; Bacho Kiro IUP, Mbuti) (Figure 2b and Extended Data Figure 5 in the original study). For example, D(Tianyuan, Kostenki14; Bacho Kiro IUP, Mbuti) is significantly positive (D = 0.0032, SE = 0.0010, Z = 3.2) on the dataset used for testing the 12-population graphs (263,698 sites without missing data across all 12 groups). The same statistic is also significantly positive (D = 0.0029, SE = 0.0006, Z = 4.4) when all 1,312,292 non-missing sites in the population quadruplet are analyzed. Hajdinjak et al.’s interpretation of this observation, using the language from the abstract, is that ‘there was at least some continuity between the earliest modern humans in Europe [Bacho Kiro IUP] and later people in Eurasia [East Asians]’.

However, a significant D-statistic can have multiple explanations. The statistic f4(Tianyuan, Kostenki14; Bacho Kiro IUP, Mbuti) is fitted equally well by the published 12-population AG (Z-score for the difference between the observed and fitted statistics = 0.64) and by, for example, the lower left-hand graph in Figure 3—source data 8c (Z-score = 0.94) reproduced in Figure 3c. Under the latter model that fits the data significantly better than the published model (p-value = 0.02), the Bacho Kiro IUP and Tianyuan branches are not connected by a gene flow and do not receive gene flows from a third common source, but the common ancestor of Ust’-Ishim and all European Paleolithic lineages receives an 8% gene flow from a divergent modern human lineage splitting deeper than Bacho Kiro IUP and Tianyuan (Figure 3c, Figure 3—source data 8c). This scenario or some version of it seems archaeologically and geographically plausible and is not disproven by any other line of genetic or non-genetic evidence of which we are aware. It could correspond to a scenario where a primary modern human expansion out of West Asia contributed serially to the major lineages leading to Bacho Kiro, then later East Asians, then Ust’-Ishim, and finally the primary ancestry in later European hunter–gatherers. This has a very different interpretation from the scenario of distinctive shared ancestry between the earliest modern humans in Europe such as Bacho Kiro IUP and later people in East Asia—to the exclusion of later European hunter–gatherers—that is suggested by the Hajdinjak et al. published graph.

We are not claiming that this specific alternative model is correct—indeed, it is almost certainly not the correct one given the topological complexity of the set of all AGs consistent with the data—but the existence of it and many other models that fit the data makes it clear that we do not yet have a unique historical explanation for the excess sharing of alleles that has been documented between some Upper Paleolithic European groups (Bacho Kiro IUP, Hajdinjak et al., 2021 GoyetQ116-1, Yang et al., 2017 and Hajdinjak et al., 2021) and all East Asians.

6. Lipson et al., 2020b

The AG in the original study (Lipson et al., 2020b) was constructed manually based on an SNP set derived from the 1240K enrichment panel, and the final model was alternatively tested on the combined Human Origins subpanels 4 and 5 (each ascertained on one African individual) or on sites ascertained as polymorphic in archaic humans. The final published model (Extended Data Figure 4 in that study) is very complex (12 groups and 12 admixture events): it exists in a space of ~1044 topologies of this complexity. We note that one admixture event was added by Lipson et al., 2020b to account for potential modern DNA contamination in ancient Shum Laka individuals, and removing it caused a negligible difference in the fit of the published model (Supplementary file 1). Thus, to decrease the complexity of the graph search space, we considered graphs with 12 groups and 11 admixture events. Twenty-two f3-statistics for these 12 groups turned out to be negative (when the ‘useallsnps: YES’ setting was used), and thus for exploring this graph complexity class we had to remove sites with only one chromosome genotyped in any non-singleton population (Supplementary file 1). The following constraints were applied during the topology search: chimpanzee was assigned as an outgroup at both stages of the process (while generating random starting graphs and while searching the topology space); Altai Neanderthal was required to be unadmixed; and non-Africans (French) were required to have at least one admixture event in their history. The composition of the groups we analyzed matched that in the original study. We summarize results across 2,000 independent iterations of the findGraphs algorithm.

All newly found models turned out to be distinct (2,000), and 11.9% fit nominally (but not significantly) better than the published model (Table 1, Supplementary file 1, Figure 2). Absolute fits of 36.7% of novel models are good (WR < 3 SE). Fits of the highest-ranking model and the published model are not significantly different according to the bootstrap model comparison method (p-value = 0.176). These metrics, along with the fact that LL scores on all sites lie outside of the LL distribution on resampled datasets (Figure 2), suggest that models in this complexity class, including the published model, are overfitted. Of the AGs we re-evaluate in this study, Lipson et al., 2020b shares with Hajdinjak et al., 2021, Sikora et al., 2019, and Wang et al., 2021 evidence of being overfitted (Figure 2).

We also wanted to check if overfitting would be found in the graph complexity classes corresponding to two simpler intermediate graphs from the original study (Supplementary file 1): 7 groups and 4 admixture events (Figure S3.24 in that study) and 10 groups and 8 admixture events (Figure S3.25 in that study). The population composition of the dataset we used for this analysis was slightly different from the dataset used by Lipson et al.: the ancient South African hunter–gatherer group was replaced by a related group (present-day Juǀʼhoan North), and instead of the Shum Laka ancient group, only one high-coverage individual from the same group (I10871) was used. We summarize results across 2,000 or 10,000 independent findGraphs runs for each SNP set, for the small and large graphs, respectively. For 7 groups, we found 201 novel topologies fitting better than the published one, and for 10 groups we found nearly 9,000 such topologies (Supplementary file 1). In the latter case, 6.8% of newly found topologies fit significantly better than the published topology. For the more complex graph class with 10 groups and 8 admixture events we also found evidence of overfitting: the LL score of the published graph run on the full data is better than almost all the bootstrap replicates on the same data (it falls below the 5th percentile).

Below we discuss selected prominent features of the AG published in the original study (that were interpreted by the authors and used to support some conclusions of the study) and the extent to which these features consistently replicate across the large number of fitting 12-population graphs with 11 admixture events (Table 2): (1) A lineage maximized in present-day West African groups (Lemande, Mende, and Yoruba) also contributed some ancestry to the ancient Shum Laka individual and to present-day Biaka and Mbuti; (2) another ancestry component in Shum Laka is a deep-branching lineage maximized in the rainforest hunter–gatherers Biaka and Mbuti; (3) ‘super-archaic’ ancestry (i.e., diverging at the modern human/Neanderthal split point or deeper) contributed to Biaka, Mbuti, Shum Laka, Lemande, Mende, and Yoruba; and (4) a ghost modern human lineage (or lineages) contributed to Agaw, Mota, Biaka, Mbuti, Shum Laka, Lemande, Mende, and Yoruba. We identified 232 12-population topologies that fit nominally better than the published one, 34 best-fitting topologies (of 232) were manually assessed for temporal plausibility, and we focus on 30 topologies identified as temporally plausible and including a low-level Neanderthal contribution (≤10%) in non-Africans (French). These 30 topologies are shown along with the published model in Figure 4—source data 1.

In this set of alternative models, high topological diversity is observed (see an example in Figure 4a and further topologies in Figure 4—source data 1). We classified the topologies as follows. If an ancestral lineage defined above (for example, a deep-branching lineage maximized in rainforest hunter–gatherers Biaka and Mbuti) exists in the graph, we compared the sets of populations where it is found in the published model and in the model examined. If there was no more than one population where the ancestry is expected according to the published model but not present, or present but not expected, we considered this feature of the published graph supported by the alternative graph. If no ancestral lineage meets the definition above, the feature of the published graph was considered not supported. In all other cases, partial support for the feature was declared (Figure 4—source data 1). Considering extreme cases, two alternative graphs completely lacked support for three features of the published graph (Figure 4a, Figure 4—source data 1c), and one graph supported all four features of the published graph fully (Figure 4—source data 1q, the second model). There are some graphs where defining two distinct ancestral lineages maximized in West Africans and in Mbuti and Biaka (features 1 and 2) is essentially impossible since all or nearly all Africans are modeled as a mixture of at least two deep lineages (see the second model in Figure 4—source data 1d). In some graphs, there is no single lineage specific to rainforest hunter–gatherers (Biaka, Mbuti, and Shum Laka) since the primary ancestries in these groups form independent deep branches in the African graph (see Figure 4a and the second model in Figure 4—source data 1j). The ghost modern and super-archaic gene flows to Africans also had no universal support in the set of alternative graphs we examined (see, e.g, Figure 4a and Figure 4—source data 1c).

Considering the high degree of topological diversity among models that are temporally plausible, conform to known findings about relationships between modern and archaic humans, and fit nominally better than the published model, we conclude that all the four AG features from the original study are not supported by our re-analysis (Table 2). As in the case study above, the published manually constructed model is a representative of a large class of models that are equally well fitting to the limits of our resolution. This situation may be attributed to (1) overfitting and/or to (2) the lack of information in the dataset (in the combination of groups and SNP sites) and/or to (3) inherent limitations of f-statistics, when distinct topologies predict identical f-statistics.

In reconsidering the findings of Lipson et al., 2020b it is important to keep in mind that analysis of allele frequency correlation statistics is not the only type of information that can be used to make inferences about population relationships in deep time. Other methodologies have provided important insights into deep African population history, and the model building in Lipson et al., 2020b was guided in an informal way by these other lines of evidence. For example, unknown archaic lineages admixing into some African populations were hypothesized through identification of deeply splitting haplotypes that are too long to have been freely mixing with other haplotypes in present-day populations for all of their history (Hammer et al., 2011; Lachance et al., 2012; Speidel et al., 2019). Similarly, analysis of haplotype divergence times of pairs of populations has been used to provide evidence of an early radiation of modern human lineages maximized today in southern African hunter–gatherers, Mbuti rainforest hunter–gatherers, and the great majority of other present-day populations; and a later split of lineages related to East African hunter–gatherers, West African agriculturalists, and non-Africans, which is a feature of the Lipson et al. model (Campbell and Tishkoff, 2008; Mallick et al., 2016). Notably, some alternative models we found do not contradict the above-mentioned results and are profoundly different from the published model at the same time (see, e.g., Figure 4a). These constraints are not enough, however, to provide evidence for all the topological details of the Lipson et al., 2020b AG highlighted in this section, or for other features of the Lipson et al., 2020b AG that were not invoked in the previous literature and newly proposed in that study, such as the ‘ghost modern’ lineage splitting around the same time as the lineages leading to southern African hunter–gatherers and central African rainforest hunter–gatherers and mixing in highest proportion to Ethiopian hunter–gatherers and to a lesser proportion to West Africans, and the ‘basal West African’ lineage that contributes uniquely to Shum Laka. Many of the models that emerged as good fits in our AG-building exercise as the published one did not share some of these features (Figure 4—source data 1).

The high diversity of well-fitting AG models that satisfy known constraints relating diverse African populations highlights the need for further research based on multiple lines of genetic analysis (in addition to allele frequency correlation patterns) to obtain further insights into deep African history. Our results particularly highlight the mystery around the highly distinctive genetic ancestry of the Shum Laka individuals themselves, who represent the newly reported data in the Lipson et al., 2020b study and a highly important set of genetic datapoints that was not available prior to the study. The ancestral relationships of these four individuals to both rainforest hunter–gatherers, and to the primary lineage in present-day West Africans, remains an open question, one whose resolution promises meaningful new insights into human population history.

7. Wang et al., 2021

The AG inferred by Wang et al., 2021 was constructed manually on the basis of an SNP set derived from the 1240K enrichment panel. We focused our analysis on the final graph (Extended Data Figure 6 in Wang et al., 2021, 12 groups and 8 admixture events) and on two simpler intermediates in the model-building process (Figures SI3-9 and SI3-10a in Wang et al., 2021). To simplify the latter two models further, we removed a low-level gene flow (1%) from a WHG-related lineage (Loschbour) to the Mongolia Neolithic group, which resulted in negligible LL differences (0.5 and 2.4 log-units, respectively). Thus, using findGraphs we explored the following topology classes: 9 groups with 4 admixture events, 10 groups with 5 admixture events, and 12 groups with 8 admixture events (Supplementary file 1). The composition of the groups matched that in the original study. We summarized results across 2,000 independent iterations of the findGraphs algorithm for each topology class. In the case of the most extensive population set (12 groups), three f3-statistics turned out to be negative (when the ‘useallsnps: YES’ setting was used), and thus for exploring this graph complexity class we had to remove sites with only one chromosome genotyped in any non-singleton population (Supplementary file 1). For this complexity class, we also applied several constraints on the graph space exploration process all of which were shared with the Wang et al. graphs: the Denisovan genome was assigned as an outgroup in the random starting graphs, but not at the topology search stage; up to one admixture event was allowed in the history of the Denisovan group; no admixture events were allowed in the history of Mbuti, Loschbour, and Onge; and the (Denisovan, (Mbuti, (Loschbour, Onge))) branching order was required.

For each topology class we found hundreds to thousands of topologically unique graphs fitting nominally better than the published models (Table 1, Supplementary file 1). For both simple topology classes, no model fitting significantly better than the published one was found (Supplementary file 1). However, the final published model fits the data significantly worse than 12.6% of newly found models of the same complexity (Table 1, Supplementary file 1). The fact that many topologically diverse models had good absolute fits (65%, 55%, and 15% of distinct newly found graphs with 9, 10, and 12 groups, respectively, had WR < 3 SE) suggests that AG models in these complexity classes are overfitted. Further evidence of overfitting comes from the poor fits of the published model on bootstrap-resampled datasets as compared to their fits on all sites (Figure 2).

An important feature of the published graphs in Wang et al., 2021 that was remarked upon in the study is admixture from a source related to Andamanese hunter–gatherers that is almost universal in East Asians, occurring in the Jomon, Tibetan, Upper Yellow River Late Neolithic, West Liao River Late Neolithic, Taiwan Iron Age, and China Island Early Neolithic (Liangdao) groups (Table 2). For example, the abstract states ‘Hunter-gatherers from Japan, the Amur River Basin, and people of Neolithic and Iron Age Taiwan and the Tibetan Plateau are linked by a deeply splitting lineage that probably reflects a coastal migration during the Late Pleistocene epoch.’ We performed 2,000 findGraphs iterations and obtained 1,778 distinct topologies satisfying all the constraints, nearly all of them (1,724) fitting nominally better than the published model, and 12.6% fitting significantly better (Supplementary file 1). The models were ranked by LL, and 56 highest-ranking topologies, all of them fitting significantly better than the published one, were assessed for temporal plausibility (models with gene flows from a later group to Tianyuan dated to 40 kya were removed), and 20 topologies were considered temporally plausible (all of them are shown in Figure 4—source data 2). According to these topologies, 0–2 East Asian groups had a fraction of their ancestry derived from a source specifically related to Onge, and 19 topologies included gene flows from the European (Loschbour)-related branch to all 8 East Asian groups (Figure 4—source data 2). The inferred topological relationships among East Asians are variable in this group of 20 models, and we decided to apply further constraints that guided model ranking and elimination by Wang et al., based on considerations from archaeological evidence, Y chromosome haplogroup divergence patterns, and population split time estimation.

The constraints that are not based on correlation of allele frequencies across populations that Wang et al. applied and that we applied in our re-examination are as follows. First, combined evidence from archaeology, linguistics, and genetics (a closely shared Y chromosome haplogroup) suggests that the present-day Tibetan Plateau population harbors a substantial proportion of ancestry from a large-scale migration from the Neolithic farming groups from the Upper and Middle Yellow River (Chen et al., 2015; Lu et al., 2016; Zhang et al., 2019). These arguments and radiocarbon dates favor the following branching order of predominant ancestry components: (Mongolia East N, (China Upper YR LN, Nepal Chokhopani)). Second, evidence from archaeology, linguistics and genetics suggests that the expansion of Austronesian speakers and the peopling of Taiwan was from southeast coastal China to Taiwan and Southeast Asia, but not from Taiwan to mainland China (Bellwood, 2011; Gray and Jordan, 2000; Ko et al., 2014). These arguments make a China Island EN → Taiwan IA gene flow direction plausible and make the opposite direction of flow less likely. Third, in the original study MSMC cross-coalescence rates were computed for a few pairs of present-day proxies for the ancient groups, and it was argued that they impose constraints on the graph topology. The inferred coalescence date for the Tibetan and Ulchi groups was slightly younger than the Tibetan-Ami and Tibetan-Atayal dates (see Fig. SI3-1 in the original study), suggesting that the Nepal Chokhopani and Mongolia East N group may share ancestral source populations more recently than these two groups and Taiwan IA. We note that it was not clear in the original paper if the difference in coalescence dates is statistically significant, the finding was clearer in MSMC than in MSMC2 analysis, and there was no attempt to calculate expected cross-coalescence profiles using these methods for models incorporating many gene flows. Nevertheless, we applied this constraint as well in an attempt to understand whether, if we used a constraint system similar to that in Wang et al., we would obtain results that agreed with respect to the finding of Onge-related admixture ubiquitous among East Asian groups.

Applying these three additional constraints, we identified two models (among the 56 ones subjected to manual inspection) that satisfied all of them. The highest-ranking of those models is shown in Figure 4b and Figure 4—source data 2c (the second model), and it includes a 13% (deeply) European-related gene flow to the common ancestor of all East Asians, and gene flows from the Onge-related branch to just two East Asian groups: Nepal Chokhopani and China WLR LN. This model fits the data significantly better than the published model (p-value = 0.028). We do not claim that this is the correct model (indeed we are almost certain that it is not given the high topological diversity of fitting models), but it is not obviously wrong and differs in qualitatively important ways from the published one.

The Wang et al., 2021 AG provides an illuminating example that helps us to understand the value added by AG construction. The AG construction process in Wang et al. followed a philosophy of not relying entirely on the allele frequency correlation data (not treating the genetic data as independent to explore how much new insight could come from genetic data alone). Instead, the study integrated other lines of genetic evidence as well as linguistic and archaeological insights explicitly into the AG construction process, with the goal of identifying models consistent with multiple lines of evidence. The fact that after this procedure a fitting graph was obtained is not of great interest, as it is essentially always possible to obtain a fit to allele frequency correlation data when enough admixture events are added. The important question is whether any of the emergent features of the graph that were not applied as constraints in the construction process—for example the evidence of ubiquitous Andamanese-related gene flow throughout East Asia suggesting a coastal route expansion that admixed with an interior route expansion proxied by Tianyuan—were stably inferred. Our analysis does not come to this finding consistently among well-fitting and plausible AGs. We conclude that an important feature of the published graph, that is variable levels of Andamanese-related ancestry found in all East Asians except for Siberians (Mongolia Neolithic) and the Upper Paleolithic Tianyuan (Figure 2 in Wang et al., 2021), is not supported by f-statistic analysis alone (Table 2), and indeed we are not aware of a single feature of the Wang et al., 2021 AG that is stably inferred beyond the constraints applied to build it.

8. Sikora et al., 2019

Two AGs inferred by Sikora et al., 2019 were constructed manually based on an SNP set derived from whole-genome shotgun data and incorporated 12 or 13 groups and 10 admixture events (Extended Data Figure 3f in the original study). One graph was focused on West Eurasians, and the other one on East Eurasians, and both included a Neanderthal, a Denisovan, and an African group (Dinka). Although the chimpanzee outgroup was not included in the original graphs, we added it as it drastically constrains the topology search space. The following additional constraints were applied at the findGraphs model optimization stage: the Neanderthal and African groups were unadmixed and the Denisovan group had no more than one admixture event in its history. These three constraints match the features of the published graph. We also repeated topology searches without constraining the admixture status of the Neanderthal, Denisovan, and Dinka. Since no f3-statistics were negative when all sites available for each population triplet were used (the ‘useallsnps: YES’ option), we did not apply the algorithm that allows unbiased calculation of f3-statistics on pseudo-haploid data at the expense of loss of analyzed SNPs.

In contrast to most other published graphs discussed above, gene flows in the graphs inferred by Sikora et al. do not have equal standing: four low-level gene flows (0–1%) connect the Neanderthal lineage to Upper Paleolithic lineages (Kostenki, Sunghir, Yana, Ust’-Ishim in the "Western" graph and Sunghir, Yana, Mal’ta, Ust’-Ishim in the "Eastern" graph). We repeated each topology search under two alternative settings: either keeping the number of admixture events at 10 to match the published graphs, or at 6 to match simplified versions of the published graphs lacking these low-level Neanderthal gene flows. We performed that modification to simplify the search space and to alleviate the overfitting problem which becomes severe if 10 gene flows across the graph are allowed (Supplementary file 1). Here, we compare LL and WR for the original published models and their simplified versions: the "Western" graph including chimpanzee (LL = 65.7, WR = 3.32 SE) vs. its simplified version (LL = 76.5, WR = 3.78 SE) and the "Eastern" graph including chimpanzee (LL = 85.3, WR = 3.11 SE) vs. its simplified version (LL = 102.4, WR = 4.16 SE). In both cases, we found no statistically significant differences in model fits (relying on the bootstrap model comparison method). In summary, topology search was repeated under 8 settings: for the "Western" or "Eastern" graphs, with no constrains on the admixture status or with the constraints specified above, and with 10 or 6 gene flows (Supplementary file 1). Below we focus on results for constrained models with 6 admixture events. In contrast, Figure 2 and Table 1 show results for constrained "Western" graphs with 10 admixture events.

In the case of the constrained "Western" graphs with 6 admixture events, 1,000 findGraphs runs were performed, 894 distinct topologies were found, 4 models fit significantly better, and 151 models fit nominally better than the published one (Table 1, Supplementary file 1). We inspected those 155 topologies and identified 29 topologies (Figure 4—source data 3) that are temporally plausible and include no non-canonical gene flows from archaic groups such as Denisovan or a ghost archaic group to non-Africans. Sikora et al. came to the following striking conclusion relying on the "Western" AG (Table 2): the Mal’ta (MA1_ANE) lineage received a gene flow from the Caucasus hunter–gatherer (CaucasusHG_LP or CHG) lineage. However, in our findGraphs exploration this direction of gene flow (CHG → Mal’ta) was supported by two of the 29 topologies, and the opposite gene flow direction (from the Mal’ta and East European hunter–gatherer lineages to CHG) was supported by the remaining 27 plausible topologies (Figure 4—source data 3). The highest-ranking plausible topology (Figure 4c) has a fit that is not significantly different from that of the simplified published model (p-value = 0.392). We note that the gene flow direction contradicting the graph by Sikora et al. was supported by a published qpAdm analyses (Lazaridis et al., 2016; Narasimhan et al., 2019), and qpAdm is not affected by the same model degeneracy issues that are the focus of this study. Considering the topological diversity among models that are temporally plausible, conform to robust findings about relationships between modern and archaic humans, and fit nominally better than the published model, we conclude that the direction of the Mal’ta-CHG gene flow cannot be resolved by AG analysis (Table 2).

Some important conclusions based on the "Eastern" graph also do not replicate across all plausible AGs (Table 2). In the case of the constrained "Eastern" graphs with 6 admixture events, 4,446 topology search iterations were performed, and 2,785 distinct topologies were found. Only 3 topologies fit significantly and 13 nominally better than the published one (p-value for the highest-ranking newly found model vs. the simplified published model = 0.112), and 9.8% of topologies fit not significantly worse than the published one (Table 1, Supplementary file 1). Of the topologies belonging to these groups, we inspected 116 best-fitting ones and identified 97 topologies that are temporally plausible and include no gene flows from archaic groups such as Denisovan or ghost archaic to non-Africans that are qualitatively different from the gene flows that are currently widely accepted. The Sikora et al. "Eastern" AG had the following distinctive features that were used to support some conclusions of the study (Table 2): (1) the Mal’ta (MA1_ANE) and Yana (Yana_UP) lineages receive a gene flow from a common East Asian-associated source diverging before the ones contributing to the Devil’s Cave (DevilsCave_N), Kolyma (Kolyma_M), USR1 (Alaska_LP), and Clovis (Clovis_LP) lineages; (2) European-related ancestry in the Kolyma, USR1, and Clovis lineages is closer to Mal’ta than to Yana; (3) the Devil’s Cave lineage received no European-related gene flows, and Kolyma has less European-related ancestry than ancient Americans (USR1 and Clovis). Only feature 2 was universally supported by all the 97 plausible alternative models fitting significantly better, nominally better, or not significantly worse than the simplified published model, while feature 3 was supported by 83 of 97 plausible models, and feature 1 was supported by 28 of 97 plausible models (Table 2). We plotted 14 plausible graphs as examples of topologies supporting all three features, two features, or one feature of the published graph (Figure 4—source data 4). We note that all the "Eastern" graphs discussed here, both the published and alternative ones, have relatively poor absolute fits with WR above 4 or 5 SE. Increasing the number of gene flows to 10 allowed us to reach much better absolute fits (with WR as low as 2.42 SE), but that resulted in high topological diversity (on a par with some other case studies discussed above). In the case of the constrained "Eastern" graphs with 10 admixture events, 1,000 findGraphs runs were performed, and 1000 distinct topologies were found. Of these topologies, 13.2% fit significantly better, 30% nominally better, and 17.6% non-significantly worse than the published model (p-value for the highest-ranking newly found model vs. the published model <0.002) (Supplementary file 1).

Funding Statement

The funders had no role in study design, data collection, and interpretation, or the decision to submit the work for publication.

Contributor Information

Robert Maier, Email: robertmaier@gmx.net.

Pavel Flegontov, Email: Pavel_Flegontov@hms.harvard.edu.

David Reich, Email: reich@genetics.med.harvard.edu.

Magnus Nordborg, Gregor Mendel Institute, Austria.

Molly Przeworski, Columbia University, United States.

Funding Information

This paper was supported by the following grants:

  • Czech Ministry of Education, Youth and Sports LL2103 to Pavel Flegontov, Piya Changmai, Olga Flegontova, Ulaş Işıldak.

  • Czech Ministry of Education, Youth and Sports LM2015070 to Pavel Flegontov, Piya Changmai.

  • Czech Ministry of Education, Youth and Sports LTAUSA18153 to Pavel Flegontov, Piya Changmai.

  • National Institutes of Health GM100233 to Robert Maier, David Reich.

  • National Institutes of Health HG012287 to Robert Maier, David Reich.

  • John Templeton Foundation grant 61220 to Robert Maier, David Reich.

  • The Czech Science Foundation 21-27624S to Pavel Flegontov, Piya Changmai, Olga Flegontova.

Additional information

Competing interests

No competing interests declared.

Author contributions

Conceptualization, Resources, Data curation, Software, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing – original draft, Writing – review and editing.

Conceptualization, Resources, Data curation, Formal analysis, Supervision, Funding acquisition, Validation, Investigation, Visualization, Writing – original draft, Project administration, Writing – review and editing, Methodology.

Formal analysis.

Formal analysis, Visualization.

Formal analysis, Funding acquisition.

Conceptualization, Resources, Supervision, Funding acquisition, Project administration, Writing – review and editing.

Additional files

Supplementary file 1. Published graphs in the context of automatically found graphs.

We compared 22 different graphs from 8 publications to alternative graphs inferred on the same or very similar data; these findGraphs runs are highlighted in blue in the ‘Iterations’ column. In total, 51 findGraphs runs are summarized here since in some cases models more complex or less complex than the published one were explored and/or different population compositions were tested (see the ‘Topology search constraints and population modifications’ column and the footnotes for details). The columns with names in blue show various information on the published graphs or their modified versions and some properties of the published population sets. The columns with names in magenta show settings used for calculating f-statistics and for exploring the AG space, and the number of SNPs used that depends on them. The columns with names in black summarize the outcomes of findGraphs runs, that is, the properties of alternative model sets found.

Publication: Last name of the first author and year of the relevant publication.

Figure in the original publication: Figure number in the original paper where the AG is presented.

Groups (populations): The number of populations in each graph.

Singleton pseudo-haploid populations: The number of populations in the graph composed of a single pseudo-haploid individual. Calculation of negative ‘admixture’ f3-statistics is impossible for such populations since their heterozygosity cannot be estimated (see the text for details).

No. of negative f3-stats (allsnps: YES): The number of negative f3-statistics among all possible f3-statistics for a given set of populations when all available sites are used for each statistic. If no negative f3-statistics exist for a set of populations, AG fits are not affected by the ‘minac2=2’ setting intended for accurate calculation of f-statistics for non-singleton pseudo-haploid groups.

Admixture events: The number of admixture events in each graph.

Publ. model: log-likelihood (LL): Log-likelihood score of the published graph fitted to the SNP set shown in the ‘SNPs used’ column.

Publ. model: LL, median of bootstrap distr.: Median of the log-likelihood scores of 100 or 500 fits of the published graph using bootstrap resampled SNPs.

Publ. model: worst residual (WR), SE: The worst f-statistic residual of the published graph fitted to the SNP set shown in the ‘SNPs used’ column, measured in standard errors (SE).

SNPs used: The number of SNPs (with no missing data at the group level) used for fitting the AG. For all case studies, we tested the original data (SNPs, population composition, and the published graph topology) and obtained model fits very similar to the published ones. However, for the purpose of efficient topology search we adjusted settings for f3-statistic calculation, population composition, or graph complexity as shown here and discussed in the text.

Settings for calculating f2-statistics: Arguments of the extract_f2 function used for calculating all possible f2-statistics for a set of groups, which were then used by findGraphs for calculating f3-statistics needed for fitting AG models. See Appendix 1, Section 2.A for descriptions of each argument.

Topology search constraints and population modifications: Constraints applied when generating random starting graphs and/or when searching the topology space. Modifications of the original population composition are also described in this column, where applicable.

Iterations: The number of findGraphs iterations (runs), each started from a random graph of a certain complexity. For each case study, findGraphs setups that were considered optimal are highlighted in blue in this column.

Iterations confirming published graph: The number of iterations (runs) in which the resulting graph was topologically identical to the published graph. In the cases, when the published model was irrelevant since more complex graphs were explored, ‘N/A’ appears in this and subsequent columns. If less complex models were explored, the published model was still relevant since its version without selected admixture edges was tested.

Distinct alternative topologies found: The number of distinct newly found topologies. If graph complexity was equal to (or less than) that of the published graph, the published topology (or its simplified version) is not counted here. If graph complexity exceeded that of the published graph, all newly found topologies are counted. If the published topology was recovered by findGraphs, the numbers in this column are shown in bold.

Significantly better fitting topologies: The number of distinct topologies that fit significantly better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05). If the number of distinct topologies was very large, a representative sample of models (1/20 to 1/3 of models evenly distributed along the log-likelihood spectrum) was compared to the published one instead. These cases are marked as ‘a fraction of models tested’ in this column. If model complexity was higher than that of the published model, model comparison was irrelevant and was not performed.

Non-significantly better fitting topologies: The number of distinct topologies that fit non-significantly (nominally) better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

Non-significantly worse fitting topologies: The number of distinct topologies that fit non-significantly (nominally) worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

Significantly worse fitting topologies: The number of distinct topologies that fit significantly worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05).

Significantly better fitting topologies, %: The percentage of distinct topologies that fit significantly better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05). If the number of distinct topologies was very large, a representative sample of models (1/20 to 1/3 of models evenly distributed along the log-likelihood spectrum) was compared to the published one instead, and the percentages in this and following columns were calculated on this sample.

Non-significantly better fitting topologies, %: The percentage of distinct topologies that fit non-significantly (nominally) better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

Non-significantly worse fitting topologies, %: The percentage of distinct topologies that fit non-significantly (nominally) worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

Significantly worse fitting topologies, %: The percentage of distinct topologies that fit significantly worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05).

p-value best alternative vs. publ.: An empirical two-tailed p-value of a test comparing log-likelihood distributions across bootstrap replicates for two topologies, the highest-ranking newly found topology and the published topology. In some cases, the highest-ranking newly found topology (according to LL) has a fit that is not significantly better than that of the published model, but other newly found models fit significantly better despite having higher LL. P-values below 0.05 are highlighted in green.

Used in Table 1: Here the findGraphs runs featured in Table 1 are marked.

elife-85492-supp1.xlsx (64.1KB, xlsx)
Supplementary file 2. Statistics for shotgun sequencing of individual I8726.
elife-85492-supp2.xlsx (9.6KB, xlsx)
Supplementary file 3. Group labels, archaeological and geographic meta-data, and sequencing statistics for the individuals used for admixture graph fitting in Shinde et al., 2019.

See the ‘Comment’ column for a list of updates to the dataset composition we performed prior to admixture graph fitting in our study.

elife-85492-supp3.xlsx (23.5KB, xlsx)
Supplementary file 4. Group labels, archaeological and geographic meta-data, and sequencing statistics for the individuals used for qpAdm modelling that revisits qpAdm results by Narasimhan et al., 2019.
elife-85492-supp4.xlsx (334.2KB, xlsx)
Supplementary file 5. A summary of selected qpAdm results.

This is a re-analysis of the data from Narasimhan et al., 2019, with a modified group composition that is described in Appendix 2.

elife-85492-supp5.xlsx (19.3KB, xlsx)
Supplementary file 6. qpAdm results for separate individuals from selected target groups (Indus Periphery and others).

qpAdm p-values are shown for each individual for models of varying complexity, from one- to four-way models.

elife-85492-supp6.xlsx (40.6KB, xlsx)
Supplementary file 7. Comparison of the original group composition used for admixture graph fitting in Librado et al., 2021 and the modified groups used in our study.
elife-85492-supp7.xlsx (17.1KB, xlsx)
MDAR checklist

Data availability

The new software presented in this manuscript (the ADMIXTOOLS 2 R package) is freely available at https://github.com/uqrmaie1/admixtools (copy archived at Maier et al., 2022), along with a detailed manual at https://uqrmaie1.github.io/admixtools/. The ancient human genome newly reported in this manuscript (Supplementary file 2) is freely available at the European Nucleotide Archive in the form of an alignment of reads to the hg19 human reference genome (project accession number PRJEB58199). Published software packages re-used in this manuscript are available at: https://bitbucket.org/nygcresearch/treemix/src/master/ (TreeMix, Pickrell and Pritchard, 2012) and at https://github.com/DReichLab/AdmixTools (David Reich Lab, 2023, ADMIXTOOLS, Patterson et al., 2012). Published archaeogenetic datasets re-analyzed in this manuscript were kindly shared by the corresponding authors of the following publications upon our requests: Bergström et al., 2020; Lazaridis et al., 2014; Librado et al., 2021; Lipson et al., 2020b; Shinde et al., 2019; Sikora et al., 2019; Wang et al., 2021; Hajdinjak et al., 2021. Various statistics for these re-used datasets are summarized in Supplementary file 1.

The following dataset was generated:

Maier R, Flegontov P, Flegontova O, Işıldak U, Changmai P, Reich D. 2022. On the limits of fitting complex models of population history to f-statistics. European Nucleotide Archive. PRJEB58199

References

  1. Baumdicker F, Bisschop G, Goldstein D, Gower G, Ragsdale AP, Tsambos G, Zhu S, Eldon B, Ellerman EC, Galloway JG, Gladstein AL, Gorjanc G, Guo B, Jeffery B, Kretzschumar WW, Lohse K, Matschiner M, Nelson D, Pope NS, Quinto-Cortés CD, Rodrigues MF, Saunack K, Sellinger T, Thornton K, van Kemenade H, Wohns AW, Wong Y, Gravel S, Kern AD, Koskela J, Ralph PL, Kelleher J. Efficient ancestry and mutation simulation with msprime 1.0. Genetics. 2022;220:iyab229. doi: 10.1093/genetics/iyab229. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Bellwood P. The checkered prehistory of rice movement southwards as a domesticated cereal—from the yangzi to the equator. Rice. 2011;4:93–103. doi: 10.1007/s12284-011-9068-9. [DOI] [Google Scholar]
  3. Bergström A, Frantz L, Schmidt R, Ersmark E, Lebrasseur O, Girdland-Flink L, Lin AT, Storå J, Sjögren KG, Anthony D, Antipina E, Amiri S, Bar-Oz G, Bazaliiskii VI, Bulatović J, Brown D, Carmagnini A, Davy T, Fedorov S, Fiore I, Fulton D, Germonpré M, Haile J, Irving-Pease EK, Jamieson A, Janssens L, Kirillova I, Horwitz LK, Kuzmanovic-Cvetković J, Kuzmin Y, Losey RJ, Dizdar DL, Mashkour M, Novak M, Onar V, Orton D, Pasarić M, Radivojević M, Rajković D, Roberts B, Ryan H, Sablin M, Shidlovskiy F, Stojanović I, Tagliacozzo A, Trantalidou K, Ullén I, Villaluenga A, Wapnish P, Dobney K, Götherström A, Linderholm A, Dalén L, Pinhasi R, Larson G, Skoglund P. Origins and genetic legacy of prehistoric dogs. Science. 2020;370:557–564. doi: 10.1126/science.aba9572. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Bergström A, Stanton DWG, Taron UH, Frantz L, Sinding M-HS, Ersmark E, Pfrengle S, Cassatt-Johnstone M, Lebrasseur O, Girdland-Flink L, Fernandes DM, Ollivier M, Speidel L, Gopalakrishnan S, Westbury MV, Ramos-Madrigal J, Feuerborn TR, Reiter E, Gretzinger J, Münzel SC, Swali P, Conard NJ, Carøe C, Haile J, Linderholm A, Androsov S, Barnes I, Baumann C, Benecke N, Bocherens H, Brace S, Carden RF, Drucker DG, Fedorov S, Gasparik M, Germonpré M, Grigoriev S, Groves P, Hertwig ST, Ivanova VV, Janssens L, Jennings RP, Kasparov AK, Kirillova IV, Kurmaniyazov I, Kuzmin YV, Kosintsev PA, Lázničková-Galetová M, Leduc C, Nikolskiy P, Nussbaumer M, O’Drisceoil C, Orlando L, Outram A, Pavlova EY, Perri AR, Pilot M, Pitulko VV, Plotnikov VV, Protopopov AV, Rehazek A, Sablin M, Seguin-Orlando A, Storå J, Verjux C, Zaibert VF, Zazula G, Crombé P, Hansen AJ, Willerslev E, Leonard JA, Götherström A, Pinhasi R, Schuenemann VJ, Hofreiter M, Gilbert MTP, Shapiro B, Larson G, Krause J, Dalén L, Skoglund P. Grey wolf genomic history reveals a dual ancestry of dogs. Nature. 2022;607:313–320. doi: 10.1038/s41586-022-04824-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Boos DD. Introduction to the bootstrap world. Statistical Science. 2003;18:168–174. doi: 10.1214/ss/1063994971. [DOI] [Google Scholar]
  6. Border R, Johnson EC, Evans LM, Smolen A, Berley N, Sullivan PF, Keller MC. No support for historical candidate gene or candidate gene-by-interaction hypotheses for major depression across multiple large samples. The American Journal of Psychiatry. 2019;176:376–387. doi: 10.1176/appi.ajp.2018.18070881. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Campbell MC, Tishkoff SA. African genetic diversity: implications for human demographic history, modern human origins, and complex disease mapping. Annual Review of Genomics and Human Genetics. 2008;9:403–433. doi: 10.1146/annurev.genom.9.081307.164258. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Carlhoff S, Duli A, Nägele K, Nur M, Skov L, Sumantri I, Oktaviana AA, Hakim B, Burhan B, Syahdar FA, McGahan DP, Bulbeck D, Perston YL, Newman K, Saiful AM, Ririmasse M, Chia S, Pulubuhu DAT, Jeong C, Peter BM, Prüfer K, Powell A, Krause J, Posth C, Brumm A. Genome of a middle Holocene Hunter-Gatherer from Wallacea. Nature. 2021;596:543–547. doi: 10.1038/s41586-021-03823-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Chen FH, Dong GH, Zhang DJ, Liu XY, Jia X, An CB, Ma MM, Xie YW, Barton L, Ren XY, Zhao ZJ, Wu XH, Jones MK. Agriculture facilitated permanent human occupation of the Tibetan Plateau after 3600 B.P. Science. 2015;347:248–250. doi: 10.1126/science.1259172. [DOI] [PubMed] [Google Scholar]
  10. Collins AL, Kim Y, Sklar P, O’Donovan MC, Sullivan PF, International Schizophrenia Consortium Hypothesis-driven candidate genes for schizophrenia compared to genome-wide association results. Psychological Medicine. 2012;42:607–616. doi: 10.1017/S0033291711001607. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. David Reich Lab Admixtools. ed1d857GitHub. 2023 https://github.com/DReichLab/AdmixTools
  12. Duncan LE, Ostacher M, Ballon J. How genome-wide association studies (GWAS) made traditional candidate gene studies obsolete. Neuropsychopharmacology. 2019;44:1518–1523. doi: 10.1038/s41386-019-0389-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Excoffier L, Dupanloup I, Huerta-Sánchez E, Sousa VC, Foll M. Robust demographic inference from genomic and SNP data. PLOS Genetics. 2013;9:e1003905. doi: 10.1371/journal.pgen.1003905. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Flegontov P, Altınışık NE, Changmai P, Rohland N, Mallick S, Adamski N, Bolnick DA, Broomandkhoshbacht N, Candilio F, Culleton BJ, Flegontova O, Friesen TM, Jeong C, Harper TK, Keating D, Kennett DJ, Kim AM, Lamnidis TC, Lawson AM, Olalde I, Oppenheimer J, Potter BA, Raff J, Sattler RA, Skoglund P, Stewardson K, Vajda EJ, Vasilyev S, Veselovskaya E, Hayes MG, O’Rourke DH, Krause J, Pinhasi R, Reich D, Schiffels S. Palaeo-eskimo genetic ancestry and the peopling of chukotka and North America. Nature. 2019;570:236–240. doi: 10.1038/s41586-019-1251-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Fu Q, Posth C, Hajdinjak M, Petr M, Mallick S, Fernandes D, Furtwängler A, Haak W, Meyer M, Mittnik A, Nickel B, Peltzer A, Rohland N, Slon V, Talamo S, Lazaridis I, Lipson M, Mathieson I, Schiffels S, Skoglund P, Derevianko AP, Drozdov N, Slavinsky V, Tsybankov A, Cremonesi RG, Mallegni F, Gély B, Vacca E, Morales MRG, Straus LG, Neugebauer-Maresch C, Teschler-Nicola M, Constantin S, Moldovan OT, Benazzi S, Peresani M, Coppola D, Lari M, Ricci S, Ronchitelli A, Valentin F, Thevenet C, Wehrberger K, Grigorescu D, Rougier H, Crevecoeur I, Flas D, Semal P, Mannino MA, Cupillard C, Bocherens H, Conard NJ, Harvati K, Moiseyev V, Drucker DG, Svoboda J, Richards MP, Caramelli D, Pinhasi R, Kelso J, Patterson N, Krause J, Pääbo S, Reich D. The genetic history of ice age Europe. Nature. 2016;534:200–205. doi: 10.1038/nature17993. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Gray RD, Jordan FM. Language trees support the express-train sequence of austronesian expansion. Nature. 2000;405:1052–1055. doi: 10.1038/35016575. [DOI] [PubMed] [Google Scholar]
  17. Green RE, Krause J, Briggs AW, Maricic T, Stenzel U, Kircher M, Patterson N, Li H, Zhai W, Fritz MH-Y, Hansen NF, Durand EY, Malaspinas A-S, Jensen JD, Marques-Bonet T, Alkan C, Prüfer K, Meyer M, Burbano HA, Good JM, Schultz R, Aximu-Petri A, Butthof A, Höber B, Höffner B, Siegemund M, Weihmann A, Nusbaum C, Lander ES, Russ C, Novod N, Affourtit J, Egholm M, Verna C, Rudan P, Brajkovic D, Kucan Ž, Gušic I, Doronichev VB, Golovanova LV, Lalueza-Fox C, de la Rasilla M, Fortea J, Rosas A, Schmitz RW, Johnson PLF, Eichler EE, Falush D, Birney E, Mullikin JC, Slatkin M, Nielsen R, Kelso J, Lachmann M, Reich D, Pääbo S. A draft sequence of the Neandertal genome. Science. 2010;328:710–722. doi: 10.1126/science.1188021. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Gronau I, Hubisz MJ, Gulko B, Danko CG, Siepel A. Bayesian inference of ancient human demography from individual genome sequences. Nature Genetics. 2011;43:1031–1034. doi: 10.1038/ng.937. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Gutenkunst RN, Hernandez RD, Williamson SH, Bustamante CD. Inferring the joint demographic history of multiple populations from multidimensional SNP frequency data. PLOS Genetics. 2009;5:e1000695. doi: 10.1371/journal.pgen.1000695. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Haak W, Lazaridis I, Patterson N, Rohland N, Mallick S, Llamas B, Brandt G, Nordenfelt S, Harney E, Stewardson K, Fu Q, Mittnik A, Bánffy E, Economou C, Francken M, Friederich S, Pena RG, Hallgren F, Khartanovich V, Khokhlov A, Kunst M, Kuznetsov P, Meller H, Mochalov O, Moiseyev V, Nicklisch N, Pichler SL, Risch R, Rojo Guerra MA, Roth C, Szécsényi-Nagy A, Wahl J, Meyer M, Krause J, Brown D, Anthony D, Cooper A, Alt KW, Reich D. Massive migration from the steppe was a source for Indo-European languages in Europe. Nature. 2015;522:207–211. doi: 10.1038/nature14317. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Hajdinjak M, Mafessoni F, Skov L, Vernot B, Hübner A, Fu Q, Essel E, Nagel S, Nickel B, Richter J, Moldovan OT, Constantin S, Endarova E, Zahariev N, Spasov R, Welker F, Smith GM, Sinet-Mathiot V, Paskulin L, Fewlass H, Talamo S, Rezek Z, Sirakova S, Sirakov N, McPherron SP, Tsanova T, Hublin JJ, Peter BM, Meyer M, Skoglund P, Kelso J, Pääbo S. Initial upper Palaeolithic humans in Europe had recent neanderthal ancestry. Nature. 2021;592:253–257. doi: 10.1038/s41586-021-03335-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Hammer MF, Woerner AE, Mendez FL, Watkins JC, Wall JD. Genetic evidence for archaic admixture in Africa. PNAS. 2011;108:15123–15128. doi: 10.1073/pnas.1109300108. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Harney É, Patterson N, Reich D, Wakeley J. Assessing the performance of qpAdm: a statistical tool for studying population Admixture. Genetics. 2021;217:iyaa045. doi: 10.1093/genetics/iyaa045. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Hirschhorn JN, Daly MJ. Genome-Wide association studies for common diseases and complex traits. Nature Reviews. Genetics. 2005;6:95–108. doi: 10.1038/nrg1521. [DOI] [PubMed] [Google Scholar]
  25. Hubisz M, Siepel A. Inference of ancestral recombination graphs using argweaver. Methods in Molecular Biology. 2020;2090:231–266. doi: 10.1007/978-1-0716-0199-0_10. [DOI] [PubMed] [Google Scholar]
  26. Hubisz MJ, Williams AL, Siepel A. Mapping gene flow between ancient hominins through demography-aware inference of the ancestral recombination graph. PLOS Genetics. 2020;16:e1008895. doi: 10.1371/journal.pgen.1008895. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Ioannidis JPA. Why most published research findings are false. PLOS Medicine. 2005;2:e124. doi: 10.1371/journal.pmed.0020124. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Jeong C, Balanovsky O, Lukianova E, Kahbatkyzy N, Flegontov P, Zaporozhchenko V, Immel A, Wang CC, Ixan O, Khussainova E, Bekmanov B, Zaibert V, Lavryashina M, Pocheshkhova E, Yusupov Y, Agdzhoyan A, Koshel S, Bukin A, Nymadawa P, Turdikulova S, Dalimova D, Churnosov M, Skhalyakho R, Daragan D, Bogunov Y, Bogunova A, Shtrunov A, Dubova N, Zhabagin M, Yepiskoposyan L, Churakov V, Pislegin N, Damba L, Saroyants L, Dibirova K, Atramentova L, Utevska O, Idrisov E, Kamenshchikova E, Evseeva I, Metspalu M, Outram AK, Robbeets M, Djansugurova L, Balanovska E, Schiffels S, Haak W, Reich D, Krause J. The genetic history of admixture across inner Eurasia. Nature Ecology & Evolution. 2019;3:966–976. doi: 10.1038/s41559-019-0878-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Kamm J, Terhorst J, Durbin R, Song YS. Efficiently inferring the demographic history of many populations with allele count data. Journal of the American Statistical Association. 2020;115:1472–1487. doi: 10.1080/01621459.2019.1635482. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Ko AM-S, Chen C-Y, Fu Q, Delfin F, Li M, Chiu H-L, Stoneking M, Ko Y-C. Early Austronesians: into and out of Taiwan. American Journal of Human Genetics. 2014;94:426–436. doi: 10.1016/j.ajhg.2014.02.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Kutanan W, Liu D, Kampuansai J, Srikummool M, Srithawong S, Shoocongdej R, Sangkhano S, Ruangchai S, Pittayaporn P, Arias L, Stoneking M. Reconstructing the human genetic history of mainland Southeast Asia: insights from genome-wide data from Thailand and laos. Molecular Biology and Evolution. 2021;38:3459–3477. doi: 10.1093/molbev/msab124. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Lachance J, Vernot B, Elbers CC, Ferwerda B, Froment A, Bodo JM, Lema G, Fu W, Nyambo TB, Rebbeck TR, Zhang K, Akey JM, Tishkoff SA. Evolutionary history and adaptation from high-coverage whole-genome sequences of diverse African hunter-gatherers. Cell. 2012;150:457–469. doi: 10.1016/j.cell.2012.07.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Lazaridis I, Patterson N, Mittnik A, Renaud G, Mallick S, Kirsanow K, Sudmant PH, Schraiber JG, Castellano S, Lipson M, Berger B, Economou C, Bollongino R, Fu Q, Bos KI, Nordenfelt S, Li H, de Filippo C, Prüfer K, Sawyer S, Posth C, Haak W, Hallgren F, Fornander E, Rohland N, Delsate D, Francken M, Guinet JM, Wahl J, Ayodo G, Babiker HA, Bailliet G, Balanovska E, Balanovsky O, Barrantes R, Bedoya G, Ben-Ami H, Bene J, Berrada F, Bravi CM, Brisighelli F, Busby GBJ, Cali F, Churnosov M, Cole DEC, Corach D, Damba L, van Driem G, Dryomov S, Dugoujon JM, Fedorova SA, Gallego Romero I, Gubina M, Hammer M, Henn BM, Hervig T, Hodoglugil U, Jha AR, Karachanak-Yankova S, Khusainova R, Khusnutdinova E, Kittles R, Kivisild T, Klitz W, Kučinskas V, Kushniarevich A, Laredj L, Litvinov S, Loukidis T, Mahley RW, Melegh B, Metspalu E, Molina J, Mountain J, Näkkäläjärvi K, Nesheva D, Nyambo T, Osipova L, Parik J, Platonov F, Posukh O, Romano V, Rothhammer F, Rudan I, Ruizbakiev R, Sahakyan H, Sajantila A, Salas A, Starikovskaya EB, Tarekegn A, Toncheva D, Turdikulova S, Uktveryte I, Utevska O, Vasquez R, Villena M, Voevoda M, Winkler CA, Yepiskoposyan L, Zalloua P, Zemunik T, Cooper A, Capelli C, Thomas MG, Ruiz-Linares A, Tishkoff SA, Singh L, Thangaraj K, Villems R, Comas D, Sukernik R, Metspalu M, Meyer M, Eichler EE, Burger J, Slatkin M, Pääbo S, Kelso J, Reich D, Krause J. Ancient human Genomes suggest three ancestral populations for present-day Europeans. Nature. 2014;513:409–413. doi: 10.1038/nature13673. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Lazaridis I, Nadel D, Rollefson G, Merrett DC, Rohland N, Mallick S, Fernandes D, Novak M, Gamarra B, Sirak K, Connell S, Stewardson K, Harney E, Fu Q, Gonzalez-Fortes G, Jones ER, Roodenberg SA, Lengyel G, Bocquentin F, Gasparian B, Monge JM, Gregg M, Eshed V, Mizrahi AS, Meiklejohn C, Gerritsen F, Bejenaru L, Blüher M, Campbell A, Cavalleri G, Comas D, Froguel P, Gilbert E, Kerr SM, Kovacs P, Krause J, McGettigan D, Merrigan M, Merriwether DA, O’Reilly S, Richards MB, Semino O, Shamoon-Pour M, Stefanescu G, Stumvoll M, Tönjes A, Torroni A, Wilson JF, Yengo L, Hovhannisyan NA, Patterson N, Pinhasi R, Reich D. Genomic insights into the origin of farming in the ancient near East. Nature. 2016;536:419–424. doi: 10.1038/nature19310. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Leppälä K, Nielsen SV, Mailund T. Admixturegraph: an R package for admixture graph manipulation and fitting. Bioinformatics. 2017;33:1738–1740. doi: 10.1093/bioinformatics/btx048. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Librado P, Khan N, Fages A, Kusliy MA, Suchan T, Tonasso-Calvière L, Schiavinato S, Alioglu D, Fromentier A, Perdereau A, Aury J-M, Gaunitz C, Chauvey L, Seguin-Orlando A, Der Sarkissian C, Southon J, Shapiro B, Tishkin AA, Kovalev AA, Alquraishi S, Alfarhan AH, Al-Rasheid KAS, Seregély T, Klassen L, Iversen R, Bignon-Lau O, Bodu P, Olive M, Castel J-C, Boudadi-Maligne M, Alvarez N, Germonpré M, Moskal-Del Hoyo M, Wilczyński J, Pospuła S, Lasota-Kuś A, Tunia K, Nowak M, Rannamäe E, Saarma U, Boeskorov G, Lōugas L, Kyselý R, Peške L, Bălășescu A, Dumitrașcu V, Dobrescu R, Gerber D, Kiss V, Szécsényi-Nagy A, Mende BG, Gallina Z, Somogyi K, Kulcsár G, Gál E, Bendrey R, Allentoft ME, Sirbu G, Dergachev V, Shephard H, Tomadini N, Grouard S, Kasparov A, Basilyan AE, Anisimov MA, Nikolskiy PA, Pavlova EY, Pitulko V, Brem G, Wallner B, Schwall C, Keller M, Kitagawa K, Bessudnov AN, Bessudnov A, Taylor W, Magail J, Gantulga J-O, Bayarsaikhan J, Erdenebaatar D, Tabaldiev K, Mijiddorj E, Boldgiv B, Tsagaan T, Pruvost M, Olsen S, Makarewicz CA, Valenzuela Lamas S, Albizuri Canadell S, Nieto Espinet A, Iborra MP, Lira Garrido J, Rodríguez González E, Celestino S, Olària C, Arsuaga JL, Kotova N, Pryor A, Crabtree P, Zhumatayev R, Toleubaev A, Morgunova NL, Kuznetsova T, Lordkipanize D, Marzullo M, Prato O, Bagnasco Gianni G, Tecchiati U, Clavel B, Lepetz S, Davoudi H, Mashkour M, Berezina NY, Stockhammer PW, Krause J, Haak W, Morales-Muñiz A, Benecke N, Hofreiter M, Ludwig A, Graphodatsky AS, Peters J, Kiryushin KY, Iderkhangai T-O, Bokovenko NA, Vasiliev SK, Seregin NN, Chugunov KV, Plasteeva NA, Baryshnikov GF, Petrova E, Sablin M, Ananyevskaya E, Logvin A, Shevnina I, Logvin V, Kalieva S, Loman V, Kukushkin I, Merz I, Merz V, Sakenov S, Varfolomeyev V, Usmanova E, Zaibert V, Arbuckle B, Belinskiy AB, Kalmykov A, Reinhold S, Hansen S, Yudin AI, Vybornov AA, Epimakhov A, Berezina NS, Roslyakova N, Kosintsev PA, Kuznetsov PF, Anthony D, Kroonen GJ, Kristiansen K, Wincker P, Outram A, Orlando L. The origins and spread of domestic horses from the Western Eurasian steppes. Nature. 2021;598:634–640. doi: 10.1038/s41586-021-04018-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Lipson M, Loh PR, Levin A, Reich D, Patterson N, Berger B. Efficient moment-based inference of admixture parameters and sources of gene flow. Molecular Biology and Evolution. 2013;30:1788–1802. doi: 10.1093/molbev/mst099. [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Lipson M, Szécsényi-Nagy A, Mallick S, Pósa A, Stégmár B, Keerl V, Rohland N, Stewardson K, Ferry M, Michel M, Oppenheimer J, Broomandkhoshbacht N, Harney E, Nordenfelt S, Llamas B, Gusztáv Mende B, Köhler K, Oross K, Bondár M, Marton T, Osztás A, Jakucs J, Paluch T, Horváth F, Csengeri P, Koós J, Sebők K, Anders A, Raczky P, Regenye J, Barna JP, Fábián S, Serlegi G, Toldi Z, Gyöngyvér Nagy E, Dani J, Molnár E, Pálfi G, Márk L, Melegh B, Bánfai Z, Domboróczki L, Fernández-Eraso J, Antonio Mujika-Alustiza J, Alonso Fernández C, Jiménez Echevarría J, Bollongino R, Orschiedt J, Schierhold K, Meller H, Cooper A, Burger J, Bánffy E, Alt KW, Lalueza-Fox C, Haak W, Reich D. Parallel palaeogenomic transects reveal complex genetic history of early European farmers. Nature. 2017;551:368–372. doi: 10.1038/nature24476. [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Lipson M. Applying f4-statistics and admixture graphs: theory and examples. Molecular Ecology Resources. 2020a;20:1658–1667. doi: 10.1111/1755-0998.13230. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Lipson M, Ribot I, Mallick S, Rohland N, Olalde I, Adamski N, Broomandkhoshbacht N, Lawson AM, López S, Oppenheimer J, Stewardson K, Asombang RN, Bocherens H, Bradman N, Culleton BJ, Cornelissen E, Crevecoeur I, de Maret P, Fomine FLM, Lavachery P, Mindzie CM, Orban R, Sawchuk E, Semal P, Thomas MG, Van Neer W, Veeramah KR, Kennett DJ, Patterson N, Hellenthal G, Lalueza-Fox C, MacEachern S, Prendergast ME, Reich D. Ancient West African foragers in the context of African population history. Nature. 2020b;577:665–670. doi: 10.1038/s41586-020-1929-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  41. Lipson M, Sawchuk EA, Thompson JC, Oppenheimer J, Tryon CA, Ranhorn KL, de Luna KM, Sirak KA, Olalde I, Ambrose SH, Arthur JW, Arthur KJW, Ayodo G, Bertacchi A, Cerezo-Román JI, Culleton BJ, Curtis MC, Davis J, Gidna AO, Hanson A, Kaliba P, Katongo M, Kwekason A, Laird MF, Lewis J, Mabulla AZP, Mapemba F, Morris A, Mudenda G, Mwafulirwa R, Mwangomba D, Ndiema E, Ogola C, Schilt F, Willoughby PR, Wright DK, Zipkin A, Pinhasi R, Kennett DJ, Manthi FK, Rohland N, Patterson N, Reich D, Prendergast ME. Ancient DNA and deep population structure in sub-Saharan African foragers. Nature. 2022;603:290–296. doi: 10.1038/s41586-022-04430-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Lu D, Lou H, Yuan K, Wang X, Wang Y, Zhang C, Lu Y, Yang X, Deng L, Zhou Y, Feng Q, Hu Y, Ding Q, Yang Y, Li S, Jin L, Guan Y, Su B, Kang L, Xu S. Ancestral origins and genetic history of Tibetan highlanders. American Journal of Human Genetics. 2016;99:580–594. doi: 10.1016/j.ajhg.2016.07.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Maier R, Isildak U, rmmaier Admixtools. swh:1:rev:45fcc41768d88559863d6dfae9ccaceaf247f81eSoftware Heritage. 2022 https://archive.softwareheritage.org/swh:1:dir:38fceb428451354c86a1c41fa7291ea117a15d2b;origin=https://github.com/uqrmaie1/admixtools;visit=swh:1:snp:ec5ab16d631d19a1943b1f874db5a4df0cee6ced;anchor=swh:1:rev:45fcc41768d88559863d6dfae9ccaceaf247f81e
  44. Mallick S, Li H, Lipson M, Mathieson I, Gymrek M, Racimo F, Zhao M, Chennagiri N, Nordenfelt S, Tandon A, Skoglund P, Lazaridis I, Sankararaman S, Fu Q, Rohland N, Renaud G, Erlich Y, Willems T, Gallo C, Spence JP, Song YS, Poletti G, Balloux F, van Driem G, de Knijff P, Romero IG, Jha AR, Behar DM, Bravi CM, Capelli C, Hervig T, Moreno-Estrada A, Posukh OL, Balanovska E, Balanovsky O, Karachanak-Yankova S, Sahakyan H, Toncheva D, Yepiskoposyan L, Tyler-Smith C, Xue Y, Abdullah MS, Ruiz-Linares A, Beall CM, Di Rienzo A, Jeong C, Starikovskaya EB, Metspalu E, Parik J, Villems R, Henn BM, Hodoglugil U, Mahley R, Sajantila A, Stamatoyannopoulos G, Wee JTS, Khusainova R, Khusnutdinova E, Litvinov S, Ayodo G, Comas D, Hammer MF, Kivisild T, Klitz W, Winkler CA, Labuda D, Bamshad M, Jorde LB, Tishkoff SA, Watkins WS, Metspalu M, Dryomov S, Sukernik R, Singh L, Thangaraj K, Pääbo S, Kelso J, Patterson N, Reich D. The simons genome diversity project: 300 genomes from 142 diverse populations. Nature. 2016;538:201–206. doi: 10.1038/nature18964. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Mathieson I, Alpaslan-Roodenberg S, Posth C, Szécsényi-Nagy A, Rohland N, Mallick S, Olalde I, Broomandkhoshbacht N, Candilio F, Cheronet O, Fernandes D, Ferry M, Gamarra B, Fortes GG, Haak W, Harney E, Jones E, Keating D, Krause-Kyora B, Kucukkalipci I, Michel M, Mittnik A, Nägele K, Novak M, Oppenheimer J, Patterson N, Pfrengle S, Sirak K, Stewardson K, Vai S, Alexandrov S, Alt KW, Andreescu R, Antonović D, Ash A, Atanassova N, Bacvarov K, Gusztáv MB, Bocherens H, Bolus M, Boroneanţ A, Boyadzhiev Y, Budnik A, Burmaz J, Chohadzhiev S, Conard NJ, Cottiaux R, Čuka M, Cupillard C, Drucker DG, Elenski N, Francken M, Galabova B, Ganetsovski G, Gély B, Hajdu T, Handzhyiska V, Harvati K, Higham T, Iliev S, Janković I, Karavanić I, Kennett DJ, Komšo D, Kozak A, Labuda D, Lari M, Lazar C, Leppek M, Leshtakov K, Vetro DL, Los D, Lozanov I, Malina M, Martini F, McSweeney K, Meller H, Menđušić M, Mirea P, Moiseyev V, Petrova V, Price TD, Simalcsik A, Sineo L, Šlaus M, Slavchev V, Stanev P, Starović A, Szeniczey T, Talamo S, Teschler-Nicola M, Thevenet C, Valchev I, Valentin F, Vasilyev S, Veljanovska F, Venelinova S, Veselovskaya E, Viola B, Virag C, Zaninović J, Zäuner S, Stockhammer PW, Catalano G, Krauß R, Caramelli D, Zariņa G, Gaydarska B, Lillie M, Nikitin AG, Potekhina I, Papathanasiou A, Borić D, Bonsall C, Krause J, Pinhasi R, Reich D. The genomic history of southeastern Europe. Nature. 2018;555:197–203. doi: 10.1038/nature25778. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. McColl H, Racimo F, Vinner L, Demeter F, Gakuhari T, Moreno-Mayar JV, van Driem G, Gram Wilken U, Seguin-Orlando A, de la Fuente Castro C, Wasef S, Shoocongdej R, Souksavatdy V, Sayavongkhamdy T, Saidin MM, Allentoft ME, Sato T, Malaspinas A-S, Aghakhanian FA, Korneliussen T, Prohaska A, Margaryan A, de Barros Damgaard P, Kaewsutthi S, Lertrit P, Nguyen TMH, Hung H-C, Minh Tran T, Nghia Truong H, Nguyen GH, Shahidan S, Wiradnyana K, Matsumae H, Shigehara N, Yoneda M, Ishida H, Masuyama T, Yamada Y, Tajima A, Shibata H, Toyoda A, Hanihara T, Nakagome S, Deviese T, Bacon A-M, Duringer P, Ponche J-L, Shackelford L, Patole-Edoumba E, Nguyen AT, Bellina-Pryce B, Galipaud J-C, Kinaston R, Buckley H, Pottier C, Rasmussen S, Higham T, Foley RA, Lahr MM, Orlando L, Sikora M, Phipps ME, Oota H, Higham C, Lambert DM, Willerslev E. The prehistoric peopling of Southeast Asia. Science. 2018;361:88–92. doi: 10.1126/science.aat3628. [DOI] [PubMed] [Google Scholar]
  47. Molloy EK, Durvasula A, Sankararaman S. Advancing admixture graph estimation via maximum likelihood network orientation. Bioinformatics. 2021;37:i142–i150. doi: 10.1093/bioinformatics/btab267. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Moreno-Mayar JV, Vinner L, de Barros Damgaard P, de la Fuente C, Chan J, Spence JP, Allentoft ME, Vimala T, Racimo F, Pinotti T, Rasmussen S, Margaryan A, Iraeta Orbegozo M, Mylopotamitaki D, Wooller M, Bataille C, Becerra-Valdivia L, Chivall D, Comeskey D, Devièse T, Grayson DK, George L, Harry H, Alexandersen V, Primeau C, Erlandson J, Rodrigues-Carvalho C, Reis S, Bastos MQR, Cybulski J, Vullo C, Morello F, Vilar M, Wells S, Gregersen K, Hansen KL, Lynnerup N, Mirazón Lahr M, Kjær K, Strauss A, Alfonso-Durruty M, Salas A, Schroeder H, Higham T, Malhi RS, Rasic JT, Souza L, Santos FR, Malaspinas AS, Sikora M, Nielsen R, Song YS, Meltzer DJ, Willerslev E. Early human dispersals within the Americas. Science. 2018;362:2621. doi: 10.1126/science.aav2621. [DOI] [PubMed] [Google Scholar]
  49. Narasimhan VM, Patterson N, Moorjani P, Rohland N, Bernardos R, Mallick S, Lazaridis I, Nakatsuka N, Olalde I, Lipson M, Kim AM, Olivieri LM, Coppa A, Vidale M, Mallory J, Moiseyev V, Kitov E, Monge J, Adamski N, Alex N, Broomandkhoshbacht N, Candilio F, Callan K, Cheronet O, Culleton BJ, Ferry M, Fernandes D, Freilich S, Gamarra B, Gaudio D, Hajdinjak M, Harney É, Harper TK, Keating D, Lawson AM, Mah M, Mandl K, Michel M, Novak M, Oppenheimer J, Rai N, Sirak K, Slon V, Stewardson K, Zalzala F, Zhang Z, Akhatov G, Bagashev AN, Bagnera A, Baitanayev B, Bendezu-Sarmiento J, Bissembaev AA, Bonora GL, Chargynov TT, Chikisheva T, Dashkovskiy PK, Derevianko A, Dobeš M, Douka K, Dubova N, Duisengali MN, Enshin D, Epimakhov A, Fribus AV, Fuller D, Goryachev A, Gromov A, Grushin SP, Hanks B, Judd M, Kazizov E, Khokhlov A, Krygin AP, Kupriyanova E, Kuznetsov P, Luiselli D, Maksudov F, Mamedov AM, Mamirov TB, Meiklejohn C, Merrett DC, Micheli R, Mochalov O, Mustafokulov S, Nayak A, Pettener D, Potts R, Razhev D, Rykun M, Sarno S, Savenkova TM, Sikhymbaeva K, Slepchenko SM, Soltobaev OA, Stepanova N, Svyatko S, Tabaldiev K, Teschler-Nicola M, Tishkin AA, Tkachev VV, Vasilyev S, Velemínský P, Voyakin D, Yermolayeva A, Zahir M, Zubkov VS, Zubova A, Shinde VS, Lalueza-Fox C, Meyer M, Anthony D, Boivin N, Thangaraj K, Kennett DJ, Frachetti M, Pinhasi R, Reich D. The formation of human populations in South and central Asia. Science. 2019;365:7487. doi: 10.1126/science.aat7487. [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Nelson D, Kelleher J, Ragsdale AP, Moreau C, McVean G, Gravel S. Accounting for long-range correlations in genome-wide simulations of large cohorts. PLOS Genetics. 2020;16:e1008619. doi: 10.1371/journal.pgen.1008619. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Nielsen SV, Vaughn AH, Leppälä K, Landis MJ, Mailund T, Nielsen R. Bayesian inference of Admixture graphs on native American and Arctic populations. PLOS Genetics. 2023;1:1010410. doi: 10.1371/journal.pgen.1010410. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Patterson N, Moorjani P, Luo Y, Mallick S, Rohland N, Zhan Y, Genschoreck T, Webster T, Reich D. Ancient admixture in human history. Genetics. 2012;192:1065–1093. doi: 10.1534/genetics.112.145037. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Peter BM. Admixture, population structure, and F-statistics. Genetics. 2016;202:1485–1501. doi: 10.1534/genetics.115.183913. [DOI] [PMC free article] [PubMed] [Google Scholar]
  54. Pickrell JK, Pritchard JK. Inference of population splits and mixtures from genome-wide allele frequency data. PLOS Genetics. 2012;8:e1002967. doi: 10.1371/journal.pgen.1002967. [DOI] [PMC free article] [PubMed] [Google Scholar]
  55. Posth C, Nakatsuka N, Lazaridis I, Skoglund P, Mallick S, Lamnidis TC, Rohland N, Nägele K, Adamski N, Bertolini E, Broomandkhoshbacht N, Cooper A, Culleton BJ, Ferraz T, Ferry M, Furtwängler A, Haak W, Harkins K, Harper TK, Hünemeier T, Lawson AM, Llamas B, Michel M, Nelson E, Oppenheimer J, Patterson N, Schiffels S, Sedig J, Stewardson K, Talamo S, Wang CC, Hublin JJ, Hubbe M, Harvati K, Nuevo Delaunay A, Beier J, Francken M, Kaulicke P, Reyes-Centeno H, Rademaker K, Trask WR, Robinson M, Gutierrez SM, Prufer KM, Salazar-García DC, Chim EN, Müller Plumm Gomes L, Alves ML, Liryo A, Inglez M, Oliveira RE, Bernardo DV, Barioni A, Wesolowski V, Scheifler NA, Rivera MA, Plens CR, Messineo PG, Figuti L, Corach D, Scabuzzo C, Eggers S, DeBlasis P, Reindel M, Méndez C, Politis G, Tomasto-Cagigao E, Kennett DJ, Strauss A, Fehren-Schmitz L, Krause J, Reich D. Reconstructing the deep population history of central and South America. Cell. 2018;175:1185–1197. doi: 10.1016/j.cell.2018.10.027. [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. Prüfer K, Racimo F, Patterson N, Jay F, Sankararaman S, Sawyer S, Heinze A, Renaud G, Sudmant PH, de Filippo C, Li H, Mallick S, Dannemann M, Fu Q, Kircher M, Kuhlwilm M, Lachmann M, Meyer M, Ongyerth M, Siebauer M, Theunert C, Tandon A, Moorjani P, Pickrell J, Mullikin JC, Vohr SH, Green RE, Hellmann I, Johnson PLF, Blanche H, Cann H, Kitzman JO, Shendure J, Eichler EE, Lein ES, Bakken TE, Golovanova LV, Doronichev VB, Shunkov MV, Derevianko AP, Viola B, Slatkin M, Reich D, Kelso J, Pääbo S. The complete genome sequence of a Neanderthal from the altai mountains. Nature. 2014;505:43–49. doi: 10.1038/nature12886. [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. Raghavan M, Skoglund P, Graf KE, Metspalu M, Albrechtsen A, Moltke I, Rasmussen S, Stafford TW, Orlando L, Metspalu E, Karmin M, Tambets K, Rootsi S, Mägi R, Campos PF, Balanovska E, Balanovsky O, Khusnutdinova E, Litvinov S, Osipova LP, Fedorova SA, Voevoda MI, DeGiorgio M, Sicheritz-Ponten T, Brunak S, Demeshchenko S, Kivisild T, Villems R, Nielsen R, Jakobsson M, Willerslev E. Upper Palaeolithic Siberian genome reveals dual ancestry of native Americans. Nature. 2014;505:87–91. doi: 10.1038/nature12736. [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Raghavan M, Steinrücken M, Harris K, Schiffels S, Rasmussen S, DeGiorgio M, Albrechtsen A, Valdiosera C, Ávila-Arcos MC, Malaspinas A-S, Eriksson A, Moltke I, Metspalu M, Homburger JR, Wall J, Cornejo OE, Moreno-Mayar JV, Korneliussen TS, Pierre T, Rasmussen M, Campos PF, de Barros Damgaard P, Allentoft ME, Lindo J, Metspalu E, Rodríguez-Varela R, Mansilla J, Henrickson C, Seguin-Orlando A, Malmström H, Stafford T, Shringarpure SS, Moreno-Estrada A, Karmin M, Tambets K, Bergström A, Xue Y, Warmuth V, Friend AD, Singarayer J, Valdes P, Balloux F, Leboreiro I, Vera JL, Rangel-Villalobos H, Pettener D, Luiselli D, Davis LG, Heyer E, Zollikofer CPE, Ponce de León MS, Smith CI, Grimes V, Pike K-A, Deal M, Fuller BT, Arriaza B, Standen V, Luz MF, Ricaut F, Guidon N, Osipova L, Voevoda MI, Posukh OL, Balanovsky O, Lavryashina M, Bogunov Y, Khusnutdinova E, Gubina M, Balanovska E, Fedorova S, Litvinov S, Malyarchuk B, Derenko M, Mosher MJ, Archer D, Cybulski J, Petzelt B, Mitchell J, Worl R, Norman PJ, Parham P, Kemp BM, Kivisild T, Tyler-Smith C, Sandhu MS, Crawford M, Villems R, Smith DG, Waters MR, Goebel T, Johnson JR, Malhi RS, Jakobsson M, Meltzer DJ, Manica A, Durbin R, Bustamante CD, Song YS, Nielsen R, Willerslev E. Population genetics: genomic evidence for the Pleistocene and recent population history of native Americans. Science. 2015;349:aab3884. doi: 10.1126/science.aab3884. [DOI] [PMC free article] [PubMed] [Google Scholar]
  59. Reich D, Thangaraj K, Patterson N, Price AL, Singh L. Reconstructing Indian population history. Nature. 2009;461:489–494. doi: 10.1038/nature08365. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Reich D, Patterson N, Kircher M, Delfin F, Nandineni MR, Pugach I, Ko AM-S, Ko Y-C, Jinam TA, Phipps ME, Saitou N, Wollstein A, Kayser M, Pääbo S, Stoneking M. Denisova admixture and the first modern human dispersals into Southeast Asia and Oceania. The American Journal of Human Genetics. 2011;89:516–528. doi: 10.1016/j.ajhg.2011.09.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  61. Reich D, Patterson N, Campbell D, Tandon A, Mazieres S, Ray N, Parra MV, Rojas W, Duque C, Mesa N, García LF, Triana O, Blair S, Maestre A, Dib JC, Bravi CM, Bailliet G, Corach D, Hünemeier T, Bortolini MC, Salzano FM, Petzl-Erler ML, Acuña-Alonzo V, Aguilar-Salinas C, Canizales-Quinteros S, Tusié-Luna T, Riba L, Rodríguez-Cruz M, Lopez-Alarcón M, Coral-Vazquez R, Canto-Cetina T, Silva-Zolezzi I, Fernandez-Lopez JC, Contreras AV, Jimenez-Sanchez G, Gómez-Vázquez MJ, Molina J, Carracedo A, Salas A, Gallo C, Poletti G, Witonsky DB, Alkorta-Aranburu G, Sukernik RI, Osipova L, Fedorova SA, Vasquez R, Villena M, Moreau C, Barrantes R, Pauls D, Excoffier L, Bedoya G, Rothhammer F, Dugoujon JM, Larrouy G, Klitz W, Labuda D, Kidd J, Kidd K, Di Rienzo A, Freimer NB, Price AL. Ruiz-linares a. Reconstructing Native American Population History. Nature. 2012;488:370–374. doi: 10.1038/nature11258. [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Rogers AR. Legofit: estimating population history from genetic data. BMC Bioinformatics. 2019;20:526. doi: 10.1186/s12859-019-3154-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Scally A, Durbin R. Revising the human mutation rate: implications for understanding human evolution. Nature Reviews. Genetics. 2012;13:745–753. doi: 10.1038/nrg3295. [DOI] [PubMed] [Google Scholar]
  64. Schiffels S, Durbin R. Inferring human population size and separation history from multiple genome sequences. Nature Genetics. 2014;46:919–925. doi: 10.1038/ng.3015. [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Schiffels S, Haak W, Paajanen P, Llamas B, Popescu E, Loe L, Clarke R, Lyons A, Mortimer R, Sayer D, Tyler-Smith C, Cooper A, Durbin R. Iron age and anglo-saxon genomes from East England reveal British migration history. Nature Communications. 2016;7:10408. doi: 10.1038/ncomms10408. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Seguin-Orlando A, Korneliussen TS, Sikora M, Malaspinas A-S, Manica A, Moltke I, Albrechtsen A, Ko A, Margaryan A, Moiseyev V, Goebel T, Westaway M, Lambert D, Khartanovich V, Wall JD, Nigst PR, Foley RA, Lahr MM, Nielsen R, Orlando L, Willerslev E. Paleogenomics: genomic structure in Europeans dating back at least 36,200 years. Science. 2014;346:1113–1118. doi: 10.1126/science.aaa0114. [DOI] [PubMed] [Google Scholar]
  67. Shinde V, Narasimhan VM, Rohland N, Mallick S, Mah M, Lipson M, Nakatsuka N, Adamski N, Broomandkhoshbacht N, Ferry M, Lawson AM, Michel M, Oppenheimer J, Stewardson K, Jadhav N, Kim YJ, Chatterjee M, Munshi A, Panyam A, Waghmare P, Yadav Y, Patel H, Kaushik A, Thangaraj K, Meyer M, Patterson N, Rai N, Reich D. An ancient harappan genome lacks ancestry from steppe pastoralists or Iranian farmers. Cell. 2019;179:729–735. doi: 10.1016/j.cell.2019.08.048. [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Sikora M, Pitulko VV, Sousa VC, Allentoft ME, Vinner L, Rasmussen S, Margaryan A, de Barros Damgaard P, de la Fuente C, Renaud G, Yang MA, Fu Q, Dupanloup I, Giampoudakis K, Nogués-Bravo D, Rahbek C, Kroonen G, Peyrot M, McColl H, Vasilyev SV, Veselovskaya E, Gerasimova M, Pavlova EY, Chasnyk VG, Nikolskiy PA, Gromov AV, Khartanovich VI, Moiseyev V, Grebenyuk PS, Fedorchenko AYu, Lebedintsev AI, Slobodin SB, Malyarchuk BA, Martiniano R, Meldgaard M, Arppe L, Palo JU, Sundell T, Mannermaa K, Putkonen M, Alexandersen V, Primeau C, Baimukhanov N, Malhi RS, Sjögren K-G, Kristiansen K, Wessman A, Sajantila A, Lahr MM, Durbin R, Nielsen R, Meltzer DJ, Excoffier L, Willerslev E. The population history of northeastern Siberia since the Pleistocene. Nature. 2019;570:182–188. doi: 10.1038/s41586-019-1279-z. [DOI] [PubMed] [Google Scholar]
  69. Skoglund P, Posth C, Sirak K, Spriggs M, Valentin F, Bedford S, Clark GR, Reepmeyer C, Petchey F, Fernandes D, Fu Q, Harney E, Lipson M, Mallick S, Novak M, Rohland N, Stewardson K, Abdullah S, Cox MP, Friedlaender FR, Friedlaender JS, Kivisild T, Koki G, Kusuma P, Merriwether DA, Ricaut F-X, Wee JTS, Patterson N, Krause J, Pinhasi R, Reich D. Genomic insights into the peopling of the southwest Pacific. Nature. 2016;538:510–513. doi: 10.1038/nature19844. [DOI] [PMC free article] [PubMed] [Google Scholar]
  70. Soraggi S, Wiuf C. General theory for stochastic admixture graphs and F-statistics. Theoretical Population Biology. 2019;125:56–66. doi: 10.1016/j.tpb.2018.12.002. [DOI] [PubMed] [Google Scholar]
  71. Speidel L, Forest M, Shi S, Myers SR. A method for genome-wide genealogy estimation for thousands of samples. Nature Genetics. 2019;51:1321–1329. doi: 10.1038/s41588-019-0484-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. Tambets K, Yunusbayev B, Hudjashov G, Ilumäe AM, Rootsi S, Honkola T, Vesakoski O, Atkinson Q, Skoglund P, Kushniarevich A, Litvinov S, Reidla M, Metspalu E, Saag L, Rantanen T, Karmin M, Parik J, Zhadanov SI, Gubina M, Damba LD, Bermisheva M, Reisberg T, Dibirova K, Evseeva I, Nelis M, Klovins J, Metspalu A, Esko T, Balanovsky O, Balanovska E, Khusnutdinova EK, Osipova LP, Voevoda M, Villems R, Kivisild T, Metspalu M. Genes reveal traces of common recent demographic history for most of the uralic-speaking populations. Genome Biology. 2018;19:139. doi: 10.1186/s13059-018-1522-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  73. Terhorst J, Kamm JA, Song YS. Robust and scalable inference of population history from hundreds of unphased whole genomes. Nature Genetics. 2017;49:303–309. doi: 10.1038/ng.3748. [DOI] [PMC free article] [PubMed] [Google Scholar]
  74. Vallini L, Marciani G, Aneli S, Bortolini E, Benazzi S, Pievani T, Pagani L. Genetics and material culture support repeated expansions into paleolithic Eurasia from a population hub out of Africa. Genome Biology and Evolution. 2022;14:evac045. doi: 10.1093/gbe/evac045. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. van de Loosdrecht M, Bouzouggar A, Humphrey L, Posth C, Barton N, Aximu-Petri A, Nickel B, Nagel S, Talbi EH, El Hajraoui MA, Amzazi S, Hublin J-J, Pääbo S, Schiffels S, Meyer M, Haak W, Jeong C, Krause J. Pleistocene North African genomes link near eastern and sub-Saharan African human populations. Science. 2018;360:548–552. doi: 10.1126/science.aar8380. [DOI] [PubMed] [Google Scholar]
  76. Wang CC, Reinhold S, Kalmykov A, Wissgott A, Brandt G, Jeong C, Cheronet O, Ferry M, Harney E, Keating D, Mallick S, Rohland N, Stewardson K, Kantorovich AR, Maslov VE, Petrenko VG, Erlikh VR, Atabiev BC, Magomedov RG, Kohl PL, Alt KW, Pichler SL, Gerling C, Meller H, Vardanyan B, Yeganyan L, Rezepkin AD, Mariaschk D, Berezina N, Gresky J, Fuchs K, Knipper C, Schiffels S, Balanovska E, Balanovsky O, Mathieson I, Higham T, Berezin YB, Buzhilova A, Trifonov V, Pinhasi R, Belinskij AB, Reich D, Hansen S, Krause J, Haak W. Ancient human genome-wide data from a 3000-year interval in the Caucasus corresponds with eco-geographic regions. Nature Communications. 2019;10:590. doi: 10.1038/s41467-018-08220-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  77. Wang C-C, Yeh H-Y, Popov AN, Zhang H-Q, Matsumura H, Sirak K, Cheronet O, Kovalev A, Rohland N, Kim AM, Mallick S, Bernardos R, Tumen D, Zhao J, Liu Y-C, Liu J-Y, Mah M, Wang K, Zhang Z, Adamski N, Broomandkhoshbacht N, Callan K, Candilio F, Carlson KSD, Culleton BJ, Eccles L, Freilich S, Keating D, Lawson AM, Mandl K, Michel M, Oppenheimer J, Özdoğan KT, Stewardson K, Wen S, Yan S, Zalzala F, Chuang R, Huang C-J, Looh H, Shiung C-C, Nikitin YG, Tabarev AV, Tishkin AA, Lin S, Sun Z-Y, Wu X-M, Yang T-L, Hu X, Chen L, Du H, Bayarsaikhan J, Mijiddorj E, Erdenebaatar D, Iderkhangai T-O, Myagmar E, Kanzawa-Kiriyama H, Nishino M, Shinoda K, Shubina OA, Guo J, Cai W, Deng Q, Kang L, Li D, Li D, Lin R, Shrestha R, Wang L-X, Wei L, Xie G, Yao H, Zhang M, He G, Yang X, Hu R, Robbeets M, Schiffels S, Kennett DJ, Jin L, Li H, Krause J, Pinhasi R, Reich D. Genomic insights into the formation of human populations in East Asia. Nature. 2021;591:413–419. doi: 10.1038/s41586-021-03336-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  78. Yan J, Patterson N, Narasimhan VM. MiqoGraph: fitting admixture graphs using mixed-integer quadratic optimization. Bioinformatics. 2021;37:2488–2490. doi: 10.1093/bioinformatics/btaa988. [DOI] [PubMed] [Google Scholar]
  79. Yang M.A, Gao X, Theunert C, Tong H, Aximu-Petri A, Nickel B, Slatkin M, Meyer M, Pääbo S, Kelso J, Fu Q. 40,000-year-old individual from Asia provides insight into early population structure in Eurasia. Current Biology. 2017;27:3202–3208. doi: 10.1016/j.cub.2017.09.030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  80. Yang MA, Fan X, Sun B, Chen C, Lang J, Ko Y-C, Tsang C, Chiu H, Wang T, Bao Q, Wu X, Hajdinjak M, Ko AM-S, Ding M, Cao P, Yang R, Liu F, Nickel B, Dai Q, Feng X, Zhang L, Sun C, Ning C, Zeng W, Zhao Y, Zhang M, Gao X, Cui Y, Reich D, Stoneking M, Fu Q. Ancient DNA indicates human population shifts and admixture in northern and southern China. Science. 2020;369:282–288. doi: 10.1126/science.aba0909. [DOI] [PubMed] [Google Scholar]
  81. Zhang M, Yan S, Pan W, Jin L. Phylogenetic evidence for sino-tibetan origin in northern China in the late neolithic. Nature. 2019;569:112–115. doi: 10.1038/s41586-019-1153-z. [DOI] [PubMed] [Google Scholar]

Editor's evaluation

Magnus Nordborg 1

This is a rigorous and critical analysis of the performance of a popular suite of methods for inferring population history, accompanied by improvements. Should be of broad interest to anyone interested in human history.

Decision letter

Editor: Magnus Nordborg1
Reviewed by: David Balding2, Carsten Wiuf

In the interests of transparency, eLife publishes the most substantive revision requests and the accompanying author responses.

Decision letter after peer review:

[Editors’ note: the authors submitted for reconsideration following the decision after peer review. What follows is the decision letter after the first round of review.]

Thank you for submitting the paper "On the limits of fitting complex models of population history to genetic data" for consideration by eLife. Your article has been reviewed by 4 peer reviewers, including Magnus Nordborg as the Reviewing Editor and Reviewer #1, and the evaluation has been overseen by a Senior Editor. The following individuals involved in review of your submission have agreed to reveal their identity: Carsten Wiuf (Reviewer #2); David Balding (Reviewer #3).

Comments to the Authors:

We are sorry to say that, after consultation with editors and reviewers, we have decided that this work cannot be published in eLife in its current form. We all agree that the work is excellent, and the writing is good in a local sense, but the manuscript is also overly long and its current presentation makes not very accessible even to those who are genuinely interested in this area (see also individual comments below). While the manuscript contains interesting and important points about population genomics inference and human history, these are buried in what is best described as a mixture between a lab blog and a user manual for ADMIXTURETOOLS. It is thus unclear what the target audience is.

If you were willing to substantially streamline the presentation, so that it is more in the form of a conventional (computational) biology paper, we would be willing to reconsider a new submission for eLife.

Reviewer #1 (Recommendations for the authors):

Research on human population history has long used models of population splitting with subsequent admixture to make sense of polymorphism data (mostly from humans, but also from commensal species). In this paper, Maier et al use introduce algorithmic improvements that allow them to search the space of such "admixture graphs" more exhaustively and use them to re-evaluate a large number of published results in order to investigate whether the corresponding studies really found the "best" models. They find that they generally did not, and conclude that greater caution is in order when interpreting these kinds of data.

The work is encyclopedic (the single-spaced manuscript is over 50 pages - a monograph, really) and well written. The conclusions are well supported and illustrated by many examples.

The main problem I have with the paper is that reading it feels a bit like entering a cladistics meeting where people debate things like the significance of a particular scale on the middle toe of the Lesser Two-headed Tree Wrangler. While the overall point is clear, the details (and there are many) will be obscure unless you are intimately familiar with the specific examples. This means that the majority of the contents of the paper will/must be skipped by those not directly working on human population history. Which is a pity, as the overall conclusions are generally relevant.

Furthermore, just as would have been the case at a cladistics meeting, this paper is narrowly focused on a particular analysis framework. Technical terms like "f-statistic" are thrown around without introduction. In the few remaining corners of population genetics that do not work on human genetics, there are those who do not think in terms of discrete populations, and who hold heretical notions about isolation-by-distance. The question of whether *any* admixture graph is a good model for the data is not asked here - and it arguably should be given the generality of the title. As the paper makes very clear, there are indeed limits to what we can infer about history from genetic data. However, beyond a vague "here be monsters", the paper offers a general audience little guidance about which of the large numbers of claims in illustrious journals are actually likely to be true.

I think this is an excellent and important paper written for a narrow audience. If you want to reach a larger audience, a very different paper is in order.

I also think you do not address the very broad question in the title – this would again be a different paper.

Reviewer #2 (Recommendations for the authors):

The authors aim to correct inference problems with existing software by changing and implementing new features of Admixtools. The conclusions are supported by the results. The program will likely be much used.

The authors deserve credit for acknowledging that there might be many admixture graphs fitting a given data set equally well and that this fact has not been acknowledged in any/many previous study(ies), incl the authors own :-

Also they deserve credit for a quite substantial re-analysis of already published data.

The novelty and selling point seem to be a new version of Admixturetools (together with re-analysis). However, several of the "new ideas" implemented are already in Admixturetools 7.0.2, so the novelty is quite limited. While I acknowledge computational speed-ups, clever data manipulations, proper testing and so forth are important and important to publish, it does not seem to have the novelty-level required for eLife.

Reviewer #3 (Recommendations for the authors):

The authors briefly describe improvements to the popular ADMIXTOOLS software, now released as ADMIXTOOLS2. These include computational speedups that allow computationally-intensive resampling-based methods such as bootstrap to help assess model fit, even for large datasets, as well as a more extensive automated search over model space (exhaustive search is still infeasible, so constraints based on judgments of plausibility are still required).

Using these improved tools, the authors extensively re-analyse 8 published datasets (human, dog and horse), and find many conclusions of the original authors about demographic history to be not well supported. This is because there exist other plausible models, often many of them, that fit the data better, sometimes significantly so, that does not support the original authors' conclusions based on their preferred model. Often there are also even more alternative models that fit the data worse than the published model, but not significantly worse and so they cannot be excluded.

I'm a statistical methods person not closely familiar with any of the studies re-analysed here, so I don't have deep insights about the revised analyses proposed here. However, the authors seem to me to have conducted a careful and well-justified model fitting exercise with important conclusions and implications for future analyses.

The authors conclude with recommendations for future analyses of genetic data to make inferences about population history. They hope to change the field in a similar way to the step change in standards for statistical significance in association studies that occurred around 2008. The guidelines proposed are no doubt open to improvement over time, but I agree that this study is likely to have a big impact on the field of demographic history inference leading to better-justified conclusions from future analyses. The problem addressed is much more complex than genetic association, and conclusions based on limited exploration of a vast model space will always open to further improvement.

It's a very good paper, I don't have much to say at a general level except that it is very long and perhaps trying to do too much. The introduction of ADMIXTOOLS2 and the general discussion about principles of model fitting both seem inadequate. In contrast, the discussion of the re-analyses of datasets is very thorough. Perhaps two papers would have been better?

In a generally well-written paper I found the first sentence of the abstract confusing "… the only information needed to capture the patterns of allele frequency correlation among populations". Why is "capturing.… correlation" your primary focus? I would restate with an objective that is comprehensible to a general reader.

Abstract L17: "Our results suggest that strong claims.…. be made when all well-fitting and temporally plausible models share common topological features" This doesn't follow from the results, you are asserting it as a principle. The "all.… models" is perhaps a strong requirement when there are many of them.

L42 " finding fitting".

L163 " the time required to process.. trivial compared to the time required to compute.…" I found this confusing because its unclear to me what "process" means here.

L291 " Parameters with extremely wide confidence intervals can thus be immediately shown to be poorly determined." Vacuous statement – the paper is already very long! Delete.

L300 define "worst-residual" (maybe refer here to an explanation in methods).

L303 "… methods relying on AIC or BIC.… were over-aggressive". The merits of resampling based versus likelihood based model comparison is an extremely important topic, it's beyond the scope of the present paper to discuss fully here but you should be able to cite some authorities to support this claim.

L342 "to test the null hypothesis that the true difference in log-likelihood.… is zero" The log-likelihood is a function of the data so is not appropriate in a null hypothesis, which should be a statement about models/parameters and not data.

L375 "… without either fixing one of them or forcing the lengths to be evenly distributed." not strictly true and there must be a better way to say what you mean: we can only estimate 1 parameter, not both.

L514 "Lower scores of the fits obtained.… indicate overfitting to the full data set." This is one of the first of many references to overfitting that I found unsatisfactory as I did not notice a discussion of its implications for your analyses. Overfitting is a broad and ubiquitous phenomenon, why is it important here? I feel you should remove these (not needed to justify your main conclusions) or explain better. Are you diagnosing a mechanism that has led other authors astray? Also the specific wording "overfitting to the full data set" seems odd, is there any other kind of overfitting?

L614 "Near East" Near to what? East of what? Please use standard terminology that is meaningful to a general reader, not this outdated colonial-era relic. Similarly for "Middle East" (L687): that term is widely used but not appropriate in a science paper, use "West Asia" or "Eastern Mediterranean" something more specific. Also "Levantine" – is that a standard term in the dog world? It seems not from a quick search. Replace with some more meaningful to a general reader.

L662 "pseudo-diploid" has not been explained. I looked it up and the meaning I found doesn't make sense here.

L1119 "cannot be right" is not an appropriate way to summarise statistical evidence.

L1505 explain(or replace) "high degeneracy".

L1677 "time and population size as the two sources of genetic drift" they are factors affecting rather than sources.

Reviewer #4: (Recommendations for the authors):

Overview:

The article is composed of a review of the existing method for the admixture graph estimation and the update of the ADMIXTURETOOLS, and the application of the package to real-life examples. The Results section is hard to follow, and it contains substantial parts which would better fit the Introduction section and the User Manual. Figures are in their draft versions.

Plusses:

The existing ADMIXTURETOOLS method was improved by useful features (confidence intervals and identifiability of admixture graph parameters and the searching the space of all admixture graphs), and heuristics significantly sped it up for f-statistics computations.

Minuses:

L139: what are the philosophical differences between two versions of ADMIXTURETOOLS.

L169: the bias should be demonstrated more clearly.

L175: what is the regression approach to estimate f-statistics.

L186: "pseudo-diploid and pseudo-haploid" – these computational details are not properly explained if they are essential.

L190: "unbiased" – analysis of bias based on the number of samples is required.

L194: "inbreed: YES" option – user manual detail. This detail does not mean much for users who have not worked with ADMIXTURETOOLS.

L201: "incorrect algorithm for calculating" – should be explained more. It would be more important than to mention user manual details.

Figure1 should be rearranged in columns; there are a lot of places for it.

Figure1a: low subfigure x-axis should be reorganized.

Figure1b: if the formula for the F4 is exact, then what is the source of mentioned bias, and where is the heuristics.

Figure1c: what is the difference between all F3/4. Is there any conventional definition, and what is the difference between mentioned definitions? This should be organized as a table, nut a subfigure.

Figure1d: Why are formulas for F3 not presented.

Figure2: Dash dots for the y-axis levels should be presented to compare bars.

Figure3: (a,b) – what does it mean? The figure is in the draft stage.

1. No basic explanation for unprepared readers, what are f2/f3/f4, and what is the practical difference between them.

2. The article contains many references to features from the ADMIXTURETOOLS by names, without explanation. Authors should provide the text to a broad audience of eLife, but not for the users of ADMIXTURETOOLS.

Suggestions:

1. I strongly recommend revising the manuscript stricture. For example, the result section is a blend of "literature revie,"&"draft result"&"methods"&"program manual".

2. The text should be significantly reduced, especially when it is hard to read and seems to be in its draft version.

3. Type of the article should be defined more clearer: whether it is a research article? New method? Or a review manuscript of the existing methods.

4. Be more accurate with figures. In the current version, figures are not properly arranged and resemble draft versions.

5. Introduce the abbreviation for "admixture graph" as, for instance, AG.

eLife. 2023 Jun 29;12:e85492. doi: 10.7554/eLife.85492.sa2

Author response


[Editors’ note: the authors resubmitted a revised version of the paper for consideration. What follows is the authors’ response to the first round of review.]

Comments to the Authors:

We are sorry to say that, after consultation with editors and reviewers, we have decided that this work cannot be published in eLife in its current form. We all agree that the work is excellent, and the writing is good in a local sense, but the manuscript is also overly long and its current presentation makes not very accessible even to those who are genuinely interested in this area (see also individual comments below). While the manuscript contains interesting and important points about population genomics inference and human history, these are buried in what is best described as a mixture between a lab blog and a user manual for ADMIXTURETOOLS. It is thus unclear what the target audience is.

We are glad the reviewers found the work to be of high quality, and we appreciate the critical comments about the presentation; we believe our revision is very much easier to read. The primary audience of our revision is the large community of researchers analyzing genome-wide data including ancient DNA data to learn about population history of diverse species (not just humans, but also other species as exemplified by the dog and horse datasets we analyze). For this community, Admixture Graph fitting has become a tool whose deployment has almost become de rigueur. Our systematic re-examination of 8 published studies highlights the pitfalls that can arise in applying this tool.

If you were willing to substantially streamline the presentation, so that it is more in the form of a conventional (computational) biology paper, we would be willing to reconsider a new submission for eLife.

We streamlined the presentation as follows. We moved all methodological details on findGraphs and ADMIXTOOLS 2 to Appendix 1 (including the original Figures 1 to 3), and shortened the descriptions of case studies substantially, moving a large fraction of that text to Appendix 2. As a result of these changes, the length of the main text (Introduction – Methods, including figure and table legends) was reduced by about half, from 27,452 to 14,410 words.

Reviewer #1 (Recommendations for the authors):

Research on human population history has long used models of population splitting with subsequent admixture to make sense of polymorphism data (mostly from humans, but also from commensal species). In this paper, Maier et al use introduce algorithmic improvements that allow them to search the space of such "admixture graphs" more exhaustively and use them to re-evaluate a large number of published results in order to investigate whether the corresponding studies really found the "best" models. They find that they generally did not, and conclude that greater caution is in order when interpreting these kinds of data.

The work is encyclopedic (the single-spaced manuscript is over 50 pages - a monograph, really) and well written. The conclusions are well supported and illustrated by many examples.

The main problem I have with the paper is that reading it feels a bit like entering a cladistics meeting where people debate things like the significance of a particular scale on the middle toe of the Lesser Two-headed Tree Wrangler. While the overall point is clear, the details (and there are many) will be obscure unless you are intimately familiar with the specific examples. This means that the majority of the contents of the paper will/must be skipped by those not directly working on human population history. Which is a pity, as the overall conclusions are generally relevant.

We modified the main text to remove as many details as possible. All methodological details on the ADMIXTOOLS 2 algorithms were moved to Appendix 1, which is divided into two parts. Part 1 includes more accessible summaries of methodological problems and the solutions we propose, while part 2 presents further technical details. Appendix 2 presents all the technical details relevant for understanding the case studies from the literature, while brief summaries of the 8 case studies were kept in the main text. This revision cut the overall length by about half and makes the manuscript more accessible.

Furthermore, just as would have been the case at a cladistics meeting, this paper is narrowly focused on a particular analysis framework. Technical terms like "f-statistic" are thrown around without introduction.

We added a brief definition of f-statistics in the Introduction (lines 49-59): “AGs are fitted to f-statistics (Reich et al. 2009, Patterson et al. 2012, Peter 2016, Soraggi and Wiuf 2019). For convenience, below we use a concise definition of f-statistics by Lipson (2020): “The most general definition is that of the f4-statistic f4(A, B; C, D), which measures the average correlation in allele frequency differences between (a) populations A and B and (b) populations C and D i.e., (pA – pB) × (pC – pD), for allele frequencies p, typically averaged over many biallelic single-nucleotide polymorphisms. This f4-statistic is the same as the D-statistic up to a normalization factor.” The other f-statistics (f2 and f3) can be defined as special cases of f4-statistics: f2(A, B) = f4(A, B; A, B) and f3(A; B, C) = f4(A, B; A, C). f4-statistics can be written as linear combinations of f3- or f2-statistics, and f3-statistics can be written as linear combinations of f4- and f2-statistics. f2-, f3-, and f4-statistics have straightforward interpretations in terms of drift edges along the tree, see Figure 2 in Patterson et al. (2012) and Figure A1b.”

In the few remaining corners of population genetics that do not work on human genetics, there are those who do not think in terms of discrete populations, and who hold heretical notions about isolation-by-distance. The question of whether *any* admixture graph is a good model for the data is not asked here - and it arguably should be given the generality of the title.

We agree that it is important to ask whether any admixture graph with pulse-like gene flows is a good model for real-life data. However, our paper is complex and long enough, and we believe that expanding its scope even further to address this issue is not a good idea. Instead, we focus on a different but equally important problem for the usefulness of these methods, which is that even if gene flows are pulse-like, are fits of admixture graph data to models reliable?

In our revision we demonstrate on simulated data (see the newly added section “Topological diversity of well-fitting models and effects of parsimony constraints on simulated data”), as well as on real data, that the admixture graph fitting approach is deeply problematic even if populations evolve as distinct units, with pulse-like admixture events. We changed the title to the following to be more specific to the type of data we are analyzing: “On the limits of fitting complex models of population history to f-statistics”.

As the paper makes very clear, there are indeed limits to what we can infer about history from genetic data. However, beyond a vague "here be monsters", the paper offers a general audience little guidance about which of the large numbers of claims in illustrious journals are actually likely to be true.

With respect, we believe that we are as clear as possible in providing guidance to readers about which claims in previous publications are reliable.

Our paper provides evidence that novel claims about human history based on manually constructed admixture graphs are unreliable when modeling more than six populations and two or three admixture events. In particular, we report a systematic survey of 8 published papers, and in 7 cases find topologically very different admixture graphs that fit the data as well or in some cases even significantly better than published graphs. We wrote the following on lines 277-288 to provide the reader with some guidance about how to think about generalizability of this re-analysis of published findings:

“The studies were selected according to the criterion that an AG model inferred in the study is used as primary evidence for at least one statement about population history in the main text of the study. In other words, the AG method was used in the original studies to support new conclusions about population history, and not simply to show that there is a model that exists that does not contradict results of other genetic analyses, an approach that is a valid use of AGs and has been taken in some studies (e.g., Seguin-Orlando et al. 2014, Narasimhan et al. 2019, Wang et al. 2019). There are many published studies that could have been included in our re-evaluation exercise as they meet our key criterion (e.g., Yang et al. 2017, McColl et al. 2018, Posth et al. 2018, Flegontov et al. 2019, Calhoff et al. 2021, Kutanan et al. 2021, Bergström et al. 2022, Lipson et al. 2022, and Vallini et al. 2022). However, critical re-evaluation of each published graph is an intensive process, and the sample of studies we revisited is diverse enough to identify some general patterns.”

Moreover, the newly added results section devoted to simulated data makes it clear that the key problem that we identified (high topological diversity among well-fitting models) is applicable to virtually any admixture graph fitted to f-statistics, whether inferred manually or automatically.

I think this is an excellent and important paper written for a narrow audience. If you want to reach a larger audience, a very different paper is in order.

Following consultation with the editors, we streamlined the presentation as follows. We moved all methodological details on findGraphs and ADMIXTOOLS 2 to Appendix 1 (including Figures 1 to 3), and shortened descriptions of case studies substantially, moving a large fraction of that text to Appendix 2. As a result of these changes, the length of the main text (Introduction – Methods, including figure and table legends) was reduced by about a half, from 27,452 to 14,410 words.

I also think you do not address the very broad question in the title – this would again be a different paper.

As discussed in the section “A Proposed Protocol for Using AG Fitting in Genetic Studies”, in the Conclusions, and elsewhere in the manuscript, we are not attempting to solve all conceptual problems relevant to the approach of using admixture graphs to model population history, although we do discuss a number of these issues. The problems that we do attempt to resolve are listed in Appendix 1, section 1 (see the subsection titles). We changed the title to be more specific to the focus of our paper: “On the limits of fitting complex models of population history to f-statistics”.

Reviewer #2 (Recommendations for the authors):

The authors deserve credit for acknowledging that there might be many admixture graphs fitting a given data set equally well and that this fact has not been acknowledged in any/many previous study(ies), incl the authors own :-

Also they deserve credit for a quite substantial re-analysis of already published data.

The novelty and selling point seem to be a new version of Admixturetools (together with re-analysis). However, several of the "new ideas" implemented are already in Admixturetools 7.0.2, so the novelty is quite limited.

We disagree – these methodological improvements are being described for the first time in this paper, and thus the present paper serves as the original reference for them. The improvements to Classic ADMIXTOOLS (implemented in Admixtools 7.0.2) were released by Nick Patterson on the github page of Classic ADMIXTOOLS and by Robert Maier on the github page of ADMIXTOOLS 2 in parallel, once it became clear within our laboratory that these were meaningful advances that would improve the performance of both software packages (we are all in the same laboratory).

While I acknowledge computational speed-ups, clever data manipulations, proper testing and so forth are important and important to publish, it does not seem to have the novelty-level required for eLife.

We believe the most novel part of our manuscript lies in the application of the new methodology to revisiting admixture graphs central to several high-profile published studies, and we have refocused our manuscript around this content. Since the approach of fitting admixture graph models of population history is used widely in human and animal genetics for making claims about demography, a cautionary study like ours is in order. Our paper also presents results important for understanding, for example, deep human population history in Africa and East Asia, or population history of dogs and horses. In the revised manuscript, these new findings are highlighted in the greatly shortened Results section, where critical evaluation of each published study occupies up to a page and often substantially less.

Reviewer #3 (Recommendations for the authors):

It's a very good paper, I don't have much to say at a general level except that it is very long and perhaps trying to do too much. The introduction of ADMIXTOOLS2 and the general discussion about principles of model fitting both seem inadequate. In contrast, the discussion of the re-analyses of datasets is very thorough. Perhaps two papers would have been better?

Upon consultation with the editors, we streamlined the presentation as follows. We moved all methodological details on findGraphs and ADMIXTOOLS 2 to Appendix 1 (including Figures 1 to 3), and shortened descriptions of case studies substantially, moving a large fraction of that text to Appendix 2. As a result of these changes, the length of the main text (Introduction – Methods, including figure and table legends) was reduced by about a half, from 27,452 to 14,410 words.

In a generally well-written paper I found the first sentence of the abstract confusing "… the only information needed to capture the patterns of allele frequency correlation among populations". Why is "capturing.… correlation" your primary focus? I would restate with an objective that is comprehensible to a general reader.

We unpacked the first sentence as follows: “Our understanding of population history in deep time has been assisted by fitting admixture graphs (“AGs”) to data: models that specify the ordering of population splits and mixtures, which along with the amount of genetic drift on each lineage and the proportions of mixture, is the only information needed to predict the patterns of allele frequency correlation among populations.”

Abstract L17: "Our results suggest that strong claims.…. be made when all well-fitting and temporally plausible models share common topological features" This doesn't follow from the results, you are asserting it as a principle. The "all.… models" is perhaps a strong requirement when there are many of them.

We write on lines 399-405: “The fraction of graphs with scores better than the score of the published graph should not be overinterpreted, as it is influenced by the findGraphs algorithm, which does not guarantee ergodic sampling from the space of well-fitting AGs. In particular, it is possible that despite findGraph’s strategies for efficiently identifying classes of well-fitting AGs (see Appendix 1, sections 1.B.1 and 2.C), it has a bias toward missing particular classes of graph topologies. However, even one alternative graph which is not significantly worse-fitting than the published graph suggests that we are not able to identify a single best-fitting model.”

Since the sets of graphs found by findGraphs are not guaranteed to sample evenly the space of well-fitting models, we believe that even one AG contradicting a statement about history is enough to say that statement lacks support by the AG approach.

L42 " finding fitting".

The sentence (now on line 61) reads as follows: “Previously published methods for finding fitting AGs (mainly qpGraph (Patterson et al. 2012) and TreeMix (Pickrell and Pritchard 2012, Molloy et al. 2021)) were not well-equipped to handle the large range of equally well-fitting models for three reasons…” We believe there is nothing wrong or unclear in this sentence.

L163 " the time required to process.. trivial compared to the time required to compute.…" I found this confusing because its unclear to me what "process" means here.

We have rephrased this as follows: “For most f-statistic-based analyses (for example qpWave, qpAdm, and qpGraph; Figure A1c), the time required to compute f3- and f4-statistics algebraically from f2-statistics is trivial compared to the time required to load genotype data and compute f2-statistics. These f2-statistics can be stored and re-used to compute f3- and f4-statistics, thus reducing the size of the input data, runtime, and memory requirements by orders of magnitude (Figure A1a, 1d).”

L291 " Parameters with extremely wide confidence intervals can thus be immediately shown to be poorly determined." Vacuous statement – the paper is already very long! Delete.

We have removed this.

L300 define "worst-residual" (maybe refer here to an explanation in methods)

We mean “worst f4-statistic residuals (WR)”, as mentioned on line 213 and elsewhere. We have tried to clarify this in our revision.

L303 "… methods relying on AIC or BIC.… were over-aggressive". The merits of resampling based versus likelihood based model comparison is an extremely important topic, it's beyond the scope of the present paper to discuss fully here but you should be able to cite some authorities to support this claim.

We decided to avoid a lengthy discussion about the ability of model likelihood to take the variability across SNPs into account. As mentioned at several points in the main text and Appendices, the bootstrapping approach to model comparison is superior to AIC and BIC since these methods have another problem: it is often not clear what the effective number of degrees of freedom is in the two models being compared since in the case of AGs it depends not only on the number of graph edges, but also on graph topology.

L342 "to test the null hypothesis that the true difference in log-likelihood.… is zero" The log-likelihood is a function of the data so is not appropriate in a null hypothesis, which should be a statement about models/parameters and not data.

We have rephrased the sentence as: “These new incorrect models are symmetrically related to the first graph and can be used to test whether the true difference in LL scores of these two graphs is zero.”

L375 "… without either fixing one of them or forcing the lengths to be evenly distributed." not strictly true and there must be a better way to say what you mean: we can only estimate 1 parameter, not both.

The statement above was removed to avoid confusion.

L514 "Lower scores of the fits obtained.… indicate overfitting to the full data set." This is one of the first of many references to overfitting that I found unsatisfactory as I did not notice a discussion of its implications for your analyses. Overfitting is a broad and ubiquitous phenomenon, why is it important here? I feel you should remove these (not needed to justify your main conclusions) or explain better. Are you diagnosing a mechanism that has led other authors astray? Also the specific wording "overfitting to the full data set" seems odd, is there any other kind of overfitting?

We mention evidence of overfitting (log-likelihood (LL) on all sites outside of the LL confidence interval on bootstrap replicates) to highlight that some published models are too-good fits to the data to be statistically believable, due to fitting more parameters to the data that the data are able to support. We also discuss a mechanism that can lead to construction of such overly complex models: building graphs by adding one group at a time AND the requirement that model WR should be below 3 SE or another threshold AT ALL STEPS of this process. This is commented on in the paper on lines 731-740:

“Overfitting arises naturally during manual graph construction as performed in many studies (not only in Hajdinjak et al. (2021), but also in Fu et al. 2016, Skoglund et al. 2016, Yang et al. 2017, Posth et al. 2018, McColl et al. 2018, Moreno-Mayar et al. 2018, Tambets et al. 2018, van de Loosdrecht et al. 2018, Flegontov et al. 2019, Sikora et al. 2019, Wang et al. 2019, Lipson et al. 2020, Shinde et al. 2019, Yang et al. 2020, and Wang et al. 2021). The graph grew one group at a time, and each newly added group was mapped on to the pre-existing skeleton graph as unadmixed or as a 2-way mixture. Another requirement was that all intermediate graphs have good absolute fits (WR below 3 or 4 SE). When the model-building process is constrained in a particular path and fits of all intermediates are required to be good, unnecessary admixture events are often added along the way, and the resulting graph belongs to a complexity class in which models are overfitted.”

L614 "Near East" Near to what? East of what? Please use standard terminology that is meaningful to a general reader, not this outdated colonial-era relic. Similarly for "Middle East" (L687): that term is widely used but not appropriate in a science paper, use "West Asia" or "Eastern Mediterranean" something more specific. Also "Levantine" – is that a standard term in the dog world? It seems not from a quick search. Replace with some more meaningful to a general reader.

We removed the words “to the full data set”, as suggested.

L662 "pseudo-diploid" has not been explained. I looked it up and the meaning I found doesn't make sense here.

We replaced “Near East” and “Middle East” by “West Asia”; and we replaced “Levantine” by “East Mediterranean”, as suggested.

L1119 "cannot be right" is not an appropriate way to summarise statistical evidence.

We have updated the definition of “pseudo-haploid” data and removed the term “pseudo-diploid” to avoid confusion. See lines 44-45, Appendix 1: ‘genotypes derived by randomly selecting one sequencing read at each variable position (“pseudo-haploid” data)’.

L1505 explain (or replace) "high degeneracy".

The sentence was rephrased.

L1677 "time and population size as the two sources of genetic drift" they are factors affecting rather than sources.

“High degeneracy” was replaced by “high topological diversity”.

Reviewer #4: (Recommendations for the authors):

Overview:

The article is composed of a review of the existing method for the admixture graph estimation and the update of the ADMIXTURETOOLS, and the application of the package to real-life examples. The Results section is hard to follow, and it contains substantial parts which would better fit the Introduction section and the User Manual. Figures are in their draft versions.

Upon a consultation with the editors, we streamlined the presentation as follows: we moved all methodological details on findGraphs and ADMIXTOOLS 2 to Appendix 1 (including Figures 1 to 3), and shortened descriptions of case studies substantially, moving a large fraction of that text to Appendix 2. As a result of these changes, the length of the main text (Introduction – Methods, including figure and table legends) was reduced by about a half, from 27,452 to 14,410 words.

Plusses:

The existing ADMIXTURETOOLS method was improved by useful features (confidence intervals and identifiability of admixture graph parameters and the searching the space of all admixture graphs), and heuristics significantly sped it up for f-statistics computations.

Minuses:

L139: what are the philosophical differences between two versions of ADMIXTURETOOLS.

This statement was removed for clarity. A conceptual difference between the two packages is the possibility of calculating various statistics (such as admixture graph log-likelihoods (LLs) or qpAdm p-values) across bootstrap-resampled replicates of the dataset (implemented in ADMIXTOOLS 2), and the introduction of findGraphs.

L169: the bias should be demonstrated more clearly.

To be consistent with methodology in the original publications and to avoid biases associated with missing data, in this study we removed missing data prior to calculation of f-statistics and fitting of admixture graphs. We believe that the discussion of biased f-statistics associated with missing data is important but would add additional detail in what is already a long paper, which is not necessary for our exposition. A discussion of best practices for calculating f-statistics in the presence of missing data is presented on the ADMIXTOOLS 2 github page: https://uqrmaie1.github.io/admixtools/articles/fstats.html#bias-due-to-missing-data

L175: what is the regression approach to estimate f-statistics.

We have rephrased the sentences for clarity: “The program qpfstats in Classic ADMIXTOOLS implements an idea which strikes a balance between these two extremes. It increases the accuracy of estimation of f-statistics by using a regression approach to jointly estimate the values of all f2-, f3- and f4-statistics relating a set of populations. Specifically, qpfstats searches for values of these statistics that are not only consistent with information from the SNPs that have data in the groups used to compute each particular f-statistic, but also satisfy the algebraic relationships expected with other f-statistics (thus incorporating information from data at many additional SNPs). See further details on this algorithm at https://github.com/DReichLab/AdmixTools/blob/master/qpfs.pdf.”

L186: "pseudo-diploid and pseudo-haploid" – these computational details are not properly explained if they are essential.

We have updated the definition of “pseudo-haploid” data and removed the term “pseudo-diploid” to avoid confusion. See lines 44-45, Appendix 1: ‘genotypes derived by randomly selecting one sequencing read at each variable position (“pseudo-haploid” data)’.

L190: "unbiased" – analysis of bias based on the number of samples is required.

The corrected algorithm for calculating negative f3-statistics on non-singleton pseudo-haploid populations is not new (it is triggered by the “inbreed: YES” setting in Classic ADMIXTOOLS) and rather trivial, and for this reason we believe that an analysis of its performance is beyond the scope of our already-long manuscript. However, this problem was overlooked in Classic ADMIXTOOLS qpGraph, where the basic algorithm (that is OK for diploid, but not for pseudo-haploid data) is applied if at least one singleton pseudo-haploid group is present in the dataset. The corrected algorithm for calculating f3-statistics is discussed in our manuscript extensively on lines 42-78 and 328-354 in Appendix 1 and on lines 809-850 in Appendix 2.

L194: "inbreed: YES" option – user manual detail. This detail does not mean much for users who have not worked with ADMIXTURETOOLS.

In the updated manuscript, ADMIXTOOLS option names and similar details are mentioned in Appendices only, not in the main text. We believe that these names of settings in Classic ADMIXTOOLS or ADMIXTOOLS 2 are convenient pointers referring to algorithms that would otherwise be referred to by long names, and therefore we keep these pointers in the Appendices. We also believe that providing some “user manual details” is important for helping readers to understand which settings are equivalent in Classic ADMIXTOOLS and ADMIXTOOLS 2. Options bear different names in these programs, and the manual for Classic ADMIXTOOLS is very short.

L201: "incorrect algorithm for calculating" – should be explained more. It would be more important than to mention user manual details.

The problem we discovered in calculation of f3-statistics of the form f3(pseudo-haploid group; A, B) by the qpGraph software and the new algorithm for calculation of f3-statistics on pseudo-haploid data is described in detail in Appendix 1 on lines 42-78 and 328-354, in Appendix 2 on lines 809-850, and is referred to in the main text on lines 595-599. We believe this issue is discussed sufficiently in the revised paper.

Figure1 should be rearranged in columns; there are a lot of places for it.

We moved the former Figure 1 to the Appendix and feel that it is a good visual presentation.

Figure1a: low subfigure x-axis should be reorganized.

We do not understand how the x-axis in this figure panel should be reorganized; the figure seems clear to us.

Figure1b: if the formula for the F4 is exact, then what is the source of mentioned bias, and where is the heuristics.

The formula expressing an f4-statistic as a sum of f2-statistics is only exact when using the same SNPs for all population pairs. In the presence of missing data, the formula no longer holds, and this can be a source of bias. This issue is well-known in and is described extensively on the ADMIXTOOLS 2 manual pages:

https://uqrmaie1.github.io/admixtools/articles/fstats.html#bias-due-to-missing-data

Figure1c: what is the difference between all F3/4. Is there any conventional definition, and what is the difference between mentioned definitions?

We added a definition of f-statistics in the Introduction (lines 49-59): “AGs are fitted to f-statistics (Reich et al. 2009, Patterson et al. 2012, Peter 2016, Soraggi and Wiuf 2019). For convenience, below we use a concise definition of f-statistics by Lipson (2020): “The most general definition is that of the f4-statistic f4(A, B; C, D), which measures the average correlation in allele frequency differences between (a) populations A and B and (b) populations C and D i.e., (pA – pB) × (pC – pD), for allele frequencies p, typically averaged over many biallelic single-nucleotide polymorphisms. This f4-statistic is the same as the D-statistic up to a normalization factor.” The other f-statistics (f2 and f3) can be defined as special cases of f4-statistics: f2(A, B) = f4(A, B; A, B) and f3(A; B, C) = f4(A, B; A, C). f4-statistics can be written as linear combinations of f3- or f2-statistics, and f3-statistics can be written as linear combinations of f4- and f2-statistics. f2-, f3-, and f4-statistics have straightforward interpretations in terms of drift edges along the tree, see Figure 2 in Patterson et al. (2012) and Figure A1b.”

This should be organized as a table, nut a subfigure.

If the editors allow, we would prefer to keep panel c as a sub-figure, since we would like to avoid another display item which would be referred to only once.

Figure1d: Why are formulas for F3 not presented.

The formulas shown at the bottom of panel d stand for the number of data points that ADMIXTOOLS and ADMIXTOOLS 2 keep in memory, see the legend:

“Shown below are the number of data points for N individuals, M SNPs, and k populations.”

See also below in the legend:

“The exact number of all possible non-redundant f2, f3, and f4-statistics for k populations are (k2), 12(k3), and  13(k4).”

Figure2: Dash dots for the y-axis levels should be presented to compare bars.

We moved the former Figure 2 to the Appendix and feel that it is a good visual presentation.

Figure3: (a,b) – what does it mean? The figure is in the draft stage.

Please see the legend for this figure (now Figure A3):

a Bootstrap sampling distributions of the log-likelihood scores for two AGs (shown in Figure S1) of the same populations fitted using real data. Vertical lines show the log-likelihood scores computed on all SNP blocks.

b Distribution of differences of the bootstrap log-likelihood scores for both graphs (same data as in a). The purple area shows the proportion of resamplings in which the first graph has a higher score than the second graph. The two-sided p-value for the hypothesis of no difference is equivalent to twice that area (or one over the number of bootstrap iterations if all values fall on one side of zero). In this case it is 0.078.”

1. No basic explanation for unprepared readers, what are f2/f3/f4, and what is the practical difference between them.

We added a definition of f-statistics in the Introduction (lines 49-57):

“AGs are fitted to f-statistics (Reich et al. 2009, Patterson et al. 2012, Peter 2016, Soraggi and Wiuf 2019). For convenience, below we use a concise definition of f-statistics by Lipson (2020): “The most general definition is that of the f4-statistic f4(A, B; C, D), which measures the average correlation in allele frequency differences between (a) populations A and B and (b) populations C and D i.e., (pA – pB) × (pC – pD), for allele frequencies p, typically averaged over many biallelic single-nucleotide polymorphisms. This f4-statistic is the same as the D-statistic up to a normalization factor.” The other f-statistics (f2 and f3) can be defined as special cases of f4-statistics: f2(A, B) = f4(A, B; A, B) and f3(A; B, C) = f4(A, B; A, C). f4-statistics can be written as linear combinations of f3- or f2-statistics, and f3-statistics can be written as linear combinations of f4- and f2-statistics.”

We also refer to the easily understandable topological interpretation of these statistics in terms of drift edges as featured in Patterson et al. 2012 and in our paper in Figure A1b:

f2-, f3-, and f4-statistics have straightforward interpretations in terms of drift edges along the tree, see Figure 2 in Patterson et al. (2012) and Figure A1b”.

Practical usage of various f-statistics is summarized in Figure A1c.

2. The article contains many references to features from the ADMIXTURETOOLS by names, without explanation. Authors should provide the text to a broad audience of eLife, but not for the users of ADMIXTURETOOLS.

In the updated manuscript, ADMIXTOOLS option names and similar details are no longer mentioned in the main text, only in Appendices. We believe that these names of settings in Classic ADMIXTOOLS or ADMIXTOOLS 2 are convenient pointers referring to algorithms that would otherwise be referred to by long names, and therefore we chose to keep these them in the Appendices.

Suggestions:

1. I strongly recommend revising the manuscript stricture. For example, the result section is a blend of "literature revie,"&"draft result"&"methods"&"program manual".

2. The text should be significantly reduced, especially when it is hard to read and seems to be in its draft version.

Upon a consultation with the editors, we streamlined the presentation as follows. We moved all methodological details on findGraphs and ADMIXTOOLS 2 to Appendix 1 (including Figures 1 to 3), and shortened descriptions of case studies substantially, moving a large fraction of that text to Appendix 2. As a result of these changes, the length of the main text (Introduction – Methods, including figure and table legends) was reduced by about a half, from 27,452 to 14,410 words.

3. Type of the article should be defined more clearer: whether it is a research article? New method? Or a review manuscript of the existing methods.

We hope that the new structure of the manuscript makes it more transparent that we used our newly developed methodology (now presented in Appendix 1, with the support of the editors) to present a critical re-assessment of published findings.

4. Be more accurate with figures. In the current version, figures are not properly arranged and resemble draft versions.

To address this concern, we have moved former Figures 1 to 3 to Appendix 1. The remaining main-text figures 1 and 2 are effectively presented, in our view. Presenting graphs in Figure 3 in the form of small panels would compromise their readability greatly, and we kept them as they are. Following reviewer feedback, we replotted the graphs in Figure 3 in the “classic” Graphviz style to make them more readable, and all graphs in the supplementary figures were replotted in the same style.

5. Introduce the abbreviation for "admixture graph" as, for instance, AG.

We introduced the abbreviation “AG”, as requested.

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Data Citations

    1. Maier R, Flegontov P, Flegontova O, Işıldak U, Changmai P, Reich D. 2022. On the limits of fitting complex models of population history to f-statistics. European Nucleotide Archive. PRJEB58199 [DOI] [PMC free article] [PubMed]

    Supplementary Materials

    Figure 3—source data 1. The published (Bergström et al., 2020) and alternative admixture graphs for dogs found with findGraphs.

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, (b) alternative models fitting nominally better than the published one, sorted by the fit score, and (c) alternative models fitting nominally or significantly (the graph framed in blue) better than the published one, sorted by the fit score.

    Figure 3—source data 2. Alternative admixture graphs for humans found with findGraphs for the dataset from Bergström et al., 2020.

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) Best-fitting models for humans sorted by the fit score.

    Figure 3—source data 3. The published admixture graph from Lazaridis et al., 2014 and alternative graphs found with findGraphs (seven populations, four admixture events).

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The re-fitted published graph and (b) 10 examples of graphs inferred by findGraphs (arranged according to LL score) and fitting significantly (the graph framed in blue) or nominally better than the published model.

    Figure 3—source data 4. The published admixture graph from Shinde et al., 2019 and alternative graphs found with findGraphs (8 pops., 3 adm. events) relying on the original set of SNPs and group composition, and original (incorrect) algorithm for calculating f-statistics.

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model; the original set of SNPs and individuals, and the original algorithm for calculating f3-statistics was used (470,389 variable sites with no missing data at the group level available). The following claim in Shinde et al., 2019 relies on the admixture graph: Primary ancestry in the Indus Periphery group forms the deepest branch in the Iranian Neolithic clade composed of the Indus Periphery, Ganj Dareh Neolithic, Hajji Firuz Neolithic, and Tepe Hissar Chalcolithic groups. (b-f) Selected alternative models fitting significantly better (graphs framed in blue), nominally better (graphs without frames), or not significantly worse (graphs framed in red) than the published one.

    Figure 3—source data 5. The published admixture graph from Shinde et al., 2019 and alternative graphs found with findGraphs (eight populations, three admixture events) for the modified group composition and using the updated algorithm for calculating f-statistics.

    The graphs were also re-fitted on the original set of single-nucleotide polymorphisms (SNPs)/individuals and using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model with three admixture events. The following claim in Shinde et al., 2019 relies on the admixture graph: Primary ancestry in the Indus Periphery group forms the deepest branch in the Iranian Neolithic clade composed of the Indus Periphery, Ganj Dareh Neolithic, Hajji Firuz Neolithic, and Tepe Hissar Chalcolithic groups. (b) Alternative models fitting nominally better than the published one and confirming all of its important topological details and (c) alternative models fitting not significantly worse than the published one and differing from it in important ways.

    Figure 3—source data 6. Alternative graphs allowing for an additional admixture event found with findGraphs for the dataset from Shinde et al., 2019: 8 populations, 4 admixture events, the modified group composition, and the updated algorithm for calculating f-statistics.

    The graphs were also re-fitted on the original set of single-nucleotide polymorphisms (SNPs)/individuals and using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The highest-ranking model with four admixture events that confirms all important features of the published model with three admixture events. The following claim in Shinde et al., 2019 relies on the admixture graph: Primary ancestry in the Indus Periphery group forms the deepest branch in the Iranian Neolithic clade composed of the Indus Periphery, Ganj Dareh Neolithic, Hajji Firuz Neolithic, and Tepe Hissar Chalcolithic groups. (b) Alternative models fitting not significantly worse than the highest-ranking one and contradicting the historical interpretation of the admixture graph results by Shinde et al., 2019.

    Figure 3—source data 7. The published admixture graphs from Librado et al., 2021 and alternative graphs found with findGraphs (10 populations, 3–5 admixture events) for the modified group composition and using the updated algorithm for calculating f-statistics.

    The graphs were also re-fitted on the original set of single-nucleotide polymorphisms (SNPs)/individuals and using the original algorithm for calculating f-statistics. Selected alternative graphs found with findGraphs when more admixture events were allowed (from 6 to 9) are also shown. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, three admixture events. The following claims in Librado et al., 2021 rely on the admixture graph: (1) NEO-ANA-related admixture is absent in DOM2; (2) DOM2 and C-PONT are sister groups; (3) there is no gene flow connecting the CWC group and the cluster associated with Yamnaya horses and horses of the later Sintashta culture whose ancestry is maximized in the Western Steppe (DOM2, C-PONT, and TURG); (4) there was a gene flow from a deep-branching ghost group to NEO-ANA; (5) Tarpan is a mixture of a CWC-related and a DOM2-related lineage. (b) An alternative model with three admixture events fitting significantly better than the published one, (c) the published model, four admixture events, (d) an alternative model with four admixture events fitting not significantly worse than the published one, (e) the published model, five admixture events, (f) an alternative model with five admixture events fitting not significantly worse than the published one, (g) selected models with six admixture events, (h,i) selected models with seven admixture events (all plausible models with WR < 5 SE), (j-l) selected models with eight admixture events (all plausible models with WR < 4 SE), (m-r) selected models with nine admixture events (all plausible models with WR < 4 SE).

    Figure 3—source data 8. Published admixture graph from Hajdinjak et al., 2021 and alternative graphs found with findGraphs (12 populations, 8 admixture events).

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) The published model and its simplified representation. The following claims in Hajdinjak et al., 2021 rely on the admixture graph: (1) gene flow from the Bacho Kiro lineage to Ust’-Ishim, Tianyuan, and GoyetQ116-1; (2) the BK1653 individual belonged to a population that was related, but not identical, to that of the GoyetQ116-1 individual; (3) Vestonice is a mixture of a Sunghir-related and a BK1653-related lineage. (c-e) Selected alternative models fitting significantly better than the published one.

    Figure 4—source data 1. The published admixture graph from Lipson et al., 2020b and alternative graphs found with findGraphs (12 populations, 11 admixture events) using the updated algorithm for calculating f-statistics.

    The graphs were also re-fitted using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) The published model and its simplified representation. Below we list selected claims by Lipson et al., 2020b relying on the admixture graph: (1) A lineage maximized in present-day West African groups (Lemande, Mende, and Yoruba) also contributed some ancestry to the ancient Shum Laka individual, and present-day Biaka and Mbuti; (2) another ancestry component in Shum Laka is a deep-branching lineage maximized in rainforest hunter–gatherers Biaka and Mbuti; (3) ‘super-archaic’ ancestry (i.e., diverging at the modern human/Neanderthal split point or deeper) contributed to Biaka, Shum Laka, Mbuti, Lemande, Mende, and Yoruba; (4) a ghost modern human lineage (or lineages) contributed to Agaw, Mota, Biaka, Shum Laka, Mbuti, Lemande, Mende, and Yoruba. (c-q) Selected alternative models fitting nominally better than the published one.

    Figure 4—source data 2. The published admixture graph from Wang et al., 2021 and alternative graphs found with findGraphs (12 populations, 8 admixture events) using the updated algorithm for calculating f-statistics.

    The graphs were also re-fitted using the original algorithm for calculating f-statistics. Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a, b) The published model and its simplified representation. The following claim in Wang et al., 2021 relies on the admixture graph: There is Onge-related admixture in the Jomon (Japan_HG_Jomon), Tibetan (Nepal_Chokhopani_SG), Upper Yellow River Late Neolithic (China_Upper_YR_LN), West Liao River Late Neolithic (China_WLR_LN), Taiwan Iron Age (Taiwan_IA), and China Island Early Neolithic (Liangdao, China_Island_EN) lineages. (c-l) Alternative models fitting significantly better than the published one.

    Figure 4—source data 3. The simplified published admixture graph for West Eurasian groups from Sikora et al., 2019 and alternative graphs found with findGraphs (13 populations, 6 admixture events).

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, with chimpanzee added as an outgroup and four low-level gene flows from the Neanderthal lineage dropped. The following claim in Sikora et al., 2019 relies on the admixture graph: The Mal'ta (MA1_ANE) lineage receives a gene flow from the Caucasus hunter-gatherer (CaucasusHG_LP) lineage. (b-h) Models fitting nominally better than the published one and not supporting the claim, (i) models fitting nominally better than the published one and supporting the claim.

    Figure 4—source data 4. The simplified published admixture graph for East Eurasian groups from Sikora et al., 2019 and alternative graphs found with findGraphs (14 populations, 6 admixture events).

    Model parameters (graph edges) that were inferred to be unidentifiable are plotted in red. (a) The published model, with chimpanzee added as an outgroup and four low-level gene flows from the Neanderthal lineage dropped. (b) The published model simplified by dropping unidentifiable edges. The following claims in Sikora et al., 2019 rely on the admixture graph: (1) The Mal’ta (MA1_ANE) and Yana (Yana_UP) lineages receive a gene flow from an Asian source diverging before the Devil’s Cave (DevilsCave_N), Kolyma (Kolyma_M), USR1 (Alaska_LP), and Clovis (Clovis_LP) lineages; (2) European ancestry in the Kolyma, USR1, and Clovis lineages is closer to Mal’ta than to Yana; (3) The Devil’s Cave lineage receives no European-related gene flows, and Kolyma has less European-related ancestry than ancient Americans (USR1 and Clovis). (c) An alternative model fitting nominally better than the published one and supporting all three claims, (d-g) alternative models fitting not significantly worse than the published model.

    Supplementary file 1. Published graphs in the context of automatically found graphs.

    We compared 22 different graphs from 8 publications to alternative graphs inferred on the same or very similar data; these findGraphs runs are highlighted in blue in the ‘Iterations’ column. In total, 51 findGraphs runs are summarized here since in some cases models more complex or less complex than the published one were explored and/or different population compositions were tested (see the ‘Topology search constraints and population modifications’ column and the footnotes for details). The columns with names in blue show various information on the published graphs or their modified versions and some properties of the published population sets. The columns with names in magenta show settings used for calculating f-statistics and for exploring the AG space, and the number of SNPs used that depends on them. The columns with names in black summarize the outcomes of findGraphs runs, that is, the properties of alternative model sets found.

    Publication: Last name of the first author and year of the relevant publication.

    Figure in the original publication: Figure number in the original paper where the AG is presented.

    Groups (populations): The number of populations in each graph.

    Singleton pseudo-haploid populations: The number of populations in the graph composed of a single pseudo-haploid individual. Calculation of negative ‘admixture’ f3-statistics is impossible for such populations since their heterozygosity cannot be estimated (see the text for details).

    No. of negative f3-stats (allsnps: YES): The number of negative f3-statistics among all possible f3-statistics for a given set of populations when all available sites are used for each statistic. If no negative f3-statistics exist for a set of populations, AG fits are not affected by the ‘minac2=2’ setting intended for accurate calculation of f-statistics for non-singleton pseudo-haploid groups.

    Admixture events: The number of admixture events in each graph.

    Publ. model: log-likelihood (LL): Log-likelihood score of the published graph fitted to the SNP set shown in the ‘SNPs used’ column.

    Publ. model: LL, median of bootstrap distr.: Median of the log-likelihood scores of 100 or 500 fits of the published graph using bootstrap resampled SNPs.

    Publ. model: worst residual (WR), SE: The worst f-statistic residual of the published graph fitted to the SNP set shown in the ‘SNPs used’ column, measured in standard errors (SE).

    SNPs used: The number of SNPs (with no missing data at the group level) used for fitting the AG. For all case studies, we tested the original data (SNPs, population composition, and the published graph topology) and obtained model fits very similar to the published ones. However, for the purpose of efficient topology search we adjusted settings for f3-statistic calculation, population composition, or graph complexity as shown here and discussed in the text.

    Settings for calculating f2-statistics: Arguments of the extract_f2 function used for calculating all possible f2-statistics for a set of groups, which were then used by findGraphs for calculating f3-statistics needed for fitting AG models. See Appendix 1, Section 2.A for descriptions of each argument.

    Topology search constraints and population modifications: Constraints applied when generating random starting graphs and/or when searching the topology space. Modifications of the original population composition are also described in this column, where applicable.

    Iterations: The number of findGraphs iterations (runs), each started from a random graph of a certain complexity. For each case study, findGraphs setups that were considered optimal are highlighted in blue in this column.

    Iterations confirming published graph: The number of iterations (runs) in which the resulting graph was topologically identical to the published graph. In the cases, when the published model was irrelevant since more complex graphs were explored, ‘N/A’ appears in this and subsequent columns. If less complex models were explored, the published model was still relevant since its version without selected admixture edges was tested.

    Distinct alternative topologies found: The number of distinct newly found topologies. If graph complexity was equal to (or less than) that of the published graph, the published topology (or its simplified version) is not counted here. If graph complexity exceeded that of the published graph, all newly found topologies are counted. If the published topology was recovered by findGraphs, the numbers in this column are shown in bold.

    Significantly better fitting topologies: The number of distinct topologies that fit significantly better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05). If the number of distinct topologies was very large, a representative sample of models (1/20 to 1/3 of models evenly distributed along the log-likelihood spectrum) was compared to the published one instead. These cases are marked as ‘a fraction of models tested’ in this column. If model complexity was higher than that of the published model, model comparison was irrelevant and was not performed.

    Non-significantly better fitting topologies: The number of distinct topologies that fit non-significantly (nominally) better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

    Non-significantly worse fitting topologies: The number of distinct topologies that fit non-significantly (nominally) worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

    Significantly worse fitting topologies: The number of distinct topologies that fit significantly worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05).

    Significantly better fitting topologies, %: The percentage of distinct topologies that fit significantly better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05). If the number of distinct topologies was very large, a representative sample of models (1/20 to 1/3 of models evenly distributed along the log-likelihood spectrum) was compared to the published one instead, and the percentages in this and following columns were calculated on this sample.

    Non-significantly better fitting topologies, %: The percentage of distinct topologies that fit non-significantly (nominally) better than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

    Non-significantly worse fitting topologies, %: The percentage of distinct topologies that fit non-significantly (nominally) worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value ≥0.05).

    Significantly worse fitting topologies, %: The percentage of distinct topologies that fit significantly worse than the published graph according to the bootstrap model comparison test (two-tailed empirical p-value <0.05).

    p-value best alternative vs. publ.: An empirical two-tailed p-value of a test comparing log-likelihood distributions across bootstrap replicates for two topologies, the highest-ranking newly found topology and the published topology. In some cases, the highest-ranking newly found topology (according to LL) has a fit that is not significantly better than that of the published model, but other newly found models fit significantly better despite having higher LL. P-values below 0.05 are highlighted in green.

    Used in Table 1: Here the findGraphs runs featured in Table 1 are marked.

    elife-85492-supp1.xlsx (64.1KB, xlsx)
    Supplementary file 2. Statistics for shotgun sequencing of individual I8726.
    elife-85492-supp2.xlsx (9.6KB, xlsx)
    Supplementary file 3. Group labels, archaeological and geographic meta-data, and sequencing statistics for the individuals used for admixture graph fitting in Shinde et al., 2019.

    See the ‘Comment’ column for a list of updates to the dataset composition we performed prior to admixture graph fitting in our study.

    elife-85492-supp3.xlsx (23.5KB, xlsx)
    Supplementary file 4. Group labels, archaeological and geographic meta-data, and sequencing statistics for the individuals used for qpAdm modelling that revisits qpAdm results by Narasimhan et al., 2019.
    elife-85492-supp4.xlsx (334.2KB, xlsx)
    Supplementary file 5. A summary of selected qpAdm results.

    This is a re-analysis of the data from Narasimhan et al., 2019, with a modified group composition that is described in Appendix 2.

    elife-85492-supp5.xlsx (19.3KB, xlsx)
    Supplementary file 6. qpAdm results for separate individuals from selected target groups (Indus Periphery and others).

    qpAdm p-values are shown for each individual for models of varying complexity, from one- to four-way models.

    elife-85492-supp6.xlsx (40.6KB, xlsx)
    Supplementary file 7. Comparison of the original group composition used for admixture graph fitting in Librado et al., 2021 and the modified groups used in our study.
    elife-85492-supp7.xlsx (17.1KB, xlsx)
    MDAR checklist

    Data Availability Statement

    The new software presented in this manuscript (the ADMIXTOOLS 2 R package) is freely available at https://github.com/uqrmaie1/admixtools (copy archived at Maier et al., 2022), along with a detailed manual at https://uqrmaie1.github.io/admixtools/. The ancient human genome newly reported in this manuscript (Supplementary file 2) is freely available at the European Nucleotide Archive in the form of an alignment of reads to the hg19 human reference genome (project accession number PRJEB58199). Published software packages re-used in this manuscript are available at: https://bitbucket.org/nygcresearch/treemix/src/master/ (TreeMix, Pickrell and Pritchard, 2012) and at https://github.com/DReichLab/AdmixTools (David Reich Lab, 2023, ADMIXTOOLS, Patterson et al., 2012). Published archaeogenetic datasets re-analyzed in this manuscript were kindly shared by the corresponding authors of the following publications upon our requests: Bergström et al., 2020; Lazaridis et al., 2014; Librado et al., 2021; Lipson et al., 2020b; Shinde et al., 2019; Sikora et al., 2019; Wang et al., 2021; Hajdinjak et al., 2021. Various statistics for these re-used datasets are summarized in Supplementary file 1.

    The following dataset was generated:

    Maier R, Flegontov P, Flegontova O, Işıldak U, Changmai P, Reich D. 2022. On the limits of fitting complex models of population history to f-statistics. European Nucleotide Archive. PRJEB58199


    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES