To celebrate the release of GATK 4.0, we are giving away free credits for running the GATK4 Best Practices pipelines in FireCloud, our secure online analysis portal. It’s first come first serve, so sign up now to claim your free credits worth $250. Sponsored by Google Cloud. Learn more at https://software.broadinstitute.org/firecloud/documentation/freecredits

Picard AddOrReplaceReadgroups

Hi all,

I'm getting an error "ERROR: Option 'RGID' cannot be specified more than once."

The command I use is:
picard -jar /path/to/picard.jar AddOrReplaceReadGroups I=/path/to/bam.bam O=/path/to/bam_rgs.bam RGID=0 RGLB=lib1 RGPL=illumina RGPU=unit1 RGSM=sample

If I remove RGID from the command, the error message says that RGID must be specified.

I'm using the Picard v. 2.12.1. I got the same error with v.2.9.2.

Answers

Sign In or Register to comment.