Description

Align fastq reads to a fasta reference using bwa-mem3

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-mem3 genome index files

Directory containing bwa-mem3 index *.{0123,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)

Output

name:type
description
pattern

aligned

meta

:map

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

*.{sam,bam,cram}

:file

Output SAM/BAM/CRAM file containing read alignments

*.{sam,bam,cram}

index

meta

:map

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

*.{bai,csi,crai}

:file

Index file for the aligned BAM/CRAM file

*.{bai,csi,crai}

versions_bwamem3

${task.process}

:string

The name of the process

bwamem3

:string

The name of the tool

bwa-mem3 version | sed -nE '1 s/^([0-9]+(\.[0-9]+)+).*/\1/p'

:eval

The expression to obtain the version of the tool

versions_samtools

${task.process}

:string

The name of the process

samtools

:string

The name of the tool

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

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

bwamem3

:string

The name of the tool

bwa-mem3 version | sed -nE '1 s/^([0-9]+(\.[0-9]+)+).*/\1/p'

:eval

The expression to obtain the version of the tool

${task.process}

:string

The name of the process

samtools

:string

The name of the tool

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

:eval

The expression to obtain the version of the tool

Tools

bwamem3
MIT AND Apache-2.0

Short-read aligner derived from bwa-mem2 with correctness fixes, performance improvements, and methylation-aware alignment.