brentp / vcfanno

annotate a VCF with other VCFs/BEDs/tabixed files
https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-0973-5
MIT License
357 stars 55 forks source link

Extra "FORMAT" in the header line #123

Closed liqg closed 1 year ago

liqg commented 4 years ago

I annotate a VCF file with only 1-8 columns (INFO only), however, the annotated VCF has an extra "FORMAT" field in the header line. I have tested 0.3.3, 0.3.0 and 0.2.6. The same problem happened.

brentp commented 4 years ago

well, that's not good. for now, you'll have to pipe to cut -f 1-8 and i'll get a fix for this out next month.

dennishendriksen commented 3 years ago

Ran into the same issue. I can probably work around it (bit tricky for my case because inputs sometimes contain samples/sometimes don't), but a fix would be appreciated @brentp :)

brentp commented 1 year ago

This is fixed in v0.3.4: https://github.com/brentp/vcfanno/releases/tag/v0.3.4 thanks for reporting.