Skip to content
Ancestrify
A dark library staircase spiralling up past shelves of instruments: pigment vials low, standing stones mid-flight, a lit balance at the top landing.
All stories

Learn qpAdm: the complete guide, from zero to defensible models

By Andi Thomaj · 7 min read
Published · Updated

qpAdm is the statistical tool behind most published ancient-DNA admixture claims: it models a genome or population as a mixture of source populations and tests whether that mixture fits the data. This guide is for anyone who wants to learn it, from a first look at the method to models you can defend, and it says what to read in what order.

8 sections
Introduction1 min

qpAdm has a strange learning curve: the software is free, the papers are public, and yet the road from curiosity to a defensible model is undocumented enough that most people learn it from forum folklore. This page is the road, drawn properly: what we have published on the method, ordered so each piece stands on the last, with what it teaches. Read stages one to four in order, skip nothing in stage two, and use stage five when you have a specific ancestry to model. Bookmark it and walk it at your own pace. If you already know part of the road, start further along:

StageWhat it gives youStart here if
One: what qpAdm isthe method and the arithmetic under ityou are new to qpAdm
Two: the disciplinehow to choose sources and outgroups, and what the audits foundyou know the method and want a model you can defend
Three: hands ona raw file merged and a model runningyou want to run qpAdm yourself
Four: reading resultsevery number in a run or a reportyou already hold a result
Five: real ancestriesrecipes and the neighbouring methodsyou have a specific ancestry question

Stage one: what qpAdm is (read these first)

1 min

Four pieces, in this order, before you touch any software.

  1. What the test claims and returns

    What a qpAdm ancestry test is is the buyer’s-level orientation to what the method claims, what it returns and what no method returns.

  2. How to read a model

    Understanding qpAdm is the method itself: what it computes, what the p-value, standard error and z-score each mean, why the right set decides a model’s worth, and how to read a rejection.

  3. The arithmetic underneath

    f4-statistics explained is the arithmetic everything rests on, for readers who want the mathematics: the admixture identity, the least-squares solution, the jackknife. If you read only one technical piece, read this one; qpAdm is f4-statistics arranged into a testable model, and every later confusion traces back here.

  4. Where the method came from

    How qpAdm changed ancient DNA is the history, from one 2015 supplement to the field’s workhorse, and the decade of stress-testing that wrote its operating manual.

Stage two: the discipline (where models are won and lost)

1 min

This is the stage to read in full.

  1. Choose sources and outgroups

    How to choose sources and outgroups covers the left set and the right set, the drift rule and temporal logic. It is the single most consequential page in the sequence.

  2. Learn the published right sets

    The standard right sets are O9 and its extensions, with the arithmetic floor, the measured ceiling, and the published case where one added outgroup cut standard errors threefold.

  3. Meet the rank test

    qpWave explained covers the rank test that referees every model, and why the number it gives counts components relative to a right set rather than migrations.

  4. See what temporal order protects against

    Distal and proximal models shows what temporal order protects against on admixture-graph histories, and why it is not enough on stepping-stone landscapes.

  5. Understand what sets a search’s error rate

    The rotating strategy covers what screening is for, and the arithmetic of pre-study odds why the odds, not the protocol or who runs it, decide how often its winners are wrong.

  6. Keep the checklist open

    The checklist below compresses this whole stage into rules you can hold while working.

Stage three: hands on

1 min

From a raw file to a model running, on your own machine or on ours.

  1. Get your raw file out

    How to download your raw DNA data has every company’s steps and what is inside the file, and which chip you tested on says what that means for coverage after the merge.

  2. Meet the reference panel

    The AADR explained covers the public dataset every model here runs against: what a version contains, and the 1240K and Human Origins marker sets.

  3. Merge the file into it

    Data preparation: from raw file to AADR merge covers formats, builds, strand hygiene, convertf and Poseidon; the unglamorous half of every real analysis.

  4. Learn to read sample labels

    The AADR’s sample labels says what .AG, .TW, .SG, .DG, .HO and no suffix mean, and how to pick samples without poisoning your statistics.

  5. Run qpAdm in R

    Running qpAdm in R with ADMIXTOOLS 2 is the working tutorial for installing, extracting, running and reading.

  6. Know the parameters that change results

    f2 extraction and the parameters that change results covers allsnps, fudge, blgsize and friends, with the measured stakes of each.

  7. Match an older paper

    Classic ADMIXTOOLS vs ADMIXTOOLS 2 says why your numbers differ from a 2016 paper’s, and how to match them when you must.

  8. Or run qpAdm online

    The Ancestry Workbench runs the same ADMIXTOOLS 2 function on our servers, with your own genome merged into the AADR panel as the target and nothing to install, paid per completed run. Run your own qpAdm models walks it through.

Stage four: reading results like an analyst

1 min

Read these with a real result beside you if you have one.

  1. Read the three numbers

    How to read p-values, standard errors and z-scores takes the three numbers in the order that matters.

  2. Learn what a rejection says

    Why models get rejected covers the good failures and what each one teaches.

  3. Decode the odd outputs

    Troubleshooting the weird outputs decodes negative weights, SE 9.99, everything-passes and everything-fails.

  4. Read a full record

    The model record explained covers every number in a full record, with a worked report walkthrough beside it.

  5. Know your information budget

    How many SNPs qpAdm needs covers the budget that sets your error bars before anyone models anything.

Stage five: applying it to real ancestries

1 min

The checklist

1 min

The whole discipline, short enough to hold while working.

  • Decide which kind of history you might be modelling. Rules established on admixture graphs are necessary, not sufficient, on a landscape.
  • Pick a few hypotheses for reasons outside qpAdm: archaeology, chronology, geography, earlier genetic work. Treat a wide sweep as exploration.
  • Stratify temporally. No source should postdate the target.
  • Build the right set for the specific contrast, 9 to 15 strong, and check the model against right sets at other distances.
  • Try the simplest adequate model first, and do not read the rank as a head count.
  • Accept on the composite, never on p rank: model p over threshold, every weight bounded away from 0 and 1 within error, and every trailing simpler model rejected.
  • Read weights through their errors, and fits as positions rather than events. A weight within two SEs of zero is a source the data cannot tell apart from absent, and a migration needs evidence from outside qpAdm.
  • Respect the resolution floor. Sources separated by FST under roughly 0.002 cannot be told apart by any right set (Williams et al. 2024), so report the family of passing models rather than a winner.
  • Hold processing constant. allsnps, fudge_twice, block size, f2 versus genotype input: each changes numbers, and comparisons are only valid inside one regime.
  • Report everything a stranger needs to re-run you: the candidate pool you started from and why, so a reader can judge the pre-study odds; the full right set in run order with sample counts; every source’s panel label, weight, SE, z and confidence interval; the model p with chi-square and degrees of freedom; SNP counts per statistic; the nested-model table; the software, version and parameter regime; and which alternative models also passed. That last item is the one most often omitted and the most informative.

And treat every rejection as the method working: a test that cannot fail you cannot vouch for you either.

The shortcuts, stated honestly

1 min

If you want the results without the pipeline, that fork exists at every stage: Ancient Ancestry, our paid qpAdm analysis, applies stages two through four to your genotypes merged into AADR v66. Candidate sources are chosen for your declared origins before any model runs, our analyst tests models from that pool, and a person reviews the results and approves the one that is published, measured against one house bar (p of at least 0.05, every |Z| at least 3, every SE at most 0.10) with the model record on screen. The Ancestry Workbench then hands you stage three on your own merged dataset. And if you are still deciding whether qpAdm is your instrument at all, qpAdm vs Global25 and is qpAdm worth it are the two forks in the road.

Terms used here are defined in the glossary.

Editorial note: revised on 24 September 2026. The stage-two summaries now separate the admixture-graph and stepping-stone landscape results of the 2025 audit, and the description of our paid analysis matches how it runs today.

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
qpAdmGuidesMethodology

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