Description

shuffles and groups reads together by their names

Input

name:type
description
pattern

meta{:bash}

:map

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

input{:bash}

:file

BAM/CRAM/SAM file

*.{bam,cram,sam}

meta2{:bash}

:map

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

fasta{:bash}

:file

Reference genome file

*.{fa,fasta}

fai{:bash}

:file

Reference genome index file

*.fai

Output

name:type
description
pattern

bam{:bash}

meta{:bash}

:map

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

*.bam{:bash}

:file

Sorted BAM

*.{bam}

cram{:bash}

meta{:bash}

:map

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

*.cram{:bash}

:file

Sorted CRAM

*.{cram}

sam{:bash}

meta{:bash}

:map

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

*.sam{:bash}

:file

Sorted SAM

*.{sam}

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 the tool

Topics

name:type
description
pattern

versions{: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 the tool