Repository 'snpsift_dbnsfp'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/snpsift_dbnsfp

Changeset 1:13191d4914f7 (2016-06-07)
Previous changeset 0:dc480609d9c1 (2015-01-22) Next changeset 2:c838e7136a40 (2016-12-05)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift_dbnsfp commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
modified:
snpSift_dbnsfp.xml
snpSift_macros.xml
tool_data_table_conf.xml.sample
tool_dependencies.xml
added:
tool-data/snpsift_dbnsfps.loc.sample
removed:
repository_dependencies.xml
b
diff -r dc480609d9c1 -r 13191d4914f7 repository_dependencies.xml
--- a/repository_dependencies.xml Thu Jan 22 08:53:21 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<repositories description="This requires the SnpEff dbnsfp datatype definitions.">
-  <repository changeset_revision="0c4372b93e85" name="snpsift_dbnsfp_datatypes" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
-</repositories>
b
diff -r dc480609d9c1 -r 13191d4914f7 snpSift_dbnsfp.xml
--- a/snpSift_dbnsfp.xml Thu Jan 22 08:53:21 2015 -0500
+++ b/snpSift_dbnsfp.xml Tue Jun 07 10:04:48 2016 -0400
[
b'@@ -1,24 +1,27 @@\n-<tool id="snpSift_dbnsfp" name="SnpSift dbNSFP" version="4.0.0">\n-    <description>Add Annotations from dbNSFP</description>\n-    <expand macro="requirements" />\n+<tool id="snpSift_dbnsfp" name="SnpSift dbNSFP" version="@WRAPPER_VERSION@.0">\n+    <description>Add Annotations from dbNSFP or similar annotation DBs</description>\n     <macros>\n         <import>snpSift_macros.xml</import>\n     </macros>\n-    <command>\n-        java -Xmx6G -jar \\$SNPEFF_JAR_PATH/SnpSift.jar dbnsfp -v\n-        #if $db.dbsrc == \'cached\' :\n-          -db $db.dbnsfp \n-          #if $db.annotations and $db.annotations.__str__ != \'\':\n+    <expand macro="requirements" />\n+    <expand macro="stdio" />\n+    <expand macro="version_command" />\n+    <command><![CDATA[\n+        java -Xmx6G -jar "\\$SNPEFF_JAR_PATH/SnpSift.jar" dbnsfp -v\n+        #if $db.dbsrc == \'cached\':\n+          -db "$db.dbnsfp"\n+          #if $db.annotations and str($db.annotations) != \'\':\n             -f "$db.annotations"\n           #end if\n-        #else :\n+        #else:\n           -db "${db.dbnsfpdb.extra_files_path}/${db.dbnsfpdb.metadata.bgzip}"\n-          #if $db.annotations and $db.annotations.__str__ != \'\':\n+          #if $db.annotations and str($db.annotations) != \'\':\n             -f "$db.annotations"\n           #end if\n-        #end if          \n-        $input > $output  \n-        2> tmp.err &amp;&amp; grep -v file tmp.err\n+        #end if\n+        "$input" > "$output"\n+        2> tmp.err && grep -v file tmp.err\n+]]>\n     </command>\n     <inputs>\n         <param name="input" type="data" format="vcf" label="Variant input file in VCF format"/>\n@@ -29,17 +32,17 @@\n             </param>\n             <when value="cached">\n                 <param name="dbnsfp" type="select" label="Genome">\n-                    <options from_data_table="snpsift_dbnsfp">\n-                        <column name="name" index="1"/>\n-                        <column name="value" index="2"/>\n+                    <options from_data_table="snpsift_dbnsfps">\n+                        <column name="name" index="2"/>\n+                        <column name="value" index="3"/>\n                     </options>\n                 </param>\n                 <param name="annotations" type="select" multiple="true" display="checkboxes" label="Annotate with">\n-                    <options from_data_table="snpsift_dbnsfp">\n-                        <column name="name" index="3"/>\n-                        <column name="value" index="3"/>\n-                        <filter type="param_value" ref="dbnsfp" column="2" />\n-                        <filter type="multiple_splitter" column="3" separator=","/>\n+                    <options from_data_table="snpsift_dbnsfps">\n+                        <column name="name" index="4"/>\n+                        <column name="value" index="4"/>\n+                        <filter type="param_value" ref="dbnsfp" column="3" />\n+                        <filter type="multiple_splitter" column="4" separator=","/>\n                     </options>\n                 </param>\n             </when>\n@@ -53,7 +56,6 @@\n             </when>\n         </conditional>\n     </inputs>\n-    <expand macro="stdio" />\n     <outputs>\n         <data format="vcf" name="output" />\n     </outputs>\n@@ -70,9 +72,10 @@\n             </output>\n         </test>\n     </tests>\n-    <help>\n+    <help><![CDATA[\n \n The dbNSFP is an integrated database of functional predictions from multiple algorithms (SIFT, Polyphen2, LRT and MutationTaster, PhyloP and GERP++, etc.).\n+It contains variant annotations such as:\n \n \n   1000Gp1_AC\n@@ -124,7 +127,7 @@\n   ESP6500_EA_AF\n     Alternative allele frequency in the European American samples of the NHLBI GO Exome Sequencing Project (ESP6500 data set)\n   FATHMM_pred\n-    If a FATHMM_score is &lt;=-1.5 (or rankscore &lt;=0.81415) the corresponding non-synonymous SNP is predicted as "D(AMAGING)"; otherwise it is predicted as "T(OLERATED)". Multiple predictions separated by ";"\n+    If a FATHMM_s'..b's, only the most damaging (largest) rankscore is presented. The scores range from 0 to 1\n   FATHMM_score\n@@ -152,7 +155,7 @@\n   LRT_Omega\n     Estimated nonsynonymous-to-synonymous-rate ratio (Omega, reported by LRT)\n   LRT_converted_rankscore\n-    LRTori scores were first converted as LRTnew=1-LRTori*0.5 if Omega&lt;1, or LRTnew=LRTori*0.5 if Omega&gt;=1. Then LRTnew scores were ranked among all LRTnew scores in dbNSFP. The rankscore is the ratio of the rank over the total number of the scores in dbNSFP. The scores range from 0.00166 to 0.85682\n+    LRTori scores were first converted as LRTnew=1-LRTori*0.5 if Omega<1, or LRTnew=LRTori*0.5 if Omega>=1. Then LRTnew scores were ranked among all LRTnew scores in dbNSFP. The rankscore is the ratio of the rank over the total number of the scores in dbNSFP. The scores range from 0.00166 to 0.85682\n   LRT_pred\n     LRT prediction, D(eleterious), N(eutral) or U(nknown), which is not solely determined by the score\n   LRT_score\n@@ -222,7 +225,7 @@\n   SIFT_converted_rankscore\n     SIFTori scores were first converted to SIFTnew=1-SIFTori, then ranked among all SIFTnew scores in dbNSFP. The rankscore is the ratio of the rank the SIFTnew score over the total number of SIFTnew scores in dbNSFP. If there are multiple scores, only the most damaging (largest) rankscore is presented. The rankscores range from 0.02654 to 0.87932\n   SIFT_pred\n-    If SIFTori is smaller than 0.05 (rankscore&gt;0.55) the corresponding non-synonymous SNP is predicted as "D(amaging)"; otherwise it is predicted as "T(olerated)". Multiple predictions separated by ";"\n+    If SIFTori is smaller than 0.05 (rankscore>0.55) the corresponding non-synonymous SNP is predicted as "D(amaging)"; otherwise it is predicted as "T(olerated)". Multiple predictions separated by ";"\n   SIFT_score\n     SIFT score (SIFTori). Scores range from 0 to 1. The smaller the score the more likely the SNP has damaging effect. Multiple scores separated by ";"\n   SiPhy_29way_logOdds\n@@ -241,7 +244,11 @@\n     rs numbers from UniSNP, which is a cleaned version of dbSNP build 129, in format: rs number1;rs number2;...\n \n \n-The website for  dbNSFP database is https://sites.google.com/site/jpopgen/dbNSFP  and there is only annotation for human hg18 and hg19 genome builds. \n+The website for  dbNSFP database is https://sites.google.com/site/jpopgen/dbNSFP and there is only annotation for human genome builds. \n+\n+The procedure for preparing the dbNSFP data for use in SnpSift dbnsfp is in the SnpSift documentation:\n+*( It also provides links for dbNSFP databases prebuilt for SnpSift )*\n+http://snpeff.sourceforge.net/SnpSift.html#dbNSFP\n \n However, any dbNSFP-like tabular file that be can used with SnpSift dbnsfp if it has::\n \n@@ -265,10 +272,9 @@\n \t4\t100239319\tT\tG\tH\tP\tADH1B\t0\n \n \n-The uploaded tabular file should be set to datatype: "dbnsfp.tabular"\n-Using "Convert Format" the "dbnsfp.tabular" can be converted to the correct format for SnpSift dbnsfp.\n-\n-The procedure for preparing the dbNSFP data for use in SnpSift dbnsfp is in the SnpSift documentation.\n+The galaxy datatypes for dbNSFP can automatically convert the specially formatted tabular file for use by SnpSift dbNSFP:\n+  1. Upload the tabular file, set the datatype as: **"dbnsfp.tabular"**\n+  2. Edit the history dataset attributes (pencil icon): Use "Convert Format" to convert the **"dbnsfp.tabular"** to the correct format for SnpSift dbnsfp: **"snpsiftdbnsfp"**.\n \n \n @EXTERNAL_DOCUMENTATION@\n@@ -276,6 +282,14 @@\n \n @CITATION_SECTION@\n \n-\n+]]>\n     </help>\n+    <expand macro="citations">\n+        <citation type="doi">DOI: 10.1002/humu.21517</citation>\n+        <citation type="doi">DOI: 10.1002/humu.22376</citation>\n+        <citation type="doi">DOI: 10.1002/humu.22932</citation>\n+        <citation type="doi">doi: 10.1093/hmg/ddu733</citation>\n+        <citation type="doi">doi: 10.1093/nar/gku1206</citation>\n+        <citation type="doi">doi: 10.3389/fgene.2012.00035</citation>\n+    </expand>\n </tool>\n'
b
diff -r dc480609d9c1 -r 13191d4914f7 snpSift_macros.xml
--- a/snpSift_macros.xml Thu Jan 22 08:53:21 2015 -0500
+++ b/snpSift_macros.xml Tue Jun 07 10:04:48 2016 -0400
b
@@ -1,7 +1,7 @@
 <macros>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="4.0">snpEff</requirement>
+            <requirement type="package" version="4.1">snpEff</requirement>
         </requirements>
     </xml>
   <xml name="stdio">
@@ -10,6 +10,10 @@
         <exit_code range="1:"  level="fatal" description="Error" />
     </stdio>
   </xml>
+  <xml name="version_command">
+    <version_command>java -jar "$SNPEFF_JAR_PATH/snpEff.jar" -version</version_command>
+  </xml>
+  <token name="@WRAPPER_VERSION@">4.1</token>
   <token name="@EXTERNAL_DOCUMENTATION@">
 
 For details about this tool, please go to:
b
diff -r dc480609d9c1 -r 13191d4914f7 tool-data/snpsift_dbnsfps.loc.sample
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/snpsift_dbnsfps.loc.sample Tue Jun 07 10:04:48 2016 -0400
b
@@ -0,0 +1,3 @@
+#key build description path annotations
+#GRCh37_dbNSFP2.4 GRCh37 GRCh37 dbNSFP2.4 /depot/snpeff/dbNSFP2.4.txt.gz SIFT_pred,Uniprot_acc
+#GRCh38_dbNSFP3.1c GRCh38 GRCh38 dbNSFP3.1c /depot/snpeff/dbNSFP3.1c.txt.gz SIFT_pred,Uniprot_acc
b
diff -r dc480609d9c1 -r 13191d4914f7 tool_data_table_conf.xml.sample
--- a/tool_data_table_conf.xml.sample Thu Jan 22 08:53:21 2015 -0500
+++ b/tool_data_table_conf.xml.sample Tue Jun 07 10:04:48 2016 -0400
b
@@ -1,7 +1,7 @@
 <tables>
-    <table name="snpsift_dbnsfp" comment_char="#">
-        <columns>dbkey, name, value, annotations</columns>
-        <file path="tool-data/snpsift_dbnsfp.loc" />
+    <table name="snpsift_dbnsfps" comment_char="#">
+        <columns>key, build, name, value, annotations</columns>
+        <file path="tool-data/snpsift_dbnsfps.loc" />
     </table>
 </tables>
 
b
diff -r dc480609d9c1 -r 13191d4914f7 tool_dependencies.xml
--- a/tool_dependencies.xml Thu Jan 22 08:53:21 2015 -0500
+++ b/tool_dependencies.xml Tue Jun 07 10:04:48 2016 -0400
b
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <tool_dependency>
-  <package name="snpEff" version="4.0">
-      <repository changeset_revision="6bc55957927b" name="package_snpeff_4_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    <package name="snpEff" version="4.1">
+        <repository changeset_revision="374c7f8421fb" name="package_snpeff_4_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
     </package>
 </tool_dependency>