view rpviz.xml @ 12:ced66a3d2814 draft

planemo upload commit 0591498e2981df704f3cc86539b1f90dd642dbb9
author pablocarb
date Tue, 11 Jun 2019 04:17:22 -0400
parents bce330b97d42
children c62cf8c1b07c
line wrap: on
line source

<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="xml" />
    </inputs>
    <outputs>
        <data name="output1" format="html" from_work_dir="out.html" />
    </outputs>
    <help><![CDATA[
        python3 toolVisualizer.py inputfile outputfile
    ]]></help>
</tool>