I mapped one run of Illumina paired end reads by using Bfast (bwaaln + localalign + postprocess), then converted it to bam, performed the Picard AddOrReplaceReadGroups command plus Samtools sort/index and therefore, when executing Picard MarkDuplicates, I have the following error:
I've noticed that the reads outputted by the bfast-postprocess looks like HWUSI-EAS1692_0001:2:1:1025:14826#0, whereas the original reads indicates the pair-end by either HWUSI-EAS1692_0001:2:1:1025:14826#0/1 or HWUSI-EAS1692_0001:2:1:1025:14826#0/2, I guess it is related, but I do not know how to solve this.
Any help will be appreciated, many thanks in advance!
David
Code:
Exception in thread "main" net.sf.picard.PicardException: Value was put into PairInfoMap more than once. 3: grouped_reads:HWUSI-EAS1692_0001:1:1:1841:8839#0 at net.sf.picard.sam.CoordinateSortedPairInfoMap.ensureSequenceLoaded(CoordinateSortedPairInfoMap.java:124) at net.sf.picard.sam.CoordinateSortedPairInfoMap.remove(CoordinateSortedPairInfoMap.java:78) at net.sf.picard.sam.DiskReadEndsMap.remove(DiskReadEndsMap.java:61) at net.sf.picard.sam.MarkDuplicates.buildSortedReadEndLists(MarkDuplicates.java:285) at net.sf.picard.sam.MarkDuplicates.doWork(MarkDuplicates.java:113) at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:157) at net.sf.picard.sam.MarkDuplicates.main(MarkDuplicates.java:97)
Any help will be appreciated, many thanks in advance!
David
Comment