Closed indapa closed 9 years ago
your pasted vcf is missing the CHROM header (which would give you an error) and your conf file is not correct. It should be something like:
[[annotation]]
file="b.vcf"
names=["TEST_AF"]
fields = ["AF"]
ops=["first"]
If you continue to have trouble, provide the full vcfs and the full conf file that you are using.
closing this due to fixes that came with adding natural sort.
I am getting some strange behavior with vcfanno (the vcfanno_0.0.3_linux_386 executable). Its not annotating variants in my VCF that are present in the VCF in my conf.toml file.
I have several variants I pulled from Clinvar via NCBI eUtils API and put in VCF format. I wanted to see if they were segregating in ExAC. I normalized the ExAC VCF with vt and my VCF which I want to annotate with information from ExAC VCF.
My toml.conf file looks like:
Then I ran vcfanno:
There several variants that I expected to be annotate with AF info from ExAC, but the resulting vcf has several records that are in ExAC, but not decorated with AF info. For example I had this record in my vcf:
But its clearly in the ExAC vcf listed in my conf.toml file:
The program isn't performing as I expected. Do you have any debugging suggestions? I would really like to incorporate vcfanno in my pipeline. Thanks!