kraken2
kraken2 classifies metagenomic sequence reads using exact k-mer matches to assign taxonomic labels for microbial community profiling.
Key Features:
- Taxonomic classification: Assigns taxonomic labels to metagenomic sequence data at read level.
- Exact k-mer matching: Uses exact k-mer matches from query sequences to identify candidate taxa.
- Lowest Common Ancestor (LCA) assignment: Matches each k-mer to the lowest common ancestor of all genomes containing that k-mer to inform classification.
- Memory efficiency: Reduces memory usage by 85% compared to its predecessor, enabling larger reference genomic databases.
- Speed: Increases classification speed approximately five-fold relative to its predecessor.
- Translated search mode: Provides a translated search that considers nucleotide-to-protein translations to increase sensitivity, especially for viral metagenomics.
- Bracken compatibility: Supports downstream use of Bracken (Bayesian Reestimation of Abundance after Classification with KrakEN) to probabilistically reestimate species abundances from read assignments.
Scientific Applications:
- Metagenomic taxonomic profiling: Classification of reads from metagenomic sequence data to characterize microbial community composition.
- Viral metagenomics: Enhanced detection and classification of viral sequences via translated search mode.
- Large-scale reference analyses: Enables use of larger reference genomic datasets for comprehensive metagenomic surveys due to reduced memory footprint and increased speed.
- Species/strain abundance estimation (with Bracken): Enables workflows for estimating species-level abundances when paired with Bracken's Bayesian redistribution of reads.
Methodology:
Performs exact k-mer matching from query sequences, assigns each k-mer to the lowest common ancestor of genomes containing that k-mer, offers a translated search mode that translates nucleotides into protein space, and relies on Bracken to probabilistically redistribute read assignments within the taxonomic tree for abundance estimation.
Topics
Collections
Details
- License:
- MIT
- Cost:
- Free of charge
- Tool Type:
- command-line tool
- Programming Languages:
- C++, Perl
- Added:
- 9/13/2019
- Last Updated:
- 6/18/2025
Operations
Data Inputs & Outputs
Taxonomic classification
Inputs
Outputs
Publications
Wood DE, Lu J, Langmead B. Improved metagenomic analysis with Kraken 2. Unknown Journal. 2019. doi:10.1101/762302.
DOI: 10.1101/762302
Documentation
User manual
https://benlangmead.github.io/aws-indexes/k2Links to multiple Kraken 2 and bracken databases and indexes
Downloads
- Source codeVersion: 2.0.8-betahttps://github.com/DerrickWood/kraken2/archive/v2.0.8-beta.tar.gz
Links
Repository
https://github.com/DerrickWood/kraken2Issue tracker
https://github.com/DerrickWood/kraken2/issues