Description

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

Input

name:type
description
pattern

meta{:bash}

:map

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

reads{:bash}

:file

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

*.{bam,cram,sam}

meta2{:bash}

:map

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

fasta{:bash}

:file

Reference genome file

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

meta3{:bash}

:map

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

fasta_index{:bash}

:file

Reference genome index file

*.{fai,fasta.fai,fa.fai,fasta.gz.fai,fa.gz.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

Output BAM file

*.{bam}

bai{:bash}

meta{:bash}

:map

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

*.bai{:bash}

:file

An optional BAM index file

*.{bai}

cram{:bash}

meta{:bash}

:map

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

*.cram{:bash}

:file

Output CRAM file

*.{cram}

versions{:bash}

versions.yml{:bash}

:file

File containing software versions

versions.yml

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.