Skip to content
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 error when trying to create fragment with no read support #6310

Closed
avalind opened this issue Dec 10, 2019 · 3 comments
Closed

Mutect2 error when trying to create fragment with no read support #6310

avalind opened this issue Dec 10, 2019 · 3 comments
Assignees
Labels

Comments

@avalind
Copy link

avalind commented Dec 10, 2019

Bug Report

Affected tool(s) or class(es)

Mutect2

Affected version(s)

  • GATK 4.1.4.1

Description

When running Mutect2 (from GATK v4.1.4.1) using the following command:

gatk Mutect2 -R [path to grch37-1kg.fa] -I testcase.bam -O pon.vcf

to create a PoN on NovaSeq WGS-data processed through the best practice pipeline (with the BQSR-steps run through the Spark-enabled tools, and bwa mem with -Y flag) I get the following error in multiple regions:

Stacktrace

AFAIK this is related to the new code path introduced in #6240 and seem to be triggered when there are more than 2 reads supporting a fragment but all of them are either duplicate reads or supplemntary/secondary alignments.

Any input is greatly appreciated. I guess a temporary fix is to use the --independent-mates flag (although haven't tried it yet -- how much worse mutation calling performance do one incur when using that flag?)

Steps to reproduce

Use the following small test case .bam-file as input to the command specified above:

Testcase

Expected behavior

Completion of mutect2 without Exception

Actual behavior

Early termination of the mutect2 run due to raising an exception when trying to create a fragment with no read data to back it up.


@johnsCheng
Copy link

here i change the gatk-4.1.4.1 to gatk-4.1.2.0,then Mutect can work,
I am not sure what the issue involved. But it keeps reporting the error 'need one or two reads to create fragment' before, however, what i input are totally paired reads after markduplication.

@droazen droazen added this to the GATK-Priority-Backlog milestone Dec 16, 2019
@droazen droazen added the Mutect label Dec 16, 2019
@droazen droazen modified the milestones: GATK-Priority-Backlog, GATK-Triaged-Issues Dec 16, 2019
@droazen
Copy link
Contributor

droazen commented Dec 16, 2019

@davidbenjamin I've assigned this one to @KevinCLydon just so he can get some experience debugging GATK -- he may consult you at some point on recommended solutions.

KevinCLydon added a commit that referenced this issue Dec 17, 2019
…e that a Fragment is only supported by supplementary and/or secondary and/or duplicate reads

Fixes #6310
KevinCLydon added a commit that referenced this issue Dec 17, 2019
…e that a Fragment is only supported by supplementary and/or secondary and/or duplicate reads

Fixes #6310
@davidbenjamin
Copy link
Contributor

Closed by #6327.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants