Advanced use of snpEff
1
0
Entering edit mode
5.1 years ago
zion22 ▴ 70

Hello I have two questions for this wonderful forum: 1- I have results of snpEff (vcf files) but some of you know the command to generate the statistics from this file, normally snpEff does it when I run it, but I just want the statistics without running the whole program. 2- How can I filter the snpEff results by functionality or effects e.g.: only no synomims Thanks a lot

SNP snp • 2.5k views
ADD COMMENT
0
Entering edit mode

Can you show the snpEff command that you used? Also, can you paste a few lines of your VCF?

ADD REPLY
0
Entering edit mode

Hi I used this command snpEff -c snpEff.config GRCh37.75 variants_.vcf.gz" > variants_.snpEff.vcf

I know that this way i get three output files, the annotated vcf file, a text file summarizing the number of variant types per geneand and HTML file containing summary statistics, but i just want to know how to get HTML file again from "variants_.snpEff.vcf" without the necessity to run everything again. Also I want to know how can I filter the snpEff results by functionality or effects e.g. only no synomims

ADD REPLY
0
Entering edit mode

I am not sure that you can re-run the command to only generate the HTML file - are you not in a position to re-run the command?

For filtering the VCF, you can use the in-built functionality: http://snpeff.sourceforge.net/SnpSift.html#filter. Alternatively, you can simply use a combination of BCFtools and carefully-constructed grep commands in order to filter the VCF yourself.

ADD REPLY
1
Entering edit mode
5.0 years ago

1)If you are looking for the HTML stats file I guess you will need to run the program completely just don't store the output if you don't need it.

2) There is another program that comes with snpEff called SnpSift, you can use it for filtering and statistical analysis.

SnpSift filtering documentation.

ADD COMMENT
1
Entering edit mode

Thanks for answering, arup

ADD REPLY

Login before adding your answer.

Traffic: 1618 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