Difference between revisions of "Kraken"
Moskalenko (talk | contribs) (Created page with "Category:SoftwareCategory:BioinformaticsCategory:NGS {|<!--CONFIGURATION: REQUIRED--> |{{#vardefine:app|kraken}} |{{#vardefine:url|http://ccb.jhu.edu/software/krak...") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Software]][[Category: | + | [[Category:Software]][[Category:Biology]][[Category:NGS]] |
{|<!--CONFIGURATION: REQUIRED--> | {|<!--CONFIGURATION: REQUIRED--> | ||
|{{#vardefine:app|kraken}} | |{{#vardefine:app|kraken}} | ||
Line 5: | Line 5: | ||
<!--CONFIGURATION: OPTIONAL (|1}} means it's ON)--> | <!--CONFIGURATION: OPTIONAL (|1}} means it's ON)--> | ||
|{{#vardefine:conf|}} <!--CONFIGURATION--> | |{{#vardefine:conf|}} <!--CONFIGURATION--> | ||
− | |{{#vardefine:exe|}} <!--ADDITIONAL INFO--> | + | |{{#vardefine:exe|1}} <!--ADDITIONAL INFO--> |
|{{#vardefine:pbs|}} <!--PBS SCRIPTS--> | |{{#vardefine:pbs|}} <!--PBS SCRIPTS--> | ||
|{{#vardefine:policy|}} <!--POLICY--> | |{{#vardefine:policy|}} <!--POLICY--> | ||
Line 22: | Line 22: | ||
In its fastest mode of operation, for a simulated metagenome of 100 bp reads, Kraken processed over 4 million reads per minute on a single core, over 900 times faster than Megablast and over 11 times faster than the abundance estimation program MetaPhlAn. Kraken's accuracy is comparable with Megablast, with slightly lower sensitivity and very high precision. | In its fastest mode of operation, for a simulated metagenome of 100 bp reads, Kraken processed over 4 million reads per minute on a single core, over 900 times faster than Megablast and over 11 times faster than the abundance estimation program MetaPhlAn. Kraken's accuracy is comparable with Megablast, with slightly lower sensitivity and very high precision. | ||
<!--Modules--> | <!--Modules--> | ||
− | == | + | ==Environment Modules== |
− | + | Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application. | |
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==System Variables== | ==System Variables== | ||
− | * HPC_{{ | + | * HPC_{{uc:{{#var:app}}}}_DIR - installation directory |
− | * HPC_{{ | + | * HPC_{{uc:{{#var:app}}}}_BIN - executable directory |
+ | * KRAKEN2_DB_PATH - directory with 'db' builds. | ||
<!--Configuration--> | <!--Configuration--> | ||
{{#if: {{#var: conf}}|==Configuration== | {{#if: {{#var: conf}}|==Configuration== | ||
Line 43: | Line 34: | ||
<!--Run--> | <!--Run--> | ||
{{#if: {{#var: exe}}|==Additional Information== | {{#if: {{#var: exe}}|==Additional Information== | ||
− | + | ||
+ | After loading the kraken/2 module you can check the available databases with | ||
+ | $ ls $KRAKEN2_DB_PATH | ||
+ | |||
+ | Use any of the standard or custom databases we host with the '-db DBNAME' argument. E.g. | ||
+ | |||
+ | $ module load kraken/2 | ||
+ | $ kraken2-inspect -db fungi | ||
+ | |||
+ | If you need a custom database [https://github.com/DerrickWood/kraken2/wiki/Manual#custom-databases built] let us know and provide the fasta file with taxonomic IDs. We'd be happy to build and host a commonly used database. | ||
+ | |||
+ | If you get the ''Loading database information...classify: Error reading in hash table'' error allocate more memory to the job. Keep incrementing the memory request until you see a status message in the job log like | ||
+ | Loading database information... done. | ||
+ | Processed 2488462 sequences (226450042 bp) ... | ||
+ | |||
|}} | |}} | ||
<!--PBS scripts--> | <!--PBS scripts--> |
Latest revision as of 19:28, 12 August 2022
Description
Kraken is a system for assigning taxonomic labels to short DNA sequences, usually obtained through metagenomic studies. Previous attempts by other bioinformatics software to accomplish this task have often used sequence alignment or machine learning techniques that were quite slow, leading to the development of less sensitive but much faster abundance estimation programs. Kraken aims to achieve high sensitivity and high speed by utilizing exact alignments of k-mers and a novel classification algorithm.
In its fastest mode of operation, for a simulated metagenome of 100 bp reads, Kraken processed over 4 million reads per minute on a single core, over 900 times faster than Megablast and over 11 times faster than the abundance estimation program MetaPhlAn. Kraken's accuracy is comparable with Megablast, with slightly lower sensitivity and very high precision.
Environment Modules
Run module spider kraken
to find out what environment modules are available for this application.
System Variables
- HPC_KRAKEN_DIR - installation directory
- HPC_KRAKEN_BIN - executable directory
- KRAKEN2_DB_PATH - directory with 'db' builds.
Additional Information
After loading the kraken/2 module you can check the available databases with
$ ls $KRAKEN2_DB_PATH
Use any of the standard or custom databases we host with the '-db DBNAME' argument. E.g.
$ module load kraken/2 $ kraken2-inspect -db fungi
If you need a custom database built let us know and provide the fasta file with taxonomic IDs. We'd be happy to build and host a commonly used database.
If you get the Loading database information...classify: Error reading in hash table error allocate more memory to the job. Keep incrementing the memory request until you see a status message in the job log like
Loading database information... done. Processed 2488462 sequences (226450042 bp) ...