Description

Align reads to a reference genome using bowtie2

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.

meta2{:bash}

:map

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

index{:bash}

:file

Bowtie2 genome index files

*.ebwt

meta3{:bash}

:map

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

fasta{:bash}

:file

Bowtie2 genome fasta file

*.fasta

save_unaligned{:bash}

:boolean

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

sort_bam{:bash}

:boolean

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

true or false

Output

name:type
description
pattern

sam{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*.sam{:bash}

:file

Output SAM file containing read alignments

*.sam

bam{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*.bam{:bash}

:file

Output BAM file containing read alignments

*.bam

cram{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*.cram{:bash}

:file

Output CRAM file containing read alignments

*.cram

csi{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*.csi{:bash}

:file

Output SAM/BAM index for large inputs

*.csi

crai{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*.crai{:bash}

:file

Output CRAM index

*.crai

log{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*.log{:bash}

:file

Alignment log

*.log

fastq{:bash}

meta{:bash}

:map

Groovy Map containing sample information

*fastq.gz{:bash}

:file

Unaligned FastQ files

*.fastq.gz

versions_bowtie2{:bash}

${task.process}{:bash}

:string

The name of the process

bowtie2{:bash}

:string

The name of the tool

bowtie2 --version 2>&1 | sed -n '1s/.*bowtie2-align-s version //p'{:bash}

:eval

The expression to obtain the version of bowtie2

versions_samtools{:bash}

${task.process}{:bash}

:string

The name of the process

samtools{:bash}

:string

The name of the tool

samtools version | sed '1!d;s/.* //'{:bash}

:eval

The expression to obtain the version of samtools

versions_pigz{:bash}

${task.process}{:bash}

:string

The name of the process

pigz{:bash}

:string

The name of the tool

pigz --version 2>&1 | sed 's/pigz //'{:bash}

:eval

The expression to obtain the version of pigz

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The name of the process

bowtie2{:bash}

:string

The name of the tool

bowtie2 --version 2>&1 | sed -n '1s/.*bowtie2-align-s version //p'{:bash}

:eval

The expression to obtain the version of bowtie2

${task.process}{:bash}

:string

The name of the process

samtools{:bash}

:string

The name of the tool

samtools version | sed '1!d;s/.* //'{:bash}

:eval

The expression to obtain the version of samtools

${task.process}{:bash}

:string

The name of the process

pigz{:bash}

:string

The name of the tool

pigz --version 2>&1 | sed 's/pigz //'{:bash}

:eval

The expression to obtain the version of pigz

Tools

bowtie2
GPL-3.0-or-later

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