extract polyformisms non synonymous using SnpSift
1
1
Entering edit mode
5.0 years ago
zion22 ▴ 70

Hi, sorry to bother you. I ask in this forum why maybe someone can help me, some of you know how I could extract polyformisms non synonymous using SnpSift? and if you have an example of the command I appreciated it very much. Thank you

genome snp SNP next-gen sequence • 1.0k views
ADD COMMENT
4
Entering edit mode
5.0 years ago

The SnpSift filter option can be used to extract variants based on annotation and other parameters.

java -jar SnpSift.jar filter "( EFF[0].EFFECT = 'NON_SYNONYMOUS_CODING' )"  annotated.vcf > non_syn.vcf

Ref: http://snpeff.sourceforge.net/SnpSift.html#filter

ADD COMMENT
0
Entering edit mode

Hi. Thank you so much for helping me. but I have a problem, when I run the next command:

java -jar SnpSift.jar filter "( EFF[0].EFFECT = 'NON_SYNONYMOUS_CODING' )"  my_original_file.vcf > NON_SYNONYMOUS_file.vcf

when I compare the two files, original and filtered, are exactly the same, even when I change the filter parameter NON_SYNYMOUS_CODING to SYNONYMOUS_CODING the output file is the same. if you know what I could do it would be great since I have to do it with 10 other vcf files and I have the same problem

ADD REPLY
0
Entering edit mode

Can you share a snippet of the vcf file including the header?

ADD REPLY

Login before adding your answer.

Traffic: 2460 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6