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

Changeset 6:e57f0b0bc73b (2019-11-28)
Previous changeset 5:09f9bfb2b33b (2018-10-30) Next changeset 7:fe8a9ab8daf9 (2020-11-22)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpsift_dbnsfp commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
modified:
data_manager/data_manager_snpsift_dbnsfp.py
data_manager/data_manager_snpsift_dbnsfp.xml
test-data/test_nsfp.data_manager_json
b
diff -r 09f9bfb2b33b -r e57f0b0bc73b data_manager/data_manager_snpsift_dbnsfp.py
--- a/data_manager/data_manager_snpsift_dbnsfp.py Tue Oct 30 18:44:43 2018 -0400
+++ b/data_manager/data_manager_snpsift_dbnsfp.py Thu Nov 28 15:48:39 2019 -0500
[
@@ -195,7 +195,7 @@
     data_manager_dict['data_tables'][data_table].append(data_table_entry)
 
     # save info to json file
-    open(filename, 'wb').write(json.dumps(data_manager_dict))
+    open(filename, 'w').write(json.dumps(data_manager_dict, sort_keys=True))
 
 
 if __name__ == "__main__":
b
diff -r 09f9bfb2b33b -r e57f0b0bc73b data_manager/data_manager_snpsift_dbnsfp.xml
--- a/data_manager/data_manager_snpsift_dbnsfp.xml Tue Oct 30 18:44:43 2018 -0400
+++ b/data_manager/data_manager_snpsift_dbnsfp.xml Thu Nov 28 15:48:39 2019 -0500
b
@@ -1,15 +1,16 @@
-<tool id="data_manager_snpsift_dbnsfp" name="SnpSift dbNSFP" version="4.1.0" tool_type="manage_data">
+<tool id="data_manager_snpsift_dbnsfp" name="SnpSift dbNSFP" version="4.1.1" tool_type="manage_data" profile="19.05">
     <description>Install a dbNSFP variant annotation database</description>
     <requirements>
         <requirement type="package" version="0.8.3">pysam</requirement>
+        <requirement type="package" version="2.7">python</requirement>
     </requirements>
     <stdio>
         <exit_code range=":-1"  level="fatal"   description="Error: Cannot open file" />
         <exit_code range="1:"  level="fatal"   description="Error" />
     </stdio>
-    <command interpreter="python">
+    <command>
         #import re
-        data_manager_snpsift_dbnsfp.py
+        python '$__tool_directory__/data_manager_snpsift_dbnsfp.py'
         #if $db.src == 'softgenetics':
             --softgenetics "$db.softgenetics_name"
         #elif $db.src == 'history':
b
diff -r 09f9bfb2b33b -r e57f0b0bc73b test-data/test_nsfp.data_manager_json
--- a/test-data/test_nsfp.data_manager_json Tue Oct 30 18:44:43 2018 -0400
+++ b/test-data/test_nsfp.data_manager_json Thu Nov 28 15:48:39 2019 -0500
[
@@ -1,1 +1,1 @@
-{"data_tables": {"snpsift_dbnsfp": [{"value": "test_nsfp_tsv.txt.gz", "name": "? test_nsfp_tsv", "build": "?", "dbkey": "?_test_nsfp_tsv", "annotations": "hg18_pos(1-coor), genename, SIFT_score, SIFT_pred, Polyphen2_HDIV_score"}]}}
\ No newline at end of file
+{"data_tables": {"snpsift_dbnsfps": [{"annotations": "hg18_pos(1-coor),genename,SIFT_score,SIFT_pred,Polyphen2_HDIV_score", "build": "hg19", "key": "hg19_test_nsfp_tsv", "name": "hg19 test_nsfp_tsv", "value": "test_nsfp_tsv.txt.gz"}]}}
\ No newline at end of file