nf-core/kraken2/add @ 0.0.0-6c4ed3a
Summary
Adds fasta files to a Kraken2 taxonomic database
Get started
Add the following snippet to your workflow script to include this module.
include { KRAKEN2_ADD } from 'nf-core/kraken2/add'
License
MIT License
Name
|
KRAKEN2_ADD |
|---|
meta
map
|
Groovy Map containing sample information e.g. |
|---|---|
fasta
file
|
fasta file that will be added to the database *.{fa,fasta,fna,ffn}
|
taxonomy_names
file
|
used for associating sequences with taxonomy IDs *.dmp
|
|---|
taxonomy_nodes
file
|
tree nodes using NCBI taxonomy nomenclature *.dmp
|
|---|
accession2taxid
file
|
associates sequence accession IDs to taxonomy IDs *.accession2taxid
|
|---|
seqid2taxid
file
|
optional premade 2 column seq2taxid map file. Must be named seq2taxid.map. If not supplied will be generated by kraken2 itself during upstream build step. seqid2taxid.map
|
|---|
taxonomy_files
tuple
meta
map
|
Groovy Map containing sample information e.g. */
|
|---|---|
${prefix}/taxonomy/*
file
|
Files present in the /taxonomy/ directory, including nodes.dmp, names.dmp, and .accession2taxid files. *
|
seqid2taxid_map
tuple
meta
map
|
Groovy Map containing sample information e.g. */
|
|---|---|
${prefix}/seqid2taxid.map
file
|
File mapping sequence IDs to taxonomy IDs, either generated or premade. seqid2taxid.map
|
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 |
library_added_files
tuple
meta
map
|
Groovy Map containing sample information e.g. */
|
|---|---|
${prefix}/library/added/*
file
|
Files present in the /library/added/ directory, including FASTA files, masked FASTAs, and prelim_map files. *
|
| 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-6c4ed3a |
|---|---|
| Commit ID | 6c4ed3a220310b905a1fc9d04f05be2e0837142b |
| Release Date | 23 Apr 2026 15:27:10 (UTC) |
| Download URL | https://registry.nextflow.io/api/v1/modules/nf-core%2Fkraken2%2Fadd/0.0.0-6c4ed3a/download |
| OCI Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/kraken2/add/blobs/sha256:3a813b6535d4508343b2e9c70959f0a9146c5e1af3f817feeb2857a3c304f5e9 |
| Size | 3.4 KB |
| Checksum | sha256:3a813b6535d4508343b2e9c70959f0a9146c5e1af3f817feeb2857a3c304f5e9 |
| Downloads | 3 |
| Version | Date | Status | Downloads | Size |
|---|---|---|---|---|
| 0.0.0-6c4ed3a | 23 Apr 2026 15:27:10 (UTC) | 3 | 3.4 KB | |
| 0.0.0-e18a462 |