Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • doc.ramses
    Member
    • Jan 2011
    • 26

    #1

    snpEff & snpSIFT variant filtering

    Hi,

    I want to filter a .vcf file with snpSIFT and have the problem that I can't use the filter expressions described here: http://snpeff.sourceforge.net/SnpSift.html

    I figured out that instead of:
    cat variants.vcf | java -jar SnpSift.jar " ( QUAL >= 30 )" > filtered.vcf

    I have to use:
    java -jar SnpSift.jar filter -f variants.vcf " ( QUAL >= 30 )" > filtered.vcf

    to get this done. But I dont' have a clue how to target the INFO field, where all the important information like DP, AF or in case of an snpEFF annotated file the EFF is located. When I use a expression like ( DP > 10 ) I get an error No such field 'DP'...

    Anyone ?
  • Danielbenitezr
    Junior Member
    • Dec 2012
    • 9

    #2
    I have the same question:
    I need to filter my vcf file by allele frequencies in order to keep only those samples that have differences between each other (polymorphic SNVs), not between them and the reference.
    If you got the answer, please share it =)

    thanks!

    Comment

    • jreuther
      Junior Member
      • Oct 2014
      • 2

      #3
      Here you go!

      cat VCF_file.vcf | java -jar SnpSift.jar filter "(( QUAL >= 30) & (na ID ) & (DP >= 200) & (AO >= 20) & (SAF >= 5) & (SAR >= 5))" | > Output.vcf

      you can do similar commands with different portions of the INFO field. The "na ID" field is for me to output the non-SNPs.

      If anyone knows how to combine the ("na ID" or "(exists ID & Eur_AF < .02)) fields, I'd appreciate the knowledge. Right now i have to do two different vcf files and cat them.

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...