Entering edit mode
4 months ago
Edward E-B
•
0
Sniffles reports variants in vcf as IMPRECISE and PRECISE
##INFO=<ID=PRECISE,Number=0,Type=Flag,Description="Structural variation with precise breakpoints"
##INFO=<ID=IMPRECISE,Number=0,Type=Flag,Description="Structural variation with imprecise breakpoints"
how can I filter my VCF output from Sniffles to keep only precise variant calls?
For some reason I couldn't post the different options I had tried but I did try using bcftools view -i/e in different ways but could not get it to work because I'm not clear what I'm specifying is equal to what. For example, an INFO column in a vcf file for a particular variant might look like so....
whereas all the other INFO fields have some name equal to some value e.g. SVTYPE=="DEL" which is easy to specify with bcftools, it only specifies either PRECISE or IMPRECISE so I don't know how to put this into a bcftools expression...
for instance bcftools view -i 'ID=="PRECISE"' does not work or 'FILTER=="PRECISE"' or just bcftools view -i 'PRECISE'
Does this make sense?