view rpviz.xml @ 18:612a2f94522f draft

planemo upload commit 87db86a34f2d92eb2c9756bf9ee53ae2970554d5-dirty
author pablocarb
date Tue, 11 Jun 2019 12:09:38 -0400
parents e97e43516c61
children dbc40b306014
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">python-libsbml</requirement>
        <requirement type="package">networkx</requirement>
        <requirement type="package">beautifulsoup4</requirement>
        <requirement type="package">rdkit</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
     git clone https://github.com/pablocarb/rpviz.git $__tool_directory__/rpviz;
     cd $__tool_directory__/rpviz; git pull; cd ..;
     cd $__tool_directory__;
     echo `which python` > $__tool_directory__/info.log;
     PYTHONPATH="$__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>