We've moved!
This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!

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.


Sign In or Register to comment.