This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Filtering specific genes

Hi helpful bioinformaticians ,

I want to filtering specific gene from my vcf file using SnpSift and my command is

java -jar SnpSift.jar filter "ANN[*].GENE = 'gene')" a.vcf > b.vcf

But I got response as

line 1:19 no viable alternative at input '[*].GENE=gene)'

What I should do?

Many thanks,

BG

snpsift gene-filter

Hi,

Was there an answer to this because I am too having the same issues "ANN[*].GENE:" is just outputting all the ANN fields and not the gene name specifically.

Thanks, Anj

0 answers

No answers yet.

Log in to answer this question.