DNAharvester: a nextflow pipeline for analysing highly degraded DNA from ancient and historical specimens
Abstract
Motivation: Ancient DNA (aDNA) research has advanced rapidly with the development of high-throughput sequencing, enabling 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 characterized by short fragment lengths, low endogenous content, post-mortem damage, and cross-species contamination, which can increase spurious mapping and reference bias, affecting downstream population genetic inferences.
Results: We present DNAharvester, a modular and reproducible pipeline designed specifically for processing highly degraded DNA from ancient and historical specimens. DNAharvester integrates metagenomic filtering, competitive mapping, adaptive aligner selection (incorporating 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, focusing on maximizing authentic data recovery. DNAharvester features subworkflows for iterative assembly of mitogenomes, identification of genomic repeats and CpG sites, taxonomic classification, microbial/pathogen screening, genetic sex determination, and variant calling. To accommodate varying sequencing depths, the pipeline supports diploid variant calling, genotype likelihood estimation, and pseudo-haploid random allele calling. We validated the pipeline using simulated and empirical datasets, demonstrating its ability to systematically mitigate complex background contamination while preserving authentic genomic signals. By streamlining complex bioinformatic tasks through simple configuration files, DNAharvester establishes a standardized approach for analysing aDNA datasets and makes genomic analyses of ancient remains accessible to the broader research community.
Availability and Implementation: Implemented in Nextflow, DNAharvester provides a highly scalable, containerized framework that enhances reproducibility, portability, and robustness in aDNA analyses. DNAharvester is open source under the GNU General Public License v3.0 and freely available at https://github.com/NBISweden/DNAharvester.
Related
- EXCON: a scalable, reproducible Nextflow pipeline for CAFE-based gene EXpansion and CONtraction analysis
- nanorepertoire: an end-to-end Nextflow pipeline for nanobody repertoire analysis
- Flow Orchestrated Regulatory Genomics Engine (FORGE): A Configurable Nextflow Pipeline for End-to-End snMultiome Analysis
- SeCAT (Sequence Consensus Amplicon Trimming): a simulation-informed Nextflow pipeline for cross-study harmonisation of 16S rRNA metabarcoding datasets
- Streamline CNV - A Handy Nextflow Pipeline for Chromosomal Copy Number Variation Analysis
BibTeX
@article{sharif2026dnaharvester,
title = {{DNAharvester: a nextflow pipeline for analysing highly degraded DNA from ancient and historical specimens}},
author = {Bilal Sharif and Verena E Kutschera and Nikolay Oskolkov and Benjamin Guinet and Edana Lord and J Camilo Chacón-Duque and Jonas Oppenheimer and Tom van der Valk and David Díez-del-Molino and Peter D Heintzman and Love Dalén},
journal = {Bioinformatics},
year = {2026},
month = oct,
doi = {10.1093/bioinformatics/btag782},
url = {https://doi.org/10.1093/bioinformatics/btag782},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - DNAharvester: a nextflow pipeline for analysing highly degraded DNA from ancient and historical specimens
AU - Bilal Sharif
AU - Verena E Kutschera
AU - Nikolay Oskolkov
AU - Benjamin Guinet
AU - Edana Lord
AU - J Camilo Chacón-Duque
AU - Jonas Oppenheimer
AU - Tom van der Valk
AU - David Díez-del-Molino
AU - Peter D Heintzman
AU - Love Dalén
PY - 2026
DA - 2026/10/16
JO - Bioinformatics
DO - 10.1093/bioinformatics/btag782
UR - https://doi.org/10.1093/bioinformatics/btag782
AB - Motivation: Ancient DNA (aDNA) research has advanced rapidly with the development of high-throughput sequencing, enabling 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 characterized by short fragment lengths, low endogenous content, post-mortem damage, and cross-species contamination, which can increase spurious mapping and reference bias, affecting downstream population genetic inferences. Results: We present DNAharvester, a modular and reproducible pipeline designed specifically for processing highly degraded DNA from ancient and historical specimens. DNAharvester integrates metagenomic filtering, competitive mapping, adaptive aligner selection (incorporating 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, focusing on maximizing authentic data recovery. DNAharvester features subworkflows for iterative assembly of mitogenomes, identification of genomic repeats and CpG sites, taxonomic classification, microbial/pathogen screening, genetic sex determination, and variant calling. To accommodate varying sequencing depths, the pipeline supports diploid variant calling, genotype likelihood estimation, and pseudo-haploid random allele calling. We validated the pipeline using simulated and empirical datasets, demonstrating its ability to systematically mitigate complex background contamination while preserving authentic genomic signals. By streamlining complex bioinformatic tasks through simple configuration files, DNAharvester establishes a standardized approach for analysing aDNA datasets and makes genomic analyses of ancient remains accessible to the broader research community. Availability and Implementation: Implemented in Nextflow, DNAharvester provides a highly scalable, containerized framework that enhances reproducibility, portability, and robustness in aDNA analyses. DNAharvester is open source under the GNU General Public License v3.0 and freely available at https://github.com/NBISweden/DNAharvester.
SN - 1367-4803
SN - 1367-4811
ER -