# Filtering SnpEff output with SnpSift

**URL:** https://help.galaxyproject.org/t/filtering-snpeff-output-with-snpsift/9242
**Category:** Uncategorized
**Tags:** variant-analysis, vcf, snpeff
**Created:** [January 3, 2023, 12:42pm UTC](https://help.galaxyproject.org/t/filtering-snpeff-output-with-snpsift/9242 "2023-01-03T12:42:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![abbi](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@abbi](https://help.galaxyproject.org/u/abbi)
#### Post date: [January 3, 2023, 12:42pm UTC](https://help.galaxyproject.org/t/filtering-snpeff-output-with-snpsift/9242/1 "2023-01-03T12:42:55Z")

</div>

Hi,

Please can I just ask how to filter SnpEff output for exonic variants only with SnpSift?

I have tried by calling the initial SnpEff job with sequence ontology annotations.  
When I then try to filter as per the sequence ontology annotations it fails. When I’ve viewed the SnpEff VCF output, the sequence ontology annotations don’t seem to be present despite selecting this option when running the initial annotation.

Apologies if this is a basic q, very new to bioinformatics

Thank you for your help

---

<div class="post-metadata">

### Author: ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://help.galaxyproject.org/u/igor)
#### Post date: [January 4, 2023, 7:12am UTC](https://help.galaxyproject.org/t/filtering-snpeff-output-with-snpsift/9242/2 "2023-01-04T07:12:15Z")

</div>

Hi @abbi  
do you see SnpEff annotation in Info column of vcf file? It starts with ANN= or EFF=.  
You can select exonic variants by intersection of VCF file with BED file containing location of exons or by selection of appropriate annotations using SnpSift Filter. Check SnpEff Eff HTML stats for valid values, such as missense\_variant etc. Decide if you want variants in UTRs and non-coding transcripts. The syntax is described in SnpSift Filter. It might look something like: ANN[_].EFFECT = ‘missense\_variant’) | (ANN[_].EFFECT = ‘synonymous\_variant’) etc. Just in case double check filtering with ‘has’ instead of ‘=’. There might be other options.  
Hope that helps.  
Kind regards,  
Igor

---

<div class="post-metadata">

### Author: ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://help.galaxyproject.org/u/igor)
#### Post date: [January 4, 2023, 7:18am UTC](https://help.galaxyproject.org/t/filtering-snpeff-output-with-snpsift/9242/3 "2023-01-04T07:18:27Z")

</div>

Hi @abbi  
The brackets have wildcard characters, but these were interpreted as format symbols. If you decide to go with SnpSift Filter, just follow example at the bottom of job setup page.  
Kind regards,  
Igor
