Repository 'uniprotxml_downloader'
hg clone https://toolshed.g2.bx.psu.edu/repos/galaxyp/uniprotxml_downloader

Changeset 1:fc8c4bd28681 (2016-12-07)
Previous changeset 0:0bd2688166a5 (2016-03-08) Next changeset 2:e1abc9a35c64 (2016-12-16)
Commit message:
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/uniprotxml_downloader commit b4871f9659a924a68430aed3a93f4f9bad733fd6
modified:
uniprotxml_downloader.xml
b
diff -r 0bd2688166a5 -r fc8c4bd28681 uniprotxml_downloader.xml
--- a/uniprotxml_downloader.xml Tue Mar 08 12:03:49 2016 -0500
+++ b/uniprotxml_downloader.xml Wed Dec 07 16:44:14 2016 -0500
[
@@ -1,25 +1,26 @@
-<tool id="uniprotxml_downloader" name="UniProtXML Download" version="1.0.0">
+<tool id="uniprotxml_downloader" name="UniProtXML Download" version="1.0.1">
     <description>proteome</description>
     <requirements>
-        <requirement type="binary">wget</requirement>
+        <requirement type="package" version="2.7.12">python</requirement>
     </requirements>
     <stdio>
         <exit_code range="1:"  level="fatal" description="Error downloading proteome." />
     </stdio>
-    <command interpreter="python">
+    <command>
 <![CDATA[
-uniprotxml_downloader.py -v 
-#if $taxid.choice == 'common':
---taxon $taxid.organism
-#if $taxid.reviewed:
---reviewed=$taxid.reviewed
-#end if
-#else:
-#for id in $taxid.taxons.split(','):
--t $id
-#end for
-#end if
---output="${proteome}"
+    python '$__tool_directory__/uniprotxml_downloader.py'
+        -v 
+        #if $taxid.choice == 'common':
+            --taxon '$taxid.organism'
+        #if $taxid.reviewed:
+            --reviewed=$taxid.reviewed
+        #end if
+        #else:
+        #for id in $taxid.taxons.split(','):
+            -t $id
+        #end for
+        #end if
+            --output="${proteome}"
 ]]>
     </command>
     <inputs>
@@ -61,6 +62,7 @@
     </outputs>
     <tests>
         <test>
+            <param name="choice" value="taxids"/>
             <param name="taxons" value="1566990"/>
             <output name="uniprotxml">
                 <assert_contents>