java.lang.IllegalArgumentException: Program record with group id bc already exists in SAMFileHeader!

biostars.org | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    error in samfile header

    biostars.org | 8 months ago
    java.lang.IllegalArgumentException: Program record with group id bc already exists in SAMFileHeader!

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Program record with group id bc already exists in SAMFileHeader!

      at net.sf.samtools.SAMFileHeader.addProgramRecord()
    2. picard
      CalculateHsMetrics.main
      1. net.sf.samtools.SAMFileHeader.addProgramRecord(SAMFileHeader.java:197)
      2. net.sf.samtools.SAMTextHeaderCodec.parsePGLine(SAMTextHeaderCodec.java:150)
      3. net.sf.samtools.SAMTextHeaderCodec.decode(SAMTextHeaderCodec.java:90)
      4. net.sf.picard.util.IntervalList.fromReader(IntervalList.java:181)
      5. net.sf.picard.util.IntervalList.fromFile(IntervalList.java:152)
      6. net.sf.picard.analysis.directed.HsMetricsCalculator.<init>(HsMetricsCalculator.java:83)
      7. net.sf.picard.analysis.directed.CalculateHsMetrics.doWork(CalculateHsMetrics.java:83)
      8. net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:158)
      9. net.sf.picard.analysis.directed.CalculateHsMetrics.main(CalculateHsMetrics.java:68)
      9 frames