PLINK Error: Invalid QUAL value on line
1
0
Entering edit mode
19 months ago

Dear all,

I have worked with VCF file after haplotypecaller, where QUAL=Infinity for some variants. I am trying to make PGEN format, but I have this ERROR:

Error: Invalid QUAL value on line 17 of test_123-temporary.pvar.zst.

The default range for QUAL is [0, ∞). So, I don't know why Infinity is a problem. Can you help me please with this error?

Thanks!

vcf plink plink2 qual • 1.1k views
ADD COMMENT
1
Entering edit mode
19 months ago

[0, 1) means 0 is included, but 1 is EXCLUDED from the interval. Similarly, [0, infinity) means infinity itself is not allowed.

ADD COMMENT
0
Entering edit mode

Well, what should I do to deal with such values in QUAL when using PLINK? Maybe there are some recommendations?

ADD REPLY
1
Entering edit mode

I recommend writing a short script to replace all instances of QUAL=Infinity with a large value (e.g. 100) in the VCF.

(edit: in the meantime, I will modify the 12 Apr 2023 plink2 build to accept QUAL=Infinity values.)

ADD REPLY
0
Entering edit mode

Thank you a lot! It will be wonderful!

ADD REPLY

Login before adding your answer.

Traffic: 2506 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6