# HG changeset patch # User iuc # Date 1465308249 14400 # Node ID 98708b88af9f75daec37b70f3e7ee0834c060fee # Parent 9e8280e193388566b86a553cbd7f0a6a845767e2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31 diff -r 9e8280e19338 -r 98708b88af9f snpSift_annotate.xml --- a/snpSift_annotate.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_annotate.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,20 +1,23 @@ - + SNPs from dbSnp - snpSift_macros.xml - - java -Xmx6G -jar \$SNPEFF_JAR_PATH/SnpSift.jar $annotate_cmd + + + + $output + -q "$dbSnp" "$input" > "$output" +]]> @@ -24,7 +27,7 @@ - ^(([a-zA-Z][a-zA-Z0-9_-]*)(,[a-zA-Z][a-zA-Z0-9_-]*)*)?$ @@ -37,7 +40,6 @@ - @@ -54,7 +56,7 @@ - + + diff -r 9e8280e19338 -r 98708b88af9f snpSift_caseControl.xml --- a/snpSift_caseControl.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_caseControl.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,23 +1,26 @@ - + Count samples are in 'case' and 'control' groups. - snpSift_macros.xml - - java -Xmx1G -jar \$SNPEFF_JAR_PATH/SnpSift.jar caseControl -q - #if $name.__str__.strip() != '': - -name $name + + + + $output + "$input" > "$output" +]]> @@ -45,7 +48,6 @@ - @@ -84,7 +86,7 @@ - + +]]> + + diff -r 9e8280e19338 -r 98708b88af9f snpSift_extractFields.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/snpSift_extractFields.xml Tue Jun 07 10:04:09 2016 -0400 @@ -0,0 +1,220 @@ + + + from a VCF file inot a tabular file + + snpSift_macros.xml + + + + + "$output" +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 9e8280e19338 -r 98708b88af9f snpSift_filter.xml --- a/snpSift_filter.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_filter.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,31 +1,41 @@ - - + Filter variants using arbitrary expressions - snpSift_macros.xml - - java -Xmx6G -jar \$SNPEFF_JAR_PATH/SnpSift.jar filter -f $input -e $exprFile $inverse + + + + + 0: + #if $filtering.replace.filterId and len(str($filtering.replace.filterId).strip()) > 0: --filterId "$filtering.replace.filterId" #end if #end if - #if $filtering.addFilter and len($filtering.addFilter.__str__.strip()) > 0: + #if $filtering.addFilter and len(str($filtering.addFilter).strip()) > 0: --addFilter "$filtering.addFilter" #end if - #if $filtering.rmFilter and len($filtering.rmFilter.__str__.strip()) > 0: + #if $filtering.rmFilter and len(str($filtering.rmFilter).strip()) > 0: --rmFilter "$filtering.rmFilter" #end if #end if - > $output + > "$output" +]]> + + +$expr#slurp + + - + + + @@ -39,25 +49,19 @@ help="appends an ID tag to non-matching entry FILTER "/> - - - + + - - -$expr#slurp - - - @@ -85,7 +89,7 @@ - + @@ -100,7 +104,7 @@ - + @@ -111,7 +115,7 @@ - + 1000000 ) & ( POS < 2000000 ) - *Filter value is either 'PASS' or it is missing*: @@ -131,11 +135,13 @@ (FILTER = 'PASS') | ( na FILTER ) - - *I want to filter lines with an EFF of 'frameshift_variant' ( for vcf files using Sequence Ontology terms )*: + - *I want to filter lines with an ANN annotation EFFECT of 'frameshift_variant' ( for vcf files using Sequence Ontology terms )*: :: - ( EFF[*].EFFECT = 'frameshift_variant' ) + ( ANN[*].EFFECT has 'frameshift_variant' ) + + **Important** According to the specification, there can be more than one EFFECT separated by & (e.g. 'missense_variant&splice_region_variant', thus using has operator is better than using equality operator (=). For instance 'missense_variant&splice_region_variant' = 'missense_variant' is false, whereas 'missense_variant&splice_region_variant' has 'missense_variant' is true. - *I want to filter lines with an EFF of 'FRAME_SHIFT' ( for vcf files using Classic Effect names )*: @@ -147,31 +153,31 @@ :: - ( QUAL > 30 ) + ( QUAL > 30 ) - *...but we also want InDels that have quality 20 or more*: :: - (( exists INDEL ) & (QUAL >= 20)) | (QUAL >= 30 ) + (( exists INDEL ) & (QUAL >= 20)) | (QUAL >= 30 ) - *...or any homozygous variant present in more than 3 samples*: :: - (countHom() > 3) | (( exists INDEL ) & (QUAL >= 20)) | (QUAL >= 30 ) + (countHom() > 3) | (( exists INDEL ) & (QUAL >= 20)) | (QUAL >= 30 ) - *...or any heterozygous sample with coverage 25 or more*: :: - ((countHet() > 0) & (DP >= 25)) | (countHom() > 3) | (( exists INDEL ) & (QUAL >= 20)) | (QUAL >= 30 ) + ((countHet() > 0) & (DP >= 25)) | (countHom() > 3) | (( exists INDEL ) & (QUAL >= 20)) | (QUAL >= 30 ) - *I want to keep samples where the genotype for the first sample is homozygous variant and the genotype for the second sample is reference*: :: - (isHom( GEN[0] ) & isVariant( GEN[0] ) & isRef( GEN[1] )) + (isHom( GEN[0] ) & isVariant( GEN[0] ) & isRef( GEN[1] )) **For information regarding HGVS and Sequence Ontology terms versus classic names**: @@ -183,7 +189,7 @@ @EXTERNAL_DOCUMENTATION@ http://snpeff.sourceforge.net/SnpSift.html#filter -@CITATION_SECTION@ - +]]> + diff -r 9e8280e19338 -r 98708b88af9f snpSift_int.xml --- a/snpSift_int.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_int.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,14 +1,17 @@ - + Filter variants using intervals - snpSift_macros.xml - - java -Xmx2G -jar \$SNPEFF_JAR_PATH/SnpSift.jar intervals -i $input $exclude $bedFile > $output + + + + "$output" +]]> @@ -19,7 +22,6 @@ - @@ -44,14 +46,14 @@ - + + diff -r 9e8280e19338 -r 98708b88af9f snpSift_macros.xml --- a/snpSift_macros.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_macros.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,7 +1,7 @@ - snpEff + snpEff @@ -10,6 +10,10 @@ + + java -jar "$SNPEFF_JAR_PATH/snpEff.jar" -version + + 4.1 For details about this tool, please go to: diff -r 9e8280e19338 -r 98708b88af9f snpSift_rmInfo.xml --- a/snpSift_rmInfo.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_rmInfo.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,11 +1,14 @@ - + remove INFO field annotations - snpSift_macros.xml - - java -Xmx2G -jar \$SNPEFF_JAR_PATH/SnpSift.jar rmInfo $input ' '.join($info_fields.split(',')) > $output + + + + "$output" +]]> @@ -17,7 +20,6 @@ - @@ -39,18 +41,18 @@ - + + diff -r 9e8280e19338 -r 98708b88af9f snpSift_vartype.xml --- a/snpSift_vartype.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_vartype.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,11 +1,14 @@ - + Annotate with variant type - snpSift_macros.xml - - java -jar \$SNPEFF_JAR_PATH/SnpSift.jar varType $input 2> $log > $output + + + + "$log" > "$output" +]]> @@ -14,10 +17,9 @@ - - + diff -r 9e8280e19338 -r 98708b88af9f snpSift_vcfCheck.xml --- a/snpSift_vcfCheck.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/snpSift_vcfCheck.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,11 +1,14 @@ - + basic checks for Vcf specification compliance - snpSift_macros.xml - - java -Xmx2G -jar \$SNPEFF_JAR_PATH/SnpSift.jar vcfCheck $input > $output + + + + "$output" +]]> @@ -13,7 +16,6 @@ - @@ -24,7 +26,7 @@ - + + diff -r 9e8280e19338 -r 98708b88af9f tool_dependencies.xml --- a/tool_dependencies.xml Thu Jan 22 08:39:07 2015 -0500 +++ b/tool_dependencies.xml Tue Jun 07 10:04:09 2016 -0400 @@ -1,6 +1,6 @@ - - + +