Student or educator? Sign up with your school email and get 6 months of Pro free.
CoChat

The DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index; 12 of the 14 sources its claims cite were checked for support.

Unravelling reference bias in ancient DNA datasets

Open access

Abstract

Abstract Motivation The alignment of sequencing reads is a critical step in the characterization of ancient genomes. However, reference bias and spurious mappings pose a significant challenge, particularly as cutting-edge wet lab methods generate datasets that push the boundaries of alignment tools. Reference bias occurs when reference alleles are favoured over alternative alleles during mapping, whereas spurious mappings stem from either contamination or when endogenous reads fail to align to their correct position. Previous work has shown that these phenomena are correlated with read length but a more thorough investigation of reference bias and spurious mappings for ancient DNA has been lacking. Here, we use a range of empirical and simulated palaeogenomic datasets to investigate the impacts of mapping tools, quality thresholds, and reference genome on mismatch rates across read lengths. Results For these analyses, we introduce AMBER, a new bioinformatics tool for assessing the quality of ancient DNA mapping directly from BAM-files and informing on reference bias, read length cut-offs and reference selection. AMBER rapidly and simultaneously computes the sequence read mapping bias in the form of the mismatch rates per read length, cytosine deamination profiles at both CpG and non-CpG sites, fragment length distributions, and genomic breadth and depth of coverage. Using AMBER, we find that mapping algorithms and quality threshold choices dictate reference bias and rates of spurious alignment at different read lengths in a predictable manner, suggesting that optimized mapping parameters for each read length will be a key step in alleviating reference bias and spurious mappings. Availability and implementation AMBER is available for noncommercial use on GitHub (https://github.com/tvandervalk/AMBER.git). Scripts used to generate and analyse simulated datasets are available on Github (https://github.com/sdolenz/refbias_scripts).

Overview

CoChat Summary

## TL;DR

This paper introduces AMBER, a Python tool for ancient DNA quality control that reports mapping bias, damage, fragment length, and coverage statistics directly from BAM files. Using empirical and simulated datasets, the authors show that reference bias and spurious mappings depend strongly on aligner choice, map-quality thresholds, read length, and sample-reference divergence.

## Key findings

  • AMBER computes four main ancient-DNA statistics at once: mismatch rates by read length, cytosine deamination profiles at CpG and non-CpG sites, fragment length distributions, and genome breadth/depth of coverage.
  • Across empirical and simulated data, mapping algorithms and MQ thresholds changed reference bias and spurious alignment in predictable ways; the authors conclude that optimized, read-length-specific mapping parameters are important to reduce these biases.
  • In a mapping comparison using American mastodon reads mapped to the Asian elephant genome, Bowtie2 yielded the greatest proportion of mapped data, but at 30–40 bp BWA-mem showed a “precipitous increase” in reference bias and Bowtie2 recovered only two-thirds of the expected mismatches per bp; for reads of ~40–80 bp, Bowtie2-mapped reads had fewer mismatches than BWA-aln or BWA-mem, implying underestimation of divergence.
  • With MQ filtering, a strict MQ ≥25 produced strong reference bias, most pronounced in the shortest reads; using MQ ≥1, reads below 65 bp were ~50% more divergent from the reference than when using MQ ≥30, and below ~32 bp, MQ ≥30 retained only reads without mismatches despite known sample-reference divergence.

## Methods

  • The study presents AMBER, a Python3 command-line tool that takes up to six BAM files and computes read-mapping bias, damage, fragment length, and coverage summaries in a four-panel plot.
  • Evaluation used seven empirical ancient-DNA datasets (including six paleogenomes and one ancient metagenome) spanning species, ages of 2 ka–2 Ma, endogenous content of 3%–70%, and coverage of 0.3–42.4×, plus simulated datasets from Asian elephant and Black rhinoceros genomes.
  • Empirical data were mapped with BWA-aln, Bowtie2, or BWA-mem against species-specific or interspecific references, then filtered with MQ thresholds of 1, 20, 25, or 30; simulated reads were generated with Gargammel, with 18.1 million reads per reference genome and divergence levels from 0% to 15%.

## Limitations

  • The paper states that AMBER should be used only as a first data-authentication check, because non-endogenous data can mimic expected ancient-DNA patterns and look authentic.
  • The simulation design did not model an ancient-DNA damage profile or heterogeneity in evolutionary rate across the genome; this is explicitly stated in the Methods.
  • Evident from the text: the empirical benchmarking is limited to seven datasets and a restricted set of aligners/MQ settings, and the authors note that some findings are tool- and sample-specific rather than universal.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1093/bioinformatics/btae436

Cites

28 of 28 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Figure 1. Assessing minimum read length thresholds in ancient genomic datasets aligned using BWA-aln. (a) AMBER plots at MQ ≥1 for four empirical datasets (steppe mammoth, maize, human, and horse) and a simulated dataset (10% endogenous elephant with 1% sequence divergence) showing a secondary peak at 20–30 bp; (b) mismatch and fragment length distribution plots for a simulated dataset of 10% endogenous elephant with 1% sequence divergence at four MQ thresholds; (c) the proportions of simulated endogenous elephant with 1% sequence divergence, human, and bacterial data aligned using BWA-aln to the Asian elephant genome for two endogenous DNA contents: 10% (MQ ≥1, ≥30) and 1% (MQ ≥1). Aligned ultrashort reads (≤35 bp) are dominated by bacteria, with this trend enhanced at a lower endogenous DNA content and only marginally reduced at MQ ≥30. For all comparisons, see Supplementary Data S3. In (c), zero values are not plotted
Figure 1. Assessing minimum read length thresholds in ancient genomic datasets aligned using BWA-aln. (a) AMBER plots at MQ ≥1 for four empirical datasets (steppe mammoth, maize, human, and horse) and a simulated dataset (10% endogenous elephant with 1% sequence divergence) showing a secondary peak at 20–30 bp; (b) mismatch and fragment length distribution plots for a simulated dataset of 10% endogenous elephant with 1% sequence divergence at four MQ thresholds; (c) the proportions of simulated endogenous elephant with 1% sequence divergence, human, and bacterial data aligned using BWA-aln to the Asian elephant genome for two endogenous DNA contents: 10% (MQ ≥1, ≥30) and 1% (MQ ≥1). Aligned ultrashort reads (≤35 bp) are dominated by bacteria, with this trend enhanced at a lower endogenous DNA content and only marginally reduced at MQ ≥30. For all comparisons, see Supplementary Data S3. In (c), zero values are not plottedCC BY · PubMed Central
Figure 2. The impact of three mapping algorithms (BWA-aln, Bowtie2, BWA-mem) on ancient genomic datasets. (a) AMBER plots for the American mastodon empirical dataset with MQ ≥1; (b) mismatch and fragment length distribution plots for a simulated dataset of 100% endogenous elephant with 2% sequence divergence at MQ ≥1. (c) The counts of mismapped reads for each read length for the three aligners at MQ ≥1, ≥20, ≥25, or ≥30. For all comparisons, see Supplementary Data S4. Bowtie2 exhibits the greatest reference bias for read lengths typical of ancient DNA (30–80 bp), whereas BWA-aln shows reference bias for read lengths >120 bp. BWA-mem does not exhibit this latter bias, but maximizes reference bias for alignments ≤40 bp. There were 100 000 available reads per length bin in all simulated datasets
Figure 2. The impact of three mapping algorithms (BWA-aln, Bowtie2, BWA-mem) on ancient genomic datasets. (a) AMBER plots for the American mastodon empirical dataset with MQ ≥1; (b) mismatch and fragment length distribution plots for a simulated dataset of 100% endogenous elephant with 2% sequence divergence at MQ ≥1. (c) The counts of mismapped reads for each read length for the three aligners at MQ ≥1, ≥20, ≥25, or ≥30. For all comparisons, see Supplementary Data S4. Bowtie2 exhibits the greatest reference bias for read lengths typical of ancient DNA (30–80 bp), whereas BWA-aln shows reference bias for read lengths >120 bp. BWA-mem does not exhibit this latter bias, but maximizes reference bias for alignments ≤40 bp. There were 100 000 available reads per length bin in all simulated datasetsCC BY · PubMed Central
Figure 3. The impact of filtering using different MQ thresholds (≥1, ≥20, ≥25, or ≥30) on ancient genomic datasets. (a) AMBER plots for the steppe mammoth empirical dataset mapped with Bowtie2; (b) mismatch and fragment length distribution plots for a simulated dataset of 100% endogenous Asian elephant reads with 1% sequence divergence mapped with Bowtie2 at varying MQ thresholds; (c) Bowtie2, BWA-aln and BWA-mem, and using MQ ≥25. Higher MQ score thresholds differentially impact the various aligners, with the greatest impact on Bowtie2-mapped data. There were 100 000 available reads per length bin in all simulated datasets. The vertical dashed lines on panel (a) indicate the average depth of coverage achieved for each MQ threshold considered
Figure 3. The impact of filtering using different MQ thresholds (≥1, ≥20, ≥25, or ≥30) on ancient genomic datasets. (a) AMBER plots for the steppe mammoth empirical dataset mapped with Bowtie2; (b) mismatch and fragment length distribution plots for a simulated dataset of 100% endogenous Asian elephant reads with 1% sequence divergence mapped with Bowtie2 at varying MQ thresholds; (c) Bowtie2, BWA-aln and BWA-mem, and using MQ ≥25. Higher MQ score thresholds differentially impact the various aligners, with the greatest impact on Bowtie2-mapped data. There were 100 000 available reads per length bin in all simulated datasets. The vertical dashed lines on panel (a) indicate the average depth of coverage achieved for each MQ threshold consideredCC BY · PubMed Central
Figure 4. The impact of ancient genomic datasets with differing sample-reference edit distances (sequence divergence). (a) AMBER plots for a non-USER-treated Siberian unicorn, a USER-treated American mastodon, and non-USER-treated maize and human mapped with BWA-aln and MQ ≥1; (b) mismatch and fragment length distribution plots for simulated datasets of 100% endogenous elephant reads with 1%–6% sequence divergence mapped with BWA-aln and MQ ≥1. Higher sequence divergences, especially those ≥3%, are greatly impacted by reference bias. Comparisons of up to 15% sequence divergence and a USER/non-USER comparison can be found in Supplementary Texts S5 and S6. There were 100 000 available reads per length bin in all simulated datasets. The vertical dashed lines on panel (a) indicate the average depth of coverage achieved in each species
Figure 4. The impact of ancient genomic datasets with differing sample-reference edit distances (sequence divergence). (a) AMBER plots for a non-USER-treated Siberian unicorn, a USER-treated American mastodon, and non-USER-treated maize and human mapped with BWA-aln and MQ ≥1; (b) mismatch and fragment length distribution plots for simulated datasets of 100% endogenous elephant reads with 1%–6% sequence divergence mapped with BWA-aln and MQ ≥1. Higher sequence divergences, especially those ≥3%, are greatly impacted by reference bias. Comparisons of up to 15% sequence divergence and a USER/non-USER comparison can be found in Supplementary Texts S5 and S6. There were 100 000 available reads per length bin in all simulated datasets. The vertical dashed lines on panel (a) indicate the average depth of coverage achieved in each speciesCC BY · PubMed Central

Verification

Claims the paper makes

8 Valid · 1 Not valid · 1 Not checked · 41 Own results and interpretations

23 more claims

Create a free account to see all 51 claims and every source verdict.

See all claims — free account
  • It may state two separate claims as one. 18
  • Probably not a substantial claim. 10

Create a free account to see these claims.

Citations

Cites

Show all 28 references

Cited by

See all 33

Metadata

Authors
Dolenz, S., van der Valk, T., Jin, C., Oppenheimer, J., Sharif, M. B., Orlando, L., Shapiro, B., Dalén, L., & Heintzman, P. D.
Affiliations
  • Stockholm University (SE)
  • Science for Life Laboratory (SE)
  • University of California, Santa Cruz (US)
  • Centre National de la Recherche Scientifique (FR)
  • Howard Hughes Medical Institute (US)
Corresponding author
  • Dolenz, Stephanie
  • van der Valk, Tom
  • Heintzman, Peter D
Venue
Bioinformatics
Published
2024-07-01
Volume
40
Issue
7
Pages
btae436
ISSN
  • 1367-4803 (ISSN-L)
  • 1367-4811
OpenAlex
W4400344131
Cited by
33
References
28
Citations by year
2026: 19 · 2025: 13 · 2024: 1
FWCI
4.48
Type
journal article
Language
en
Open access
Locations
  • Bioinformatics (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • HAL (submittedVersion, cc-by)
  • eScholarship (California Digital Library) (submittedVersion, cc-by)
Funders
Knut and Alice Wallenberg Foundation (2021.0048, KAW 2022.0033)
Topics
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Genomics and Phylogenetic Studies
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Genetics › Forensic and Genetic Research
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Genetics › Genetic diversity and population structure
Keywords
reference bias, ancient DNA, read mapping, read length, amber, cytosine deamination, fragment size distribution, contamination, paleogenomics, reference genome selection
MeSH terms
DNA, Ancient, Algorithms, Animals, Humans, Software, Sequence Alignment, Sequence Analysis, DNA, Computational Biology

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

The claim verdicts this report counts are experimental: their accuracy is not yet measured.

A language model drew the claims from the paper on 2026-10-11, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-10-11 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Unravelling reference bias in ancient DNA datasets. https://app.cochat.ai/papers/10.1093/bioinformatics/btae436
The paper
Dolenz, S., van der Valk, T., Jin, C., Oppenheimer, J., Sharif, M. B., Orlando, L., Shapiro, B., Dalén, L., & Heintzman, P. D. (2024). Unravelling reference bias in ancient DNA datasets. Bioinformatics. https://doi.org/10.1093/bioinformatics/btae436

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.