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

classified_reads_fastq

meta:map

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

]

*.classified{.,_}*:file

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

*{fastq.gz}

unclassified_reads_fastq

meta:map

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

]

*.unclassified{.,_}*:file

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

*{fastq.gz}

classified_reads_assignment

meta:map

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

]

*classifiedreads.txt:file

Kraken2 output file indicating the taxonomic assignment of each input read

report

meta:map

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

]

*report.txt:file

Kraken2 report containing stats about classified and not classifed reads.

*.{report.txt}

versions

versions.yml:file

File containing software versions

versions.yml

Tools

kraken2
MIT

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