Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

picard markdup error:Value was put into PairInfoMap more than once

DicorDicor chinaMember

Hi, all!

I get the error information Value was put into PairInfoMap more than once when I use picard to mark duplication.
I have already tested the newest version bwa 0.7.16a and picard 2.10.7.
My mapping paramater is bwa mem -M.
All paired reads id are unique in fq.

I use samtools view this.bam|grep readsname, the output is captured as this picture:
https://p.qlogo.cn/qqmail_head/LIND77SSexibQw48mEewIK3YKyoKCpB06NW5gSKticJqN2mMnvbd8S7KZdvcuWGj31sIGFzvpM9Bg/0
I have read the pages about this trouble asked before on gatk forum and biostar forum. I think the secondary hits in bam are correct, compared to the previous reported condition, but not for sure. Therefore, I come here to ask for professional help.

Comments

  • SheilaSheila Broad InstituteMember, Broadie admin

    @Dicor
    Hi,

    Sorry for the delay. Have a look at this thread.

    This error usually means a read name occurs twice in your BAM file. Did you by any chance merge two FASTQ files before aligning? Make sure your Read Groups are properly specified. Have a look at this dictionary entry for more help on read groups.

    -Sheila

  • DicorDicor chinaMember

    @Sheila said:
    @Dicor
    Hi,

    Sorry for the delay. Have a look at this thread.

    This error usually means a read name occurs twice in your BAM file. Did you by any chance merge two FASTQ files before aligning? Make sure your Read Groups are properly specified. Have a look at this dictionary entry for more help on read groups.

    -Sheila

    @Sheila
    Thank you for your reply.
    I have already mentioned that all reads ids are unique in my fq files.
    Could you please have a look at the picture?

    I think the problem is both fragments have second hit on ref and are marked. But picard can't recognize them.

  • SkyWarriorSkyWarrior TurkeyMember ✭✭✭

    Can you filter your bam file with samtools view -f 0x2 and try marking duplicates again with picard.

    This solved my problem many times with the same error.

Sign In or Register to comment.