Description

Sorts BAM/SAM files based on a variety of picard specific criteria

Input

name:type
description
pattern

meta{:bash}

:map

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

bam{:bash}

:file

BAM/CRAM/SAM file

*.{bam,sam}

sort_order{:bash}

:string

Picard sort order type

unsorted|queryname|coordinate|duplicate|unknown

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/CRAM/SAM file

*.{bam}

versions_picard{:bash}

${task.process}{:bash}

:string

The process the versions were collected from

picard{:bash}

:string

The tool name

picard SortSam --version 2>&1 | sed -n 's/.*Version://p'{:bash}

:string

The command used to generate the version of the tool

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The process the versions were collected from

picard{:bash}

:string

The tool name

picard SortSam --version 2>&1 | sed -n 's/.*Version://p'{:bash}

:string

The command used to generate the version of the tool

Tools

picard
MIT

A set of command line tools (in Java) for manipulating high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF.