nf-core/kraken2/build @ 0.0.0-0c7146d
Summary
Builds Kraken2 database
Get started
Add the following snippet to your workflow script to include this module.
include { KRAKEN2_BUILD } from 'nf-core/kraken2/build'
License
MIT License
Name
|
KRAKEN2_BUILD |
|---|
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
library_added_files
file
|
Files present in the /library/added/ directory, including FASTA files, masked FASTAs, and prelim_map files. *
|
meta2
map
|
Groovy Map containing sample information e.g. |
|---|---|
seqid2taxid_map
file
|
File mapping sequence IDs to taxonomy IDs, either generated or premade. seqid2taxid.map
|
meta3
map
|
Groovy Map containing sample information e.g. |
|---|---|
taxonomy_files
file
|
Files present in the /taxonomy/ directory, including nodes.dmp, names.dmp, and .accession2taxid files. *
|
cleaning
boolean
|
activate or deactivate (true or false) cleaning of intermediate files |
|---|
db
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
kraken2-database
directory
|
Directory contains the database that can be used to perform taxonomic classification IMPORTANT: this output directory will be hardcoded as 'kraken2-database/' inside the module to prevent issues of containers following symlinks in symlinks. To give a user the option to provide custom name for the database directory within a pipeline, you should customise this name using during pipeline output publication via the pipeline's publishDir or workflow output customisation options. kraken2-database/
|
unmapped
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
kraken2-database/unmapped*.txt
file
|
List of unmapped sequence files, i.e. accessions that did not map to any taxonomy ID and were excluded unmapped*.txt
|
db_separated
tuple
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
kraken2-database/*k2d
file
|
Kraken2 k2d binary database files *.k2d
|
kraken2-database/*map
file
|
Kraken2 k2d binary database taxonomy to sequencing mapping file *.map
|
kraken2-database/library/added/*
file
|
Kraken2 masked FASTA files used to build the database *.fasta
|
kraken2-database/taxonomy/*
file
|
Kraken2 nodes.dmp, names.dmp, and .accession2taxid taxonomy files *.{dmp,accession2taxid}
|
versions_kraken2
tuple
${task.process}
string
|
The name of the process |
|---|---|
kraken2
string
|
The name of the tool |
kraken2 --version 2>&1 | head -1 | sed "s/^.*Kraken version //; s/ .*//"
eval
|
The expression to obtain the version of the tool |
| Tool | Description | Homepage |
|---|---|---|
| kraken2 | Kraken2 is a system for assigning taxonomic labels to short DNA sequences, usually obtained through metagenomic studies. | https://ccb.jhu.edu/software/kraken2/ |
| Version | 0.0.0-0c7146d |
|---|---|
| Commit ID | 135d883a43b1a2324b4112cd270cf22e20835533 |
| Release Date | 08 Apr 2026 18:51:17 (UTC) |
| Download URL | https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fkraken2%2Fbuild/0.0.0-0c7146d/download |
| OCI Store URL | https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/kraken2/build/blobs/sha256:845e9156c94006501ecd7e45102834f40101304c70d1c84d914bed8edb6cb5d3 |