samtools / htslib

C library for high-throughput sequencing data formats
Other
783 stars 447 forks source link

No warning on messed up VCF #1778

Open pd3 opened 2 months ago

pd3 commented 2 months ago

The VCF parser silently drops FORMAT fields when FORMAT column is ".". Perhaps it should complain when the corresponding sample fields are something else than "." in such case. See the example in https://github.com/samtools/bcftools/issues/2173