changeset 1:b0b7deebb71e draft

planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
author pablocarb
date Mon, 29 Apr 2019 10:53:09 -0400
parents ac027c9ace4d
children 856bd14e6e96
files maketool.sh selenzyme.xml
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/maketool.sh	Mon Apr 29 09:49:36 2019 -0400
+++ b/maketool.sh	Mon Apr 29 10:53:09 2019 -0400
@@ -5,17 +5,19 @@
 #    --example_output out.csv \
 #    --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1 -server $server' \
 
+# Generate tool backbone (additional params need to be entered manually 
 planemo tool_init --force \
     --id 'selenzyme' \
     --name 'Selenzyme' \
     --description 'enzyme sequence selection from reaction template' \
     --requirement requests@2 \
-    --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1' \
+    --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1 -server $server' \
     --example_input 'reaction.csv' \
     --example_output 'out.csv' \
     --doi 10.1093/bioinformatics/bty065 \
     --help_from_command 'python3 toolSelenzyme.py -h'
-    
+   
+# Init shed repository
 planemo shed_init . --force \
     --name synbiodesign \
     --owner pablocarb \
@@ -23,9 +25,13 @@
     --category 'Systems Biology' \
     --homepage_url 'https://github.com/pablocarb/galaxysynbiodesign'
 
+# Create repository in the toolshed
 planemo shed_create \
     --shed_target toolshed \
     --shed_key_from_env TOOLSHED 
 
+# Update repository in the toolshed
 planemo shed_update \
-    --check_diff --shed_target toolshed
+    --check_diff --shed_target toolshed \
+    --shed_key_from_env TOOLSHED
+
--- a/selenzyme.xml	Mon Apr 29 09:49:36 2019 -0400
+++ b/selenzyme.xml	Mon Apr 29 10:53:09 2019 -0400
@@ -4,7 +4,7 @@
         <requirement type="package" version="2">requests</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
-        python $__tool_directory__/toolSelenzyme.py $input1 $output1
+        python $__tool_directory__/toolSelenzyme.py $input1 $output1 -server $server
     ]]></command>
     <inputs>
         <param type="data" name="input1" format="csv" />