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

]

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

]

fasta:file

Reference genome file

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

meta3:map

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

]

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

]

*.bam:file

Output BAM file

*.{bam}

bai

meta:map

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

]

*.bai:file

An optional BAM index file

*.{bai}

cram

meta:map

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

]

*.cram:file

Output CRAM file

*.{cram}

versions

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