The Journal of Open Source SoftwareBioinformaticsPeer-reviewed journal article
Metagenomic classification with KrakenUniq on low-memory computers
Christopher PockrandtiD, Aleksey V. ZiminiD, Steven L. SalzbergiD
Abstract
Kraken and KrakenUniq are widely-used tools for classifying metagenomics sequences. A key requirement for these systems is a database containing all k-mers from all genomes that the users want to be able to detect, where k = 31 by default. This database can be very large, easily exceeding 100 gigabytes (GB) and sometimes 400 GB. Previously, Kraken and KrakenUniq required loading the entire database into main memory (RAM), and if RAM was insufficient, they used memory mapping, which significantly increased the running time for large datasets. We have implemented a new algorithm in KrakenUniq that allows it to load and process the database in chunks, with only a modest increase in running time. This enhancement now makes it feasible to run KrakenUniq on very large datasets and huge databases on virtually any computer, even a laptop, while providing the same very high classification accuracy as the previous system.
- Citations
- 27
- FWCI
- 1.31
- Field percentile
- top 20%
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
- Chimera: Ultrafast and Memory-efficient Database Construction for High-Accuracy Taxonomic Classification in the Age of Expanding Genomic Data
Qinzhong Tian, Pinglu Zhang, … Ximei Luo·bioRxiv·Mar 26, 2025
- Improved metagenomic analysis with Kraken 2
Derrick E. Wood, Jennifer Lu, Ben Langmead·Genome biologyPeer-reviewed·Nov 28, 2019
- Memory-bound k-mer selection for large evolutionary diverse reference libraries
Ali Osman Berk Şapcı, Siavash Mirarab·Genome ResearchPeer-reviewed·Sep 1, 2024
- Run-length compressed metagenomic read classification with SMEM-finding and tagging
Lore Depuydt, Omar Y. Ahmed, … Travis Gagie·iSciencePeer-reviewed·Nov 19, 2025
- Improving Metagenomics Classification with Kmask: Entropy-Based Masking of Low-Complexity Regions
Yuchen Ge, Edward Li, … Steven L. Salzberg·bioRxiv·Sep 23, 2026