HostSweep: a modular dual-pass workflow for reducing human read content in Illumina metagenomic data
Mukhtar, Adeel and Tariq, Umair and Abdul Khaliq, Awais (2026) HostSweep: a modular dual-pass workflow for reducing human read content in Illumina metagenomic data. Bioinformatics Advances. ISSN 2635-0041
Preview |
Text
vbag349.pdf - Accepted Version Available under License Creative Commons Attribution. Download (785kB) |
Abstract
Human reads in metagenomic data distort taxonomic profiles and assemblies and complicate data sharing. HostSweep is a Python workflow that chains fastp, minimap2, Bowtie2 and BBDuk in a two-pass alignment against the telomere-to-telomere human reference genome (CHM13 version 2.0) and writes three outputs from one run: assembly-grade paired-end reads, profiling-grade single-end reads, and a high-stringency complexity- and length-filtered single-end set. On 12 synthetic libraries with known read origin, every tool tested removed at least 99.999% of human reads simulated from this reference. For reads from three independent donor assemblies, HostSweep removed 99.970% (KneadData 99.969%, BMTagger 99.946%, Hostile 99.867%) while losing 0.014% of microbial pairs (KneadData 0.43%; Hostile and BMTagger below 0.001%). HostSweep used the most memory and was the second-slowest tool after BMTagger (5.7 minutes and 11.4 gigabytes per 2 million read pairs). It lowers detectable human sequence but cannot prove that none remains or that the data meet legal, ethical or repository requirements.
Availability and implementation
HostSweep is written in Python, released under the MIT licence and available at https://github.com/Adeel2208/HostSweep; the release used here is archived at https://doi.org/10.5281/zenodo.23879431.
| Item Type: | Article |
|---|---|
| Identification Number: | 10.1093/bioadv/vbag349 |
| Dates: | Date Event 1 November 2026 Accepted 21 November 2026 Published Online |
| Uncontrolled Keywords: | metagenomics, host read removal, T2T-CHM13v2.0, dual-pass alignment, workflow |
| Subjects: | CAH11 - computing > CAH11-01 - computing > CAH11-01-01 - computer science |
| Divisions: | Architecture, Built Environment, Computing and Engineering > Computer Science |
| Depositing User: | Gemma Tonks |
| Date Deposited: | 27 Nov 2026 11:37 |
| Last Modified: | 27 Nov 2026 11:37 |
| URI: | https://www.open-access.bcu.ac.uk/id/eprint/17339 |
Actions (login required)
![]() |
View Item |

Tools
Tools