Description

Align reads to a reference genome using bowtie2

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.

meta2 (map)

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

]

index (file)

Bowtie2 genome index files

*.ebwt

meta3 (map)

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

]

fasta (file)

Bowtie2 genome fasta file

*.fasta

save_unaligned (boolean)

Save reads that do not map to the reference (true) or discard them (false)
(default: false)

sort_bam (boolean)

use samtools sort (true) or samtools view (false)

true or false

Output

Name (Type)
Description
Pattern

sam (file)

Output SAM file containing read alignments

*.sam

bam (file)

Output BAM file containing read alignments

*.bam

cram (file)

Output CRAM file containing read alignments

*.cram

csi (file)

Output SAM/BAM index for large inputs

*.csi

crai (file)

Output CRAM index

*.crai

log (file)

Aligment log

*.log

fastq (file)

Unaligned FastQ files

*.fastq.gz

versions (file)

File containing software versions

versions.yml

Tools

bowtie2
GPL-3.0-or-later

Bowtie 2 is an ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequences.