How to Install and Uninstall kraken2 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "kraken2" package

Please follow the guidelines below to install kraken2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install kraken2

2. Uninstall "kraken2" package

Please follow the guidance below to uninstall kraken2 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove kraken2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the kraken2 package on Ubuntu 21.04 (Hirsute Hippo)

Package: kraken2
Architecture: amd64
Version: 2.1.1-1
Priority: optional
Section: universe/science
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Med Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1783
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgomp1 (>= 6), libstdc++6 (>= 5.2), ncbi-blast+
Filename: pool/universe/k/kraken2/kraken2_2.1.1-1_amd64.deb
Size: 824708
MD5sum: 0809e832c75054a002c17aab68851eda
SHA1: 5b6d30d215c22052f5b222bded5be29844f1cdc7
SHA256: 7c05d5b0b917144841af7a15fa702def126ebeb8510a0279662e2ec6b5653e70
SHA512: 77dda47a8f7d9dc0f75a40a0576f0c1a7b34bd1504cfb37a3fdbf5eb535d311950990634b7d11125036ac607cd985eaa121df2713ce24dc2687156de54b6059b
Homepage: https://www.ccb.jhu.edu/software/kraken2/
Description-en: taxonomic classification system using exact k-mer matches
Kraken 2 is the newest version of Kraken, a taxonomic classification
system using exact k-mer matches to achieve high accuracy and fast
classification speeds. This classifier matches each k-mer within a query
sequence to the lowest common ancestor (LCA) of all genomes containing
the given k-mer. The k-mer assignments inform the classification
algorithm. [see: Kraken 1's Webpage for more details].
.
Kraken 2 provides significant improvements to Kraken 1, with faster
database build times, smaller database sizes, and faster classification
speeds. These improvements were achieved by the following updates to the
Kraken classification program:
.
1. Storage of Minimizers: Instead of storing/querying entire k-mers,
Kraken 2 stores minimizers (l-mers) of each k-mer. The length of
each l-mer must be ≤ the k-mer length. Each k-mer is treated by
Kraken 2 as if its LCA is the same as its minimizer's LCA.
2. Introduction of Spaced Seeds: Kraken 2 also uses spaced seeds to
store and query minimizers to improve classification accuracy.
3. Database Structure: While Kraken 1 saved an indexed and sorted list
of k-mer/LCA pairs, Kraken 2 uses a compact hash table. This hash
table is a probabilistic data structure that allows for faster
queries and lower memory requirements. However, this data structure
does have a <1% chance of returning the incorrect LCA or returning
an LCA for a non-inserted minimizer. Users can compensate for this
possibility by using Kraken's confidence scoring thresholds.
4. Protein Databases: Kraken 2 allows for databases built from amino
acid sequences. When queried, Kraken 2 performs a six-frame
translated search of the query sequences against the database.
5. 16S Databases: Kraken 2 also provides support for databases not
based on NCBI's taxonomy. Currently, these include the 16S
databases: Greengenes, SILVA, and RDP.
Description-md5: 70f2ff9ad084534e552c6c2118d2a186