Skip to content

qpAdm online

Run qpAdm online, with nothing to install

Fit qpAdm ancestry models on the Allen Ancient DNA Resource in your browser. Choose the sources and right populations, use a population or your own DNA file as the target, and read the p-value and the ancestry weights.

What you get

Nexju loads the reference data, computes the statistics and runs the checks.

qpAdm in Nexju

6 features
  • The Allen Ancient DNA Resource, already loaded

    Release v66 on its 1240K and Human Origins SNP sets, with more than 23,000 genomes on 1240K and more than 28,000 on Human Origins. Genomes keep the AADR’s own population labels, and genomes from newer papers are added as supplements. You download, convert and merge no genotypes yourself.

  • Your own genome as the target

    Upload a raw DNA file from 23andMe, AncestryDNA, MyHeritage, FTDNA, LivingDNA or tellmeGen. Nexju merges it with the reference data privately. The free plan keeps 5 files.

  • p-values, weights and standard errors

    Each model reports its tail probability, its SNP count and the weight of every source with a block-jackknife standard error. A model is plausible when p ≥ 0.01 and every weight lies between 0 and 1.

  • Rotations over candidate sources

    Swap one source at a time or try every combination from a candidate list, and compare the models that fit side by side.

  • Checks that a model holds up

    On Pro, you can drop right populations, let source sets compete or add a source, and see whether a fitting model still fits.

  • Checked against ADMIXTOOLS

    Nexju’s qpAdm is a native implementation, checked against the classic ADMIXTOOLS qpAdm program on fixed test data.

A qpAdm model in three steps

Every model is a target, a set of sources and a set of right populations.

  1. 1. Choose the target

    The target is the group whose ancestry the model explains. It can be an AADR population, a set of genomes you pick or your uploaded DNA file.

  2. 2. Choose sources and right populations

    Pick up to 10 source populations for the target’s ancestry. Then pick more right (outgroup) populations than sources, chosen so that they tell the sources apart.

  3. 3. Run, then read the result

    Nexju fits the model on its servers. Read the p-value first, then the weights and their standard errors. A rejected model tells you which source set to change.

A worked example, with its numbers

One model that fits and a simpler one that is rejected, as Nexju reported them.

Corded Ware, two models

Human Origins SNP set
Two qpAdm models of Corded Ware ancestry: source weights with standard errors, p-value and result
ModelYamnayaAnatolian farmersHunter-gatherersp-valueResult
Three sources72.5% ± 1.720.9% ± 1.76.7% ± 1.70.014Plausible
Two sources76.2% ± 1.623.8% ± 1.6not in the model0.00003Rejected

The target is 55 Corded Ware genomes dated between about 4,900 and 4,200 years ago. The sources are 27 Yamnaya genomes from Samara, 22 early farmers from north-west Anatolia and 4 western hunter-gatherers. The ten right populations are Mbuti, Mota, Ust’-Ishim, Kostenki 14, Goyet Q116-1, Papuan, Karitiana, Natufians, Iberomaurusians and Neolithic Ganj Dareh. Weights are shown with one standard error.

Read the p-value first. The three-source model has p = 0.014 on 128,186 SNPs, above the 0.01 threshold Nexju uses, so it is plausible. It is a narrow pass. At the 0.05 threshold that some papers use, it would be rejected. Every weight lies between 0 and 1, and the smallest, 6.7%, is four standard errors from zero.

Without the hunter-gatherers the model is rejected (p = 0.00003). Yamnaya and Anatolian farmers alone do not account for Corded Ware. The weights of the rejected model still look reasonable, which is why the p-value comes first. The three-source result agrees with Haak et al. (2015), who estimated that Corded Ware people in Germany took about three quarters of their ancestry from the Yamnaya.

References

  1. Haak, W. et al. Massive migration from the steppe was a source for Indo-European languages in Europe. Nature 522 (2015). doi:10.1038/nature14317
  2. Harney, É. et al. Assessing the performance of qpAdm. Genetics 217 (2021). doi:10.1093/genetics/iyaa045
  3. Maier, R. et al. On the limits of fitting complex models of population history to f-statistics. eLife 12 (2023). doi:10.7554/eLife.85492
  4. Mallick, S. et al. The Allen Ancient DNA Resource (AADR). Scientific Data 11 (2024). doi:10.1038/s41597-024-03031-7

Nexju or ADMIXTOOLS on your own machine

The method is the same. The difference is who prepares the data and the machine.

Three ways to run a qpAdm model

3 ways
Running qpAdm in Nexju, in ADMIXTOOLS 2 in R and in classic ADMIXTOOLS
What it takesNexjuADMIXTOOLS 2 in RClassic ADMIXTOOLS
Set-upSign in with GoogleInstall R and the admixtools packageCompile the C programs on Linux
Reference dataAADR v66 already loadedDownload the AADR genotype filesDownload the AADR genotype files
Your own DNA fileUpload it, and Nexju converts and merges itConvert and merge it yourselfConvert and merge it yourself
One modelPick populations from listsCall qpadm() in an R scriptWrite a parameter file
Many modelsRotations built inScript the loop in RScript the loop in the shell
CostFree plan, or a paid plan for more runsFreeFree

If you already work in R, ADMIXTOOLS 2 is free and flexible. The guide How to run qpAdm shows a model in all three.

Frequently asked questions

About running qpAdm online, the method, your DNA and the plans.

Can I run qpAdm online for free?
Yes. Nexju’s free plan runs single qpAdm models and guided rotations on the Allen Ancient DNA Resource, with a population or your own uploaded DNA as the target. You sign in with Google, and no card is needed.
Do I need R, ADMIXTOOLS or a Linux machine?
No. Nexju runs qpAdm on its own servers with the reference data already loaded. You choose the populations in the browser and read the result there. If you prefer ADMIXTOOLS 2 in R, the guide “How to run qpAdm” shows the same model there.
Can I run qpAdm on my 23andMe or AncestryDNA file?
Yes. Upload the raw data file and choose it as the target. Nexju converts it privately and merges it with the reference SNPs. Your genotypes are never shared or shown to anyone.
What p-value counts as a fit?
Nexju calls a model plausible when its p-value is 0.01 or higher and every source weight lies between 0 and 1. A fit is not proof. Other source sets can fit too, so test a fit with rotations and robustness checks.
Is this real qpAdm, or an approximation?
It is qpAdm. It uses the same f4-statistic method as the ADMIXTOOLS program, with block-jackknife standard errors. Nexju’s implementation is its own code, checked against the classic ADMIXTOOLS qpAdm program on fixed test data. It does not estimate from PCA or other coordinates.
How is qpAdm different from G25 and nMonte percentages?
A coordinate fit, such as nMonte or Vahaduo on G25 coordinates, always returns percentages, whatever sources you give it. qpAdm tests the model. It returns a p-value, and it rejects a model that does not explain the target. The guide “G25 and nMonte vs qpAdm” compares the two.
Which reference data does Nexju use?
The Allen Ancient DNA Resource, release v66, on its 1240K and Human Origins SNP sets, with genomes from newer papers added as supplements. Population labels are the AADR’s own, so a model names the same groups as the papers do.
Which DNA files can I upload?
Raw data files from 23andMe, AncestryDNA, MyHeritage, FTDNA, LivingDNA and tellmeGen, as .txt or .zip. The Max plan also takes whole-genome BAM and CRAM files up to 60 GB.
How long does a qpAdm run take?
Most single models finish in a few seconds. A rotation over many source sets takes longer, because it fits one model per set.
Does a qpAdm result tell me who my ancestors were?
No. A plausible model says that the target’s allele frequencies are consistent with a mix of the sources you chose, as seen from the right populations. Other source sets can fit as well, and a source is a proxy for related people, not a named ancestor. It is not a genealogical proof or an ethnicity estimate.
Is my DNA file private?
Yes. Your file is used only to run the analyses you ask for. Nexju does not sell it, share it or use it to train machine-learning models, and you can delete it at any time.
Can I run qpWave and f-statistics too?
Yes. Every plan, the free one included, runs qpWave rank tests and f3, f4 and D statistics on the same reference data.
What do Pro and Max add?
Pro adds qpAdm robustness checks, f-statistic tables, FST and qpGraph, a larger run allowance and 30 DNA files, with a 14-day free trial. Max adds PCA, DATES admixture dating, qpGraph search and the largest allowance.

Fit your first qpAdm model

Sign in with Google and run a model on the Allen Ancient DNA Resource. The free plan needs no card.

Allow analytics cookies? They help us see how the site is used and measure our ads. Your DNA and results are never included. Details