Genome Analysis Toolkit

Variant Discovery in High-Throughput Sequencing Data

GATK process banner

Need Help?

Search our documentation

Community Forum

Hi, How can we help?

Developed in the Data Sciences Platform at the Broad Institute, the toolkit offers a wide variety of tools with a primary focus on variant discovery and genotyping. Its powerful processing engine and high-performance computing features make it capable of taking on projects of any size. Learn more

AddOrReplaceReadGroups (Picard) Follow

4 comments

  • Avatar
    Chahat Upreti

    Hi, the link for GATK dictionary entry is missing.

    0
    Comment actions Permalink
  • Avatar
    Brian Wiley

    AddOrReplaceReadGroups doesn't add an @PG program line for the call to this program.  MarkDuplicates does.  Is there a list of which Picard tools add @PG line for metadata processing and which don't?

    0
    Comment actions Permalink
  • Avatar
    kevin yang

    Hi, Could you tell me how can I get a read-group library?I can not find it .

    0
    Comment actions Permalink
  • Avatar
    Laura Batlle Masó

    Thank you. We are trying to run GermlineCNVCaller and we keep getting this error:

    Command: gatk --java-options -Xmx4g GermlineCNVCaller -I input.bam -O output.bam --output-prefix gatk --run-mode COHORT --intervals targets.bed --contig-ploidy-calls 2 -- interval-merging-rule OVERLAPPING_ONLY

    Error: java.lang.IllegalArgumentException: The collection is empty: The input header does not contain any read groups.  Cannot determine a sample name.

    We've checked our BAMs and confirmed with SAMtools that there is a header:

    Command: samtools view -H Test.bam | grep '^@RG' | less -S
    Output: @RG     ID:foo  LB:bar  PL:illumina     SM:Sample1       PU:7

    We re-run the AddOrReplaceReadGroups as explained in this article but the error persists. Any feedback would be very appreciated. Thanks! 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk