-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutect2 fails when secondary alignments in same assembly region as primary #6230
Comments
@davidbenjamin Mutect2 is failing with this error: |
Hi, I can't see any secondary alignments in the BAM but there is a chimeric read with two alignments, a primary and a supplementary. |
Hi
However, I used the following command And reran mutect2. It ran fine. In Chipseq it's a common practice to remove the supplementary, however, I thought the GATK variant caller took care of such alignment itself. |
Adding read-filter flags does not appear to fix this, as it should:
|
@colinhercus I was able to re-run your command successfully on the latest master branch (not in a release yet). I believe PR #6240 fixed the issue. @Rohit-Satyam @danielecook there's a good chance the errors you encountered are also fixed. If not, please let me know. |
@davidbenjamin I'll give it a try |
@davidbenjamin Thanks for the update. It may be awhile before I try it.
I'll let you know if I have further problems
…On Thu, 21 Nov 2019 at 11:03, David Benjamin ***@***.***> wrote:
@colinhercus <https://github.com/colinhercus> I was able to re-run your
command successfully on the latest master branch (not in a release yet). I
believe PR #6240 <#6240> fixed
the issue. @Rohit-Satyam <https://github.com/Rohit-Satyam> @danielecook
<https://github.com/danielecook> there's a good chance the errors you
encountered are also fixed. If not, please let me know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6230?email_source=notifications&email_token=AALRZ6RAXJXJ645XMCTODTLQUX3AVA5CNFSM4JE2YEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEYXK4A#issuecomment-556889456>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALRZ6X6YCPNOCZLOTEFOP3QUX3AVANCNFSM4JE2YEBQ>
.
|
In reference to your reply, I wish to inform you the problem still stands.
I used the following command to create PONs. But ending up with the same error. I also updated GATK. However, with |
@Rohit-Satyam The bottom of your stack trace says you are running the 4.1.4.0 release, which came out before the fixes mentioned above. I expect the issue will be resolved if you run the most recent 4.1.5.0 release. Please let me know if if does not. |
Oh!! |
Seems someone updated it already in conda here https://anaconda.org/bioconda/gatk4. It's working fine now. Thanks |
I'm glad it's working now, but a PS since you asked about |
Which is the consequence of using --independent-mates? Could we get a higher rate of false positives then? |
It's not biased toward more false positives or false negatives; it's just worse. |
I took my bam files that were giving this error and removed the secondary alignments (samtools view -F 256) and ran them again through Mutect2 4.1.4. I didn't get this error now. Does that mean that Mutect2 uses secondary alignments in its calling algorithm normally? BWA generates secondary alignments by default and doesn't have an option to turn them off.
This Issue was generated from your [forums]
[forums]: https://gatkforums.broadinstitute.org/gatk/discussion/comment/61300#Comment_61300
The text was updated successfully, but these errors were encountered: