While I am trying to remove duplicates for pair end data using picard,
I am getting th following errors.
I start picard as below:
Runtime.totalMemory()=1031405568
Exception in thread "main" java.lang.IllegalStateException: Invalid values for pairs and unique pairs: 1574422, 2050
at net.sf.picard.sam.DuplicationMetrics.estimateLibrarySize(DuplicationMetrics.java:90)
at net.sf.picard.sam.DuplicationMetrics.calculateDerivedMetrics(DuplicationMetrics.java:64)
at net.sf.picard.sam.MarkDuplicates.doWork(MarkDuplicates.java:176)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:142)
at net.sf.picard.sam.MarkDuplicates.main(MarkDuplicates.java:79)
Thanks.
I am getting th following errors.
I start picard as below:
Code:
java -jar /tools/SAM/picard-tools-1.13/MarkDuplicates.jar I=bin1_sorted.bam O=bin1_PCR_removed.bam M=metrics.txt ASSUME_SORTED=true REMOVE_DUPLICATES=true VALIDATION_STRINGENCY=SILENT
Exception in thread "main" java.lang.IllegalStateException: Invalid values for pairs and unique pairs: 1574422, 2050
at net.sf.picard.sam.DuplicationMetrics.estimateLibrarySize(DuplicationMetrics.java:90)
at net.sf.picard.sam.DuplicationMetrics.calculateDerivedMetrics(DuplicationMetrics.java:64)
at net.sf.picard.sam.MarkDuplicates.doWork(MarkDuplicates.java:176)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:142)
at net.sf.picard.sam.MarkDuplicates.main(MarkDuplicates.java:79)
Thanks.
Comment