Description

Convert paired-end bwa SA coordinate files to SAM format

Input

name:type
description
pattern

meta

:map

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

reads

:file

FASTQ files specified alongside meta in input channel.

*.{fastq,fq}.gz

sai

:file

SAI file specified alongside meta and reads in input channel.

*.sai

meta2

:map

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

index

:directory

Directory containing BWA index files (amb,ann,bwt,pac,sa) from BWA_INDEX

bwa/

Output

name:type
description
pattern

bam

meta

:map

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

*.bam

:file

BAM file

*.bam

versions_bwa

${task.process}

:string

The process the versions were collected from

bwa

:string

The tool name

bwa 2>&1 | sed -n "s/^Version: //p"

:string

The command used to generate the version of the tool

versions_samtools

${task.process}

:string

The process the versions were collected from

samtools

:string

The tool name

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

:string

The command used to generate the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The process the versions were collected from

bwa

:string

The tool name

bwa 2>&1 | sed -n "s/^Version: //p"

:string

The command used to generate the version of the tool

${task.process}

:string

The process the versions were collected from

samtools

:string

The tool name

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

:string

The command used to generate the version of the tool

Tools

bwa
GPL-3.0-or-later

BWA is a software package for mapping DNA sequences against a large reference genome, such as the human genome.