How to filter out imprecise variants from a vcf file
1
0
Entering edit mode
8.1 years ago
zhangz.cs ▴ 280

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 • 2.5k views
ADD COMMENT
0
Entering edit mode
8.1 years ago
zhangz.cs ▴ 280

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
ADD COMMENT

Login before adding your answer.

Traffic: 1141 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6