Run-length compressed metagenomic read classification with SMEM-finding and tagging
Lore DepuydtiD, Omar Y. AhmediD, Jan FostieriD, Ben LangmeadiD, Travis GagieiD
Abstract
Metagenomic read classification is a fundamental task in computational biology, yet it remains challenging due to the scale, diversity, and complexity of sequencing datasets. We propose a novel, run-length compressed index based on the move structure that enables efficient multi-class metagenomic classification in O(r) space, where r is the number of character runs in the BWT of the reference text. Our method identifies all super-maximal exact matches (SMEMs) of length at least L between a read and the reference dataset and associates each SMEM with one class identifier using a sampled tag array. A consensus algorithm then compacts these SMEMs with their class identifier into a single classification per read. We are the first to perform run-length compressed read classification based on full SMEMs instead of semi-SMEMs. We evaluate our approach on both long and short reads in two conceptually distinct datasets: a large bacterial pan-genome with few metagenomic classes and a smaller 16S rRNA gene database spanning thousands of genera or classes. Our method consistently outperforms SPUMONI 2 in accuracy and runtime while maintaining the same asymptotic memory complexity of O(r). Compared to Cliffy, we demonstrate better memory efficiency while achieving superior accuracy on the simpler dataset and comparable performance on the more complex one. Overall, our implementation carefully balances accuracy, runtime, and memory usage, offering a versatile solution for metagenomic classification across diverse datasets. The open-source C++11 implementation is available at https://github.com/biointec/tagger under the AGPL-3.0 license.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 0.90
- Field percentile
- top 27%
- 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
- Kun-peng: an ultra-memory-efficient, fast, and accurate pan-domain taxonomic classifier for all
Qiong Chen, Boliang Zhang, … Chao Jiang·bioRxiv·Dec 19, 2024
- Taxor: Fast and space-efficient taxonomic classification of long reads with hierarchicalinterleaved XOR filters
Jens-Uwe Ulrich, Bernhard Y. Renard·Genome ResearchPeer-reviewed·Jun 1, 2024
- Centrifuger: lossless compression of microbial genomes for efficient and accurate metagenomic sequence classification
Li Song, Ben Langmead·Genome biologyPeer-reviewed·Apr 25, 2024
- deSAMBA: fast and accurate classification of metagenomics long reads with sparse approximate matches
Gaoyang Li, Bo Liu, Yadong Wang·bioRxiv·Aug 18, 2019
- deSPI: efficient classification of metagenomic reads with lightweight de Bruijn graph-based reference indexing
Dengfeng Guan, Bo Liu, Yadong Wang·bioRxiv·Oct 12, 2016
- Sketching and sampling approaches for fast and accurate long read classification
Arun Das, Michael C. Schatz·BMC BioinformaticsPeer-reviewed·Oct 31, 2022