diff rpviz.xml @ 11:bce330b97d42 draft

planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
author pablocarb
date Tue, 11 Jun 2019 04:04:24 -0400
parents
children ced66a3d2814
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rpviz.xml	Tue Jun 11 04:04:24 2019 -0400
@@ -0,0 +1,28 @@
+<tool id="rpviz" name="rpVisualizer" version="0.1.0" python_template_version="3.5">
+    <description>Pathway visualizer</description>
+    <requirements>
+        <requirement type="package">libsbml</requirement>
+        <requirement type="package">networkx</requirement>
+        <requirement type="package">beatifulsoup4</requirement>
+        <requirement type="package">rdkit</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        if [ ! -d rpviz ]
+	then
+           git clone https://github.com/pablocarb/rpviz.git $__tool_directory__/rpviz > /dev/null
+	else
+	   cd $__tool_directory__/rpviz; git pull; cd ..
+	fi
+	cd $__tool_directory__
+        python $__tool_directory__/toolVisualizer.py $input1 $output1
+    ]]></command>
+    <inputs>
+        <param type="data" name="input1" format="sbml" />
+    </inputs>
+    <outputs>
+        <data name="output1" format="html" from_work_dir="out.html" />
+    </outputs>
+    <help><![CDATA[
+        python3 toolVisualizer.py inputfile outputfile
+    ]]></help>
+</tool>