Closed anh151 closed 3 years ago
This error happens when the FORMAT
column and the sample column in the VCF do not have the same number of elements.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample
chr1 97078987 rs114096998 G T . PASS . GT 0/0
chr1 97078987 rs114096998 G T . FAIL . GT:GQ 0/0
chr1 97078987 rs114096998 G T . FAIL . . 0/0
The first line is correct (1 entry in format, 1 entry in sample). The second line fails because there are 2 entries in format, 1 entry in sample. The third line fails because there are 0 entries in format, 1 entry in sample.
I'm closing this issue for now. If this is not the case, please reopen with a sample of the VCF data containing the problem. Please make sure the VCF data is anonymized.
FYI, we just released 1.0 and encourage you to update to the latest version.
Do you want to request a feature or report a bug? Report a bug maybe
What is the current behavior? I am able to get pharmcat to execute properly with an array vcf file, but I can't replicate the same behavior for a WGS vcf file using the exact same command. I tried to follow the traceback but was unsuccessful.
If the current behavior is a bug, please provide the steps to reproduce and, if possible, your example input data via a Gist or similar.
Please tell us about your environment: