Hi,

I'd like to filter my vcf for snps containing certain REF and ALT alleles. From 
the documentation I learn that I can use something like:

bcftools-1.0 filter -i '(%REF=="A" & %ALT=="T")'  ChrAll.vcf

however when I try that, I get an error:

[filter.c:1084 filters_init1] Error: the tag "INFO/REF" is not defined in the 
VCF header

How can I solve this?

Thanks in advance,
Jack

Jack Van Handenhove
Bioinformatics Researcher

Bayer CropScience NV
Innovation Center - Computational Life Sciences
Technologiepark 38,
9052 Zwijnaarde (Gent)
Belgium
Tel: +32 9 243 05 63
Fax: +32 9 224 06 94
E-mail: jack.vanhandenh...@bayer.com<mailto:jack.vanhandenh...@bayer.com>
Web: http://www.bayercropscience.com<http://www.bayercropscience.com/>

BTW en ondernemingsnummer: BE 0412 639 087
RPR Brussel


________________________________________________________________________
The information contained in this e-mail is for the exclusive use of the 
intended recipient(s) and may be confidential, proprietary, and/or 
legally privileged.  Inadvertent disclosure of this message does not 
constitute a waiver of any privilege.  If you receive this message in 
error, please do not directly or indirectly use, print, copy, forward,
or disclose any part of this message.  Please also delete this e-mail 
and all copies and notify the sender.  Thank you. 

For alternate languages please go to http://bayerdisclaimer.bayerweb.com
________________________________________________________________________
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to