Description

Sorts a SAM or BAM file. Several sort orders are available, including coordinate, queryname, random, and randomquery.

Input

name:type
description
pattern

meta

:map

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

bam

:file

The input SAM or BAM file to be sorted.

*.{bam,sam}

Output

name:type
description
pattern

bam

meta

:map

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

*.bam

:file

Output SAM or BAM file.

*.{bam,sam}

versions_fgbio

${task.process}

:string

The process the versions were collected from

fgbio

:string

The tool name

fgbio --version 2>&1 | tr -d "[:cntrl:]" | sed -e "s/^.*Version: //;s/\[.*$//"

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The process the versions were collected from

fgbio

:string

The tool name

fgbio --version 2>&1 | tr -d "[:cntrl:]" | sed -e "s/^.*Version: //;s/\[.*$//"

:eval

The expression to obtain the version of the tool

Tools

fgbio
MIT

Tools for working with genomic and high throughput sequencing data.