Back

DNAharvester: A Nextflow Pipeline for Analysing Highly Degraded DNA from Ancient and Historical Specimens

Sharif, B.; Kutschera, V. E.; Oskolkov, N.; Guinet, B.; Lord, E.; Chacon-Duque, J. C.; Oppenheimer, J.; van der Valk, T.; Diez-del-Molino, D.; D. Heintzman, P.; Dalen, L.

2026-04-21 bioinformatics
10.64898/2026.04.20.719564 bioRxiv
Show abstract

Ancient DNA (aDNA) research has advanced rapidly with the development of high-throughput sequencing, which now enables genome-wide analyses of large collections of prehistoric specimens. However, analysing palaeontological and archaeological material with highly degraded DNA constitutes a major bioinformatic challenge. DNA from such samples is characterised by short fragment lengths, low endogenous content, post-mortem damage, and considerable cross-species contamination, which can increase spurious mapping and reference bias, affecting downstream population genetic inferences. Here we present DNAharvester, a modular and reproducible pipeline designed specifically for the processing of highly degraded DNA from ancient and historical specimens. DNAharvester integrates metagenomic filtering before mapping, competitive mapping, adaptive aligner selection (incorporating algorithms such as BWA-aln, BWA-mem, and Bowtie2), and systematic evaluation of reference bias and spurious mapping. By incorporating flexible mapping and filtering strategies, the pipeline can be adapted to varying sample preservation, with a distinct focus on maximising authentic data recovery from highly degraded material. Furthermore, DNAharvester features comprehensive subworkflows for iterative assembly of mitogenomes, identification of genomic repeats and CpG sites, taxonomic classification, microbial/pathogen screening of unmapped reads, genetic sex determination, and variant calling for downstream analyses. To accommodate datasets with varying sequencing depths, the pipeline incorporates multiple variant calling strategies, including diploid variant calling, genotype likelihood estimation, and pseudo-haploid random allele calling. Implemented in Nextflow, DNAharvester provides a highly scalable, containerised framework that enhances reproducibility, portability, and robustness in aDNA analyses. We validated the pipeline across a gradient of simulated scenarios and empirical datasets, demonstrating its ability to systematically mitigate complex background contamination while preserving authentic genomic signals even in the most challenging of circumstances. By streamlining complex bioinformatic tasks through simple configuration files, DNAharvester establishes a standardised approach for the rigorous analysis of highly degraded DNA datasets and makes genomic analyses of ancient remains accessible to the broader research community.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

1
Genome Biology
555 papers in training set
Top 0.1%
14.4%
2
Bioinformatics
1061 papers in training set
Top 3%
10.4%
3
Nature Biotechnology
147 papers in training set
Top 0.6%
10.4%
4
Nature Communications
4913 papers in training set
Top 26%
6.8%
5
Nucleic Acids Research
1128 papers in training set
Top 4%
4.9%
6
Bioinformatics Advances
184 papers in training set
Top 0.9%
4.3%
50% of probability mass above
7
PLOS ONE
4510 papers in training set
Top 36%
4.0%
8
Molecular Ecology Resources
161 papers in training set
Top 0.3%
3.6%
9
Scientific Reports
3102 papers in training set
Top 37%
3.6%
10
Briefings in Bioinformatics
326 papers in training set
Top 2%
3.6%
11
Methods in Ecology and Evolution
160 papers in training set
Top 1%
2.7%
12
Genome Medicine
154 papers in training set
Top 3%
2.7%
13
NAR Genomics and Bioinformatics
214 papers in training set
Top 1%
2.1%
14
BMC Bioinformatics
383 papers in training set
Top 4%
2.1%
15
Nature Methods
336 papers in training set
Top 4%
1.9%
16
BMC Genomics
328 papers in training set
Top 2%
1.9%
17
GigaScience
172 papers in training set
Top 1%
1.7%
18
Cell Reports Methods
141 papers in training set
Top 3%
1.3%
19
Genome Research
409 papers in training set
Top 4%
0.9%
20
Microbial Genomics
204 papers in training set
Top 2%
0.9%
21
Computational and Structural Biotechnology Journal
216 papers in training set
Top 8%
0.9%
22
Nature
575 papers in training set
Top 15%
0.7%
23
Scientific Data
174 papers in training set
Top 2%
0.7%