Description

Assigns all the reads in a file to a single new read-group

Input

name:type
description
pattern

meta

:map

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

reads

:file

Sequence reads file, can be SAM/BAM/CRAM format

*.{bam,cram,sam}

meta2

:map

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

fasta

:file

Reference genome file

*.{fasta,fa,fasta.gz,fa.gz}

fai

:file

Reference genome index file

*.{fai,fasta.fai,fa.fai,fasta.gz.fai,fa.gz.fai}

Output

name:type
description
pattern

bam

meta

:map

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

*.bam

:file

Output BAM file

*.{bam}

bai

meta

:map

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

*.bai

:file

An optional BAM index file

*.{bai}

cram

meta

:map

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

*.cram

:file

Output CRAM file

*.{cram}

versions_picard

${task.process}

:string

The process the versions were collected from

picard

:string

The tool name

picard AddOrReplaceReadGroups --version 2>&1 | sed -n 's/.*Version://p'

: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

picard

:string

The tool name

picard AddOrReplaceReadGroups --version 2>&1 | sed -n 's/.*Version://p'

: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.