PharmGKB / PharmCAT

The Pharmacogenomic Clinical Annotation Tool
Mozilla Public License 2.0
120 stars 39 forks source link

Issue when running on WGS vcf file #62

Closed anh151 closed 3 years ago

anh151 commented 3 years ago
markwoon commented 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.