Description

Classifies metagenomic sequence data

Input

Name (Type)
Description
Pattern

meta (map)

Groovy Map containing sample information
e.g. [ id:‘test’, single_end

]

reads (file)

List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively.

db (directory)

Kraken2 database

save_output_fastqs (string)

If true, optional commands are added to save classified and unclassified reads
as fastq files

save_reads_assignment (string)

If true, an optional command is added to save a file reporting the taxonomic
classification of each input read

Output

Name (Type)
Description
Pattern

meta (map)

Groovy Map containing sample information
e.g. [ id:‘test’, single_end

]

classified_reads_fastq (file)

Reads classified as belonging to any of the taxa
on the Kraken2 database.

*{fastq.gz}

unclassified_reads_fastq (file)

Reads not classified to any of the taxa
on the Kraken2 database.

*{fastq.gz}

classified_reads_assignment (file)

Kraken2 output file indicating the taxonomic assignment of
each input read

report (file)

Kraken2 report containing stats about classified
and not classifed reads.

*.{report.txt}

versions (file)

File containing software versions

versions.yml

Tools

kraken2
MIT

Kraken2 is a taxonomic sequence classifier that assigns taxonomic labels to sequence reads