Mercurial > repos > jjohnson > snpsift
diff snpSift_filter.xml @ 1:796388c291d3
Update for snpeff version 4.0
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Mon, 20 Oct 2014 08:43:00 -0500 |
parents | 1ae5526db990 |
children | baf6602903e1 |
line wrap: on
line diff
--- a/snpSift_filter.xml Thu Jun 26 09:22:13 2014 -0400 +++ b/snpSift_filter.xml Mon Oct 20 08:43:00 2014 -0500 @@ -1,4 +1,4 @@ -<tool id="snpSift_filter" name="SnpSift Filter" version="3.6"> +<tool id="snpSift_filter" name="SnpSift Filter" version="4.0.0"> <options sanitize="False" /> <description>Filter variants using arbitrary expressions</description> <expand macro="requirements" /> @@ -50,7 +50,7 @@ </inputs> <configfiles> <configfile name="exprFile"> - $expr +$expr#slurp </configfile> </configfiles> @@ -119,13 +119,36 @@ Some examples: + - *I want just the variants from the second million bases of chr1*: + + :: + + ( CHROM = 'chr1' ) & ( POS > 1000000 ) & ( POS < 2000000 ) + + - *Filter value is either 'PASS' or it is missing*: + + :: + + (FILTER = 'PASS') | ( na FILTER ) + + - *I want to filter lines with an EFF of 'frameshift_variant' ( for vcf files using Sequence Ontology terms )*: + + :: + + ( EFF[*].EFFECT = 'frameshift_variant' ) + + - *I want to filter lines with an EFF of 'FRAME_SHIFT' ( for vcf files using Classic Effect names )*: + + :: + + ( EFF[*].EFFECT = 'FRAME_SHIFT' ) + - *I want to filter out samples with quality less than 30*: :: ( QUAL > 30 ) - - + - *...but we also want InDels that have quality 20 or more*: :: @@ -151,12 +174,11 @@ (isHom( GEN[0] ) & isVariant( GEN[0] ) & isRef( GEN[1] )) - - *I want to filter lines with an EFF of FRAME_SHIFT*: +**For information regarding HGVS and Sequence Ontology terms versus classic names**: - :: - - ( EFF[*].EFFECT = 'FRAME_SHIFT' ) - + - http://snpeff.sourceforge.net/SnpEff_manual.html#cmdline for the options: -classic, -hgvs, and -sequenceOntology + - http://snpeff.sourceforge.net/SnpEff_manual.html#input for the table containing the classic name and sequence onology term for each effect + @EXTERNAL_DOCUMENTATION@ http://snpeff.sourceforge.net/SnpSift.html#filter