Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
reads
:file
FASTQ or FASTA reads, one file for single-end and two for paired-end data
*.{fastq,fq,fasta,fa}{,.gz}
meta2
:map
Groovy Map containing reference information
e.g. [ id:'adapters' ]
contaminants
:file
Optional. FASTA files of adapters or contaminants, passed to ref=
*.{fasta,fa}{,.gz}
meta3
:map
Groovy Map containing barcode information
e.g. [ id:'barcodes' ]
barcodes
:file
Optional. Files of expected barcodes, one per line, passed to barcodes=; use with barcodefilter=t in ext.args
*.{txt,tsv}
meta4
:map
Groovy Map containing side channel reference information
e.g. [ id:'phix' ]
sideref
:file
Optional. Single-sequence FASTA reference of the side channel, passed to sideref= (BBDuk uses PhiX when empty)
*.{fasta,fa}{,.gz}
meta5
:map
Groovy Map containing recalibration information
e.g. [ id:'mapped' ]
recal_sam
:file
Optional. Mapped SAM files (with = and X CIGAR operations) to build the recalibration matrices from, passed to sam=; use with recalibrate in ext.args
*.sam
meta6
:map
Groovy Map containing recalibration information
e.g. [ id:'matrices' ]
recal_matrices
:directory
Optional. Recalibration matrices built earlier, the ref directory of the recal_matrices output; use with recalibrate in ext.args; not together with recal_sam (the module fails, BBDuk would overwrite them)
ref
save_matched
:boolean
Whether to write the reads removed from the main output (outm/outm2)
save_singletons
:boolean
Whether to write the reads whose mate was removed, for paired-end data only (outs)
save_stats
:boolean
Whether to write the match counts (stats), and with contaminants the per-file counts and RPKM (refstats, rpkm)
save_hists
:boolean
Whether to write the read and k-mer histograms (bhist, qhist, qchist, aqhist, bqhist, lhist, phist, gchist, enthist, khist, khistout)
save_kmers
:boolean
Whether to dump the k-mer table built from the contaminants in FASTA format (dump)
save_side
:boolean
Whether to write the reads aligned to the side channel reference (sideout)
Output
name:type
description
pattern
reads
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
reads_out
:file
Trimmed and filtered reads, ${prefix}.trimmed.fastq.gz or ${prefix}_{1,2}.trimmed.fastq.gz for paired reads
*.trimmed.fastq.gz
log
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
${prefix}.bbduk.log
:file
BBDuk report with the reads and bases processed, trimmed and removed
*.bbduk.log
matched_reads
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
matched_out
:file
Optional. Reads removed from the main output, ${prefix}.matched.fastq.gz or ${prefix}_{1,2}.matched.fastq.gz for paired reads
*.matched.fastq.gz
singleton_reads
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
${prefix}.singletons.fastq.gz
:file
Optional. Reads whose mate was removed, for paired-end data only
*.singletons.fastq.gz
stats
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
${prefix}.stats.txt
:file
Optional. Number of reads matching each reference sequence
*.stats.txt
refstats
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
${prefix}.refstats.txt
:file
Optional. Number of reads matching each contaminant file, written with contaminants only
*.refstats.txt
rpkm
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
${prefix}.rpkm.txt
:file
Optional. RPKM of each contaminant sequence, written with contaminants only
*.rpkm.txt
histograms
meta
:map
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
hists_out
:file
Optional. Eleven histograms named ${prefix}.<name>.txt, one per save_hists entry