Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to merge paired ends provided in separate files during (bfast) alignement david.tamborero Bioinformatics 3 01-03-2012 04:31 AM
Use Illumina mate pair and paired ends with novoalign k2bhide Bioinformatics 1 07-23-2011 08:52 AM
SAMTool tview problem for paired-end sequences mapped by BFAST NanYu SOLiD 5 06-07-2011 01:08 PM
bfast bgeneratereads for paired ends sdvie Bioinformatics 2 03-23-2011 10:04 AM
consed and illumina paired ends ggloor Bioinformatics 1 06-22-2009 08:46 PM

Thread Tools
Old 08-08-2011, 07:14 AM   #1
Location: spain

Join Date: Feb 2011
Posts: 60
Default Error during PicardMarkDuplicates (Illumina paired-ends mapped by Bfast)

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:

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(
    at net.sf.picard.sam.CoordinateSortedPairInfoMap.remove(
    at net.sf.picard.sam.DiskReadEndsMap.remove(
    at net.sf.picard.sam.MarkDuplicates.buildSortedReadEndLists(
    at net.sf.picard.sam.MarkDuplicates.doWork(
    at net.sf.picard.cmdline.CommandLineProgram.instanceMain(
    at net.sf.picard.sam.MarkDuplicates.main(
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.tamborero is offline   Reply With Quote
Old 08-08-2011, 11:26 AM   #2
Nils Homer
nilshomer's Avatar
Location: Boston, MA, USA

Join Date: Nov 2008
Posts: 1,285

Could you create a test case with only the offending reads (in SAM format)?
nilshomer is offline   Reply With Quote
Old 08-09-2011, 01:08 AM   #3
Location: spain

Join Date: Feb 2011
Posts: 60

I've created a file just with the reads pointed out in the MarkDuplicates error, and the same message error appears when running the Picard command. Also, I've created a SAM file with only these reads removed and the same error appears but with another read ID. I would say that MarkDuplicates does not allow more than one mapped position per read in the input file, therefore, I've forced just an unique alignement per read in the bfast postprocess command by changing the value of the "-a" argument:

previously, the command was:

bfast postprocess -i  input.baf -f hg19.fa -a 0 -A 0 -R -O 1 -n 4 -U >  output.sam
I changed it to:

bfast postprocess -i  input.baf -f hg19.fa -a 3 -z -A 0 -R -O 1 -n 4 -U >  output.sam
Now the Picard MarkDuplicates command works fine. Hope it makes sense.
david.tamborero is offline   Reply With Quote

bfast, illumina, paired-ends, picard, remove duplicates

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 10:08 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO