Deacon: fast sequence filtering and contaminant depletion
Abstract
MotivationRealising the value of large DNA sequence collections demands efficient search and extraction of sequences of interest. Search queries may vary in size from short gene sequences to multiple whole genomes that are too large to fit in computer memory. In microbial genomics, a routine search application involving both large queries and large collections is the removal of contaminating host genome sequences from microbial (meta)genomes. Where the host is human, sensitive classification and excision of host sequences is usually necessary to protect host genetic information. Precise classification is also critical in order to retain microbial sequences and permit accurate microbial genomic analysis. While human pangenomes have been shown to increase sensitivity of human sequence classification, existing bioinformatic host depletion approaches have either limited precision when used with metagenomes or large computing resource requirements. ResultsWe present Deacon, an efficient and versatile sequence filter for raw sequence files and streams. We demonstrate its leading accuracy for the task of host depletion, using less computing resource than existing approaches. By querying a human pangenome index for minimizers contained in each input sequence, Deacon is able to accurately classify and discard diverse human sequences from long reads at over 250Mbp/s with a commodity laptop. We present validation of classification sensitivity, specificity and speed with simulated short and long reads for diverse catalogues of human, bacterial and viral genomes alongside existing methods. Beyond host depletion, Deacon is well suited to common sequence search and filtering applications, particularly those involving large queries. Capable of indexing a human genome in under 30s, Deacon is equipped to rapidly compose custom minimizer indexes using set operations, facilitating efficient search and filtering of massive sequence datasets using gigabase queries. Availability and implementationDeacon is implemented as an MIT-licensed command line tool written in Rust and packaged with Bioconda. Code is available from https://github.com/bede/deacon.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 10
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Hostile: accurate host decontamination of microbial sequences
Bede Constantinides, Martin Hunt, Derrick W. Crook·BioinformaticsPeer-reviewed·Nov 29, 2023
- Cleanifier: Contamination removal from microbial sequences using spaced seeds of a human pangenome index
Jens Zentgraf, Johanna Elena Schmitz, Sven Rahmann·BioinformaticsPeer-reviewed·Nov 16, 2025
- HoCoRT: Host contamination removal tool
Ignas Rumbavicius, Trine B. Rounge, Torbjørn Rognes·BMC BioinformaticsPeer-reviewed·Oct 2, 2023
- Pangenome databases provide superior host removal and mycobacteria classification from clinical metagenomic data
Michael B. Hall, Lachlan Coin·GigaSciencePeer-reviewed·Jan 1, 2024
- Targeted decontamination of sequencing data with CLEAN
Marie Lataretu, Sebastian Krautwurst, … Martin Hölzer·NAR Genomics and BioinformaticsPeer-reviewed·Jul 4, 2025
- nf-core/detaxizer: A Benchmarking Study for Decontamination from Human Sequences
Jannik Seidel, Camill Kaipf, … Sven Nahnsen·NAR Genomics and BioinformaticsPeer-reviewed·Jul 4, 2025