Description

Performs fastq alignment to a fasta reference using BWA-MEME

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/index information e.g. [ id:‘test’ ]

index{:bash}

:file

BWA genome index files

Directory containing BWA index *.{0132,amb,ann,bwt.2bit.64,pac}

meta3{:bash}

:map

Groovy Map containing reference information e.g. [ id:‘genome’ ]

fasta{:bash}

:file

Reference genome in FASTA format

*.{fa,fasta,fna}

sort_bam{:bash}

:boolean

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

true or false

mbuffer{:bash}

:integer

memory for mbuffer in megabytes (default 3072)

samtools_threads{:bash}

:integer

number of threads for samtools (default 2)

Output

name:type
description
pattern

sam{:bash}

meta{:bash}

:map

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

*.sam{:bash}

:file

Output SAM file containing read alignments

*.{sam}

bam{:bash}

meta{:bash}

:map

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

*.bam{:bash}

:file

Output BAM file containing read alignments

*.{bam}

cram{:bash}

meta{:bash}

:map

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

*.cram{:bash}

:file

Output CRAM file containing read alignments

*.{cram}

crai{:bash}

meta{:bash}

:map

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

*.crai{:bash}

:file

Index file for CRAM file

*.{crai}

csi{:bash}

meta{:bash}

:map

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

*.csi{:bash}

:file

Index file for BAM file

*.{csi}

versions_bwameme{:bash}

${task.process}{:bash}

:string

The name of the process

bwameme{:bash}

:string

The name of the tool

1.0.6{:bash}

:string

The expression to obtain the version of the tool

versions_samtools{:bash}

${task.process}{:bash}

:string

Name of the process

samtools{:bash}

:string

Name of the tool

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

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The name of the process

bwameme{:bash}

:string

The name of the tool

1.0.6{:bash}

:string

The expression to obtain the version of the tool

${task.process}{:bash}

:string

Name of the process

samtools{:bash}

:string

Name of the tool

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

:eval

The expression to obtain the version of the tool