×

nf-core/picard/addorreplacereadgroups @ 0.0.0-6c4ed3a

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

Latest version: 0.0.0-6c4ed3a
Total downloads: 7
Source: nf-core/modules

Summary

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

Get started

Add the following snippet to your workflow script to include this module.

include { PICARD_ADDORREPLACEREADGROUPS } from 'nf-core/picard/addorreplacereadgroups'

License

MIT License

Process
Name PICARD_ADDORREPLACEREADGROUPS
Input 2 channels
#1 tuple
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}
#2 tuple
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 4 channels
#1 bai tuple
meta map

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

*.bai file

An optional BAM index file

*.{bai}
#2 bam tuple
meta map

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

*.bam file

Output BAM file

*.{bam}
#3 cram tuple
meta map

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

*.cram file

Output CRAM file

*.{cram}
#4 versions_picard tuple
${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

Tool Description Homepage
picard A set of command line tools (in Java) for manipulating high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF. https://broadinstitute.github.io/picard/
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:35:49 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fpicard%2Faddorreplacereadgroups/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/picard/addorreplacereadgroups/blobs/sha256:73027b4479cdd5cb0d70145b650f5b8653aea1b57c519de69c518ed24d5129b6
Size 3.3 KB
Checksum sha256:73027b4479cdd5cb0d70145b650f5b8653aea1b57c519de69c518ed24d5129b6
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:35:49 (UTC) 3 3.3 KB
0.0.0-0c7146d 08 Apr 2026 19:25:20 (UTC) 4 3.3 KB