Abstract
Centrifuger is an efficient taxonomic classification method that compares sequencing reads against a microbial genome database. Due to the increasing availability of microbial genomes, classification methods tend to store the genome database in an approximate way, keeping the memory footprint within a practical range. In contrast, Centrifuger losslessly compresses the Burrows-Wheeler transformed (BWT) sequence from microbial genomes using a novel compression algorithm called run-block compression. We prove that the run-block compression achieves sublinear space complexity, \(O(\frac{n}{\sqrt{l}})\) words, where \(n\) is the sequence length and \(l\) is the average run length. This space complexity falls between the no-compression wavelet tree representation using \(O\left(n\right)\) words and the run-length compression representation using \(O(\frac{n}{l})\) words. Run-block compression is effective at compressing microbial databases like RefSeq, where the average run length of the BWT sequence is low, e.g., about 6.8. Combining this compression method with other strategies for compacting the Ferragina-Manzini (FM) index, Centrifuger reduces the index size by half compared to its predecessor, Centrifuge. Lossless compression helps Centrifuger achieve greater accuracy than competing methods at lower taxonomic levels such as species and genus. Additionally, run-block compression supports rapid rank queries in \(O\left(log\sigma \right)\mathrm{ time}\), the same order as the wavelet-tree rank query. Despite its use of a compressed data structure, Centrifuger is as fast as Centrifuge in terms of processing speed.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Knight, R., et al.: Best practices for analysing microbiomes. Nat. Rev. Microbiol. 16, 410–422 (2018). https://doi.org/10.1038/s41579-018-0029-9
Pruitt, K.D., Tatusova, T., Maglott, D.R.: NCBI reference sequences (RefSeq): a curated non-redundant sequence database of genomes, transcripts and proteins. Nucleic Acids Res. 35, D61–D65 (2007). https://doi.org/10.1093/nar/gkl842
Wood, D.E., Lu, J., Langmead, B.: Improved metagenomic analysis with Kraken 2. Genome Biol. 20, 257 (2019). https://doi.org/10.1186/s13059-019-1891-0
Roberts, M., Hayes, W., Hunt, B.R., Mount, S.M., Yorke, J.A.: Reducing storage requirements for biological sequence comparison. Bioinformatics 20, 3363–3369 (2004). https://doi.org/10.1093/bioinformatics/bth408
Kim, D., Song, L., Breitwieser, F.P., Salzberg, S.L.: Centrifuge: rapid and sensitive classification of metagenomic sequences. Genome Res. 26, 1721–1729 (2016). https://doi.org/10.1101/gr.210641.116
Burrows, M., Wheeler, D.J.: A block-sorting lossless data compression algorithm. SRS Research Report. 124 (1994)
Ferragina, P., Manzini, G.: Opportunistic data structures with applications. In: Proceedings 41st Annual Symposium on Foundations of Computer Science, pp. 390–398 (2000). https://doi.org/10.1109/SFCS.2000.892127
Gagie, T., Navarro, G., Prezza, N.: Optimal-Time Text Indexing in BWT-runs Bounded Space (2017). http://arxiv.org/abs/1705.10382
Grossi, R., Gupta, A., Vitter, J.S.: High-order entropy-compressed text indexes. In: Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 841–850. Society for Industrial and Applied Mathematics, USA (2003)
Song, L., Langmead, B.: Centrifuger: lossless compression of microbial genomes for efficient and accurate metagenomic sequence classification (2023). https://www.biorxiv.org/content/10.1101/2023.11.15.567129v1, https://doi.org/10.1101/2023.11.15.567129
Acknowledgments
This work is supported by the NIH grants P20GM130454 (Dartmouth), 3P20GM130454-05WS (Dartmouth), R01HG011392 (B.L.), and R35GM139602 (B.L.).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
The authors have no competing interests to declare that are relevant to the content of this article.
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Song, L., Langmead, B. (2024). Centrifuger: Lossless Compression of Microbial Genomes for Efficient and Accurate Metagenomic Sequence Classification. In: Ma, J. (eds) Research in Computational Molecular Biology. RECOMB 2024. Lecture Notes in Computer Science, vol 14758. Springer, Cham. https://doi.org/10.1007/978-1-0716-3989-4_22
Download citation
DOI: https://doi.org/10.1007/978-1-0716-3989-4_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-1-0716-3988-7
Online ISBN: 978-1-0716-3989-4
eBook Packages: Computer ScienceComputer Science (R0)