Abstract
ABSTRACTUsingk-mers to find sequence matches is increasingly used in many bioinformatic applications, including metagenomic sequence classification. The accuracy of these down-stream applications relies on the density of the reference databases, which, luckily, are rapidly growing. While the increased density provides hope for dramatic improvements in accuracy, scalability is a concern. Referencek-mers are kept in the memory during the query time, and saving allk-mers of these ever-expanding databases is fast becoming impractical. Several strategies for subsampling have been proposed, including minimizers and finding taxon-specifick-mers. However, we contend that these strategies are inadequate, especially when reference sets are taxonomically imbalanced, as are most microbial libraries. In this paper, we explore approaches for selecting a fixed-size subset ofk-mers present in an ultra-large dataset to include in a library such that the classification of reads suffers the least. Our experiments demonstrate the limitations of existing approaches, especially for novel and poorly sampled groups. We propose a library construction algorithm called KRANK (K-mer RANKer) that combines several components, including a hierarchical selection strategy with adaptive size restrictions and an equitable coverage strategy. We implement KRANK in highly optimized code and combine it with the locality-sensitive-hashing classifier CONSULT-II to build a taxonomic classification and profiling method. On several benchmarks, KRANKk-mer selection dramatically reduces memory consumption with minimal loss in classification accuracy. We show in extensive analyses based on CAMI benchmarks that KRANK outperformsk-mer-based alternatives in terms of taxonomic profiling and comes close to the best marker-based methods in terms of accuracy.
Publisher
Cold Spring Harbor Laboratory
Reference28 articles.
1. Appleby, A (2009). MurmurHash3.
2. Balaban, M , Y Jiang , Q Zhu , D McDonald , R Knight , and S Mirarab (July 2023). “Generation of accurate, expandable phylogenomic trees with uDance”. In: Nature Biotechnology Online.
3. Approximate nearest neighbors: Towards removing the curse of dimensionality;In: Theory of Computing,2012
4. ART: A next-generation sequencing read simulator;In: Bioinformatics,2012