Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Dec 1;39(12):btad728.
doi: 10.1093/bioinformatics/btad728.

Hostile: accurate decontamination of microbial host sequences

Affiliations

Hostile: accurate decontamination of microbial host sequences

Bede Constantinides et al. Bioinformatics. .

Abstract

Motivation: Microbial sequences generated from clinical samples are often contaminated with human host sequences that must be removed for ethical and legal reasons. Care must be taken to excise host sequences without inadvertently removing target microbial sequences to the detriment of downstream analyses such as variant calling and de novo assembly.

Results: To facilitate accurate host decontamination of both short and long sequencing reads, we developed Hostile, a tool capable of accurate host read removal using a laptop. We demonstrate that our approach removes at least 99.6% of real human reads and retains at least 99.989% of simulated bacterial reads. Using Hostile with a masked reference genome further increases bacterial read retention (≥99.997%) with negligible (≤0.001%) reduction in human read removal performance. Compared with an existing tool, Hostile removes 21%-23% more human short reads and 21-43 times fewer bacterial reads, typically in less time.

Availability and implementation: Hostile is implemented as an MIT-licensed Python package available from https://github.com/bede/hostile together with supplementary material.

PubMed Disclaimer

Conflict of interest statement

None declared.

References

    1. Bush SJ, Connor TR, Peto TE. et al. Evaluation of methods for detecting human reads in microbial sequencing datasets. Microb Genom 2020;6:mgen000393. 10.1099/mgen.0.000393. - DOI - PMC - PubMed
    1. Bushnell B. BBMap: A Fast, Accurate, Splice-Aware Aligner. Berkeley, CA, United States: Lawrence Berkeley National Laboratory. 2014. https://www.osti.gov/biblio/1241166.
    1. Byrska-Bishop M, Evani US, Zhao X. et al.; Human Genome Structural Variation Consortium. High-coverage whole-genome sequencing of the expanded 1000 genomes project cohort including 602 trios. Cell 2022;185:3426–40.e19. 10.1016/j.cell.2022.08.004. - DOI - PMC - PubMed
    1. Danecek P, Bonfield JK, Liddle J. et al. Twelve years of SAMtools and BCFtools. Gigascience 2021;10:giab008. 10.1093/gigascience/giab008. - DOI - PMC - PubMed
    1. Eberle MA, Fritzilas E, Krusche P. et al. A reference data set of 5.4 million phased human variants validated by genetic inheritance from sequencing a three-generation 17-member pedigree. Genome Res 2017;27:157–64. 10.1101/gr.210500.116. - DOI - PMC - PubMed

Publication types