When I use pircard MarkDuplicates to remove Duplicates from the BWA result, I get this error in MarkDuplicates: Exception in thread "main" net.sf.picard.PicardException: Value was put into PairInfoMap more than once. 1: CTTGTA_L006:HWI-ST1148:55:C1CKAACXX:6:1308:16351:60596 Does anyone know how to solve it?
This is a separate issue with BWA. You need to specify the "Mark Secondary Hits" option with BWA (-M)
See http://bio-bwa.sourceforge.net/bwa.shtml
In my case, the issue didn't get resolved by using -M option. I have posted my query at GATK. Would anyone like to offer a suggestion on what must be done?
https://gatk.broadinstitute.org/hc/en-us/community/posts/360071534472-SAMException-Value-was-put-into-PairInfoMap-error-even-after-using-M-flag
have you tried the solution I suggested " filter with samtools to keep only properly paired reads. "
Hi!!
Actually, for every read, I have two copies in my Fastq Files. That's weird. Also, both of them are properly paired as shown below