You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mutect2 occasionally writes lines including INFO tag MPOS=-2147483648. This doesn't look sensible for "median distance from end of read", and the specific value is disallowed in section 1.3 of the VCF specification.
See attached .zip file which includes a smallish bam file that shows the problem. I ran mutect2 on it in the Docker container for the latest GATK release:
I am having an issue with the same bug, where these MPOS=-2147483648 fields are causing an error in downstream analysis. If anyone has any update or a workaround I'd appreciate it.
I'm also having a problem with this bug breaking downstream analysis. Using bcftools to index the vcf containing MPOS=-2147483648 converts it to MPOS=..
Bug Report
Affected tool(s) or class(es)
Mutect2
Affected version(s)
Description
Mutect2 occasionally writes lines including INFO tag
MPOS=-2147483648
. This doesn't look sensible for "median distance from end of read", and the specific value is disallowed in section 1.3 of the VCF specification.I've had a quick look at the code, and think the dubious value may be generated in ReadPosition::getValueForRead when the result from ReadPosRankSumTest.getReadPosition is cast to an
int
. Looking at that function, it can returnINVALID_ELEMENT_FROM_READ
which is defined asDouble.NEGATIVE_INFINITY
. According to the java documentation, casting NEGATIVE_INFINITY to int will result in a value ofINT_MIN
. (Disclaimer: I haven't tested this, so it may be completely wrong...)Steps to reproduce
See attached .zip file which includes a smallish bam file that shows the problem. I ran mutect2 on it in the Docker container for the latest GATK release:
unzip mpos_issue.zip cd mpos_issue ../gatk Mutect2 --input input/small.bam --reference input/small.fa --output small.vcf grep MPOS=- small.vcf
Expected behavior
MPOS
should have a sensible value.Actual behavior
mpos_issue.zip
The text was updated successfully, but these errors were encountered: