Skip to content
Ancestrify
A dark hall where one glowing branching tree of light stands among many faint ghost trees of different shapes, all rooted in the same stone floor.
All stories

qpGraph explained: admixture graphs, find_graphs, and the many-graphs problem

By Andi Thomaj · 3 min read
Published · Updated

qpAdm answers a deliberately small question: can this one population be written as a mix of these sources, and in what proportions? Its sibling qpGraph asks the large one: what whole history of splits, drift and admixture relates a dozen populations at once?

6 sections
Introduction1 min

The caveats grow with the question, and qpGraph’s were measured precisely in 2023. This post covers the method, the automation that changed how people use it, and how to read any admixture graph you meet, including the ones behind the models we run.

From identities to topologies

1 min

qpGraph rests on the same statistics as qpAdm: f-statistics. An admixture graph is a directed graph of populations. Its leaves are your samples, its internal nodes are ancestral populations, plain edges carry drift, and admixture nodes join two parents in stated proportions. Any such graph predicts every f2, f3 and f4 among its leaves; qpGraph fits the edge lengths and mixture weights to minimise the gap between predicted and observed, then reports the fit and the worst residual, the single statistic the graph explains worst, in standard errors. The working convention: a graph whose worst residual sits under about |Z| = 3 is compatible with the data. One that fails does not fit as drawn: a missing admixture event is one explanation, and continuous gene flow that no small graph captures is another.

The relationship to qpAdm is more than an analogy: a qpAdm model is exactly what an admixture-graph neighbourhood looks like when you collapse everything except one target, its sources and the outgroups. The original 2015 supplement introduced it in precisely those terms. qpAdm gives up the whole picture in exchange for not having to specify most of history. qpGraph asks you to specify all of it and returns the whole picture.

What find_graphs changed

1 min

Classic qpGraph evaluated one hand-drawn topology at a time: the analyst proposed, the residuals disposed, and the search through graph space went as far as one person’s patience. ADMIXTOOLS 2 automated it: find_graphs explores topology space from random starts, scoring candidates and keeping the best fits for a given number of admixture events. Suddenly anyone could search millions of topologies, and that is what produced the finding that now governs the method.

The many-graphs problem

1 min

Maier and colleagues, having built the search tool, pointed it at the literature: for 19 of 22 published admixture graphs, the automated search found alternative topologies fitting the same data as well or better, often many alternatives and frequently with historically incompatible structures: different sources for the same population, admixture edges reversed, ghosts appearing and dissolving, all inside the data’s tolerance.

Read that finding the way the qpAdm audits should be read: single-winner claims were never licensed, which is a different conclusion from “the method is broken”. An f-statistic fit is a consistency check, and consistency picks out a set, so the output of a graph analysis should be the family of well-fitting, temporally plausible graphs, with conclusions restricted to the features shared by the whole family. The paper recommends searching exhaustively, constraining with external knowledge (dates, archaeology, known impossibilities), and claiming only what every survivor agrees on. It is the same reasoning as reporting the family of passing qpAdm models, one floor up.

When to reach for which

1 min

qpGraph earns its cost when relationships among many populations are the question: where a deep lineage attaches, whether a ghost population is required at all, which of two branching orders the data tolerates. For “what is this one population made of, in what proportions, with what uncertainty”, qpAdm remains the sharper instrument: its weights come with standard errors, its rejections are specific and diagnostic, and its blind spots are measured. In practice the two work together: graphs (published ones, and the field’s accumulated topology) tell you which qpAdm sources are even coherent to propose, and qpAdm estimates the proportions. The published literature uses them with that division of labour.

Terms used here are defined in the glossary.

References

1 min
  • Patterson, N. et al. (2012). Ancient admixture in human history. Genetics, 192(3), 1065-1093. (qpGraph’s introduction.)
  • Maier, R. et al. (2023). On the limits of fitting complex models of population history to f-statistics. eLife, 12, e85492. (find_graphs and the 19-of-22 finding.)
  • Haak, W. et al. (2015). Massive migration from the steppe was a source for Indo-European languages in Europe. Nature, 522, 207-211. (qpAdm as graph neighbourhood.)
  • Lipson, M. (2020). Applying f4-statistics and admixture graphs: theory and examples. Molecular Ecology Resources, 20(6), 1453-1464.
The tested version of this question
A qpAdm model tested against AADR v66 and approved by a person, published with its p-value, every source’s standard error and z-score, and the full right set, so the result can be argued with.
From €39.99 · one-time
See Ancient AncestrySee a sample report
qpAdmMethodologyPopulation genetics

Keep reading

All stories
Ancestrify

Combining cutting-edge genomic science with rich historical records to map your ancestry across generations and continents.


© 2026 Ancestrify. All rights reserved. · Ancestrify is a trading name of Andi Thomaj, a sole trader registered in Tiranë, Albania · NUIS M61725001N
Card payments processed by POK Payments (RPay Ltd)VISAMASTERCARD