This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to filter out imprecise variants from a vcf file

I used vcf-annotate --filter -IMPRECISE to filter out imprecise variants from a vcf file, but it failed. IMPRECISE is a key in the INFO field. Could you please help me to solve this problem? Thanks!

Regards,
Zhen

sequence genome

1 answer

A solution was found by trial and error. I used bcftools filter to do this. The command I have run is described as follows:

$ bcftools filter -e INFO/IMPRECISE=1 out.vcf.gz

Log in to answer this question.