Closed komalsrathi closed 8 years ago
Instead of
columns = ["ID", "AA", "CDS", "GENE", "STRAND"]
use:
fields = ["ID", "AA", "CDS", "GENE", "STRAND"]
So ID is a column but AA, CDS, GENE and STRAND are not.
when I use:
[[annotation]]
file = "cosmic-v68-GRCh37.tidy.vcf.gz"
fields = ["ID", "AA", "CDS", "GENE", "STRAND"]
names = ["cosmic_id", "cosmic_aa", "cosmic_cds", "cosmic_gene", "cosmic_strand"]
ops = ["self", "self", "self", "self", "self"]
I get the following warning (but it works):
=============================================
vcfanno version 0.0.11-beta [built with devel +5ec87ba Thu Apr 28 15:36:34 2016 +0000]
see: https://github.com/brentp/vcfanno
=============================================
vcfanno.go:111: found 5 sources from 1 files
api.go:192: Info Error: AA not found in row
api.go:192: Info Error: CDS not found in row
vcfanno.go:208: annotated 33336 variants in 0.16 seconds (214450.9 / second)
Does that mean it couldn't map the AA, CDS to the variants in the vcf?
You must use "ID" as a field. It's just a special-case for pulling out the vcf id.
Regarding the error message, it just means that some rows in cosmic do not contain AA or CDS so it tried to grab them but didn't find them.
FYI, I have made a pre-release of vcfanno with some improvements: https://github.com/brentp/vcfanno/releases right now, only the linux binary is available but after some testing I'll make the full release.
I am using vcfanno
v0.0.11
and the cosmic annotation that comes with gemini installationv0.18.3
:I have the snpEff annotated
.gvcf
file here: https://drive.google.com/open?id=0B-8gQV1WZcYdR0J1TWVkYS1QMVkcommand:
vcfanno.conf:
cosmic:
vcfanno.lua (although I don't really need the lua):
Error:
If you have encountered an error, please include: