Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

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.