Description

Performs fastq alignment to a fasta reference using BWA-MEME

Input

name:type
description
pattern

meta

:map

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

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

index

:file

BWA genome index files

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

meta3

:map

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

fasta

:file

Reference genome in FASTA format

*.{fa,fasta,fna}

sort_bam

:boolean

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

true or false

Output

name:type
description
pattern

output

meta

:map

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

${prefix}.{sam,bam,cram}

:file

Output alignment file (SAM, BAM, or CRAM)

*.{sam,bam,cram}

index

meta

:map

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

${prefix}.{csi,crai}

:file

Index file for BAM (.csi) or CRAM (.crai) output

*.{csi,crai}

versions_bwameme

${task.process}

:string

The name of the process

bwameme

:string

The name of the tool

1.0.6

:string

The expression to obtain the version of the tool

versions_samtools

${task.process}

:string

The name of the process

samtools

:string

Name of the tool

samtools version | sed "1!d;s/.* //"

:eval

The expression to obtain the version of the tool

versions_mbuffer

${task.process}

:string

The name of the process

mbuffer

:string

The name of the tool

mbuffer --version 2>&1 | sed -n 's/mbuffer version //p'

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

bwameme

:string

The name of the tool

1.0.6

:string

The expression to obtain the version of the tool

${task.process}

:string

The name of the process

samtools

:string

Name of the tool

samtools version | sed "1!d;s/.* //"

:eval

The expression to obtain the version of the tool

${task.process}

:string

The name of the process

mbuffer

:string

The name of the tool

mbuffer --version 2>&1 | sed -n 's/mbuffer version //p'

:eval

The expression to obtain the version of the tool