Description

Classifies metagenomic sequence data

Input

name:type
description
pattern

meta{:bash}

:map

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

reads{:bash}

:file

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

db{:bash}

:directory

Kraken2 database

save_output_fastqs{:bash}

:string

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

save_reads_assignment{:bash}

: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{:bash}

meta{:bash}

:map

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

*.classified{.,_}*{:bash}

:file

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

*{fastq.gz}

unclassified_reads_fastq{:bash}

meta{:bash}

:map

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

*.unclassified{.,_}*{:bash}

:file

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

*{fastq.gz}

classified_reads_assignment{:bash}

meta{:bash}

:map

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

*classifiedreads.txt{:bash}

:file

Kraken2 output file indicating the taxonomic assignment of each input read

report{:bash}

meta{:bash}

:map

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

*report.txt{:bash}

:file

Kraken2 report containing stats about classified and not classified reads.

*.{report.txt}

versions{:bash}

versions.yml{:bash}

:file

File containing software versions

versions.yml

Tools

kraken2
MIT

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