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

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 • 3.1k views
ADD COMMENT
0
Entering edit mode
10.6 years ago
zhangz.cs ▴ 300

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: 2364 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