Closed raungar closed 3 years ago
Hi, when I run those, I see:
[W::vcf_parse_format] FORMAT 'AF' at 1:10611 is not defined in the header, assuming Type=String
[W::vcf_parse_format] FORMAT 'FT' at 1:10611 is not defined in the header, assuming Type=String
[E::vcf_format] Invalid BCF, the FORMAT tag id=24 at 1:10611 not present in the header
slivar needs those in the header so it (htslib) know where to get the per-sample values for depth, AD, GQ, etc. If I add:
##FORMAT=<ID=FT,Number=1,Type=Float,Description="FT">
##FORMAT=<ID=AF,Number=1,Type=Float,Description="AF">
to the header of your VCF, then it completes. You could verify that Number=1
is correct for both of those or adjust if not and then update your vcf header.
Hi-
Adding the header fixed the issue! Thank you!
-Rachel
Hi-
I get the following error
Using the following command:
slivar expr --js /path/slivar-functions.js --vcf tmp.vcf --ped tmp.ped
.I am attaching a sampled vcf/ped file that I get this error with. I've changed the attached files to a .txt file extension since github issues won't let me submit filetypes with a .vcf or .ped ending. tmp.ped.txt tmp.vcf.txt