Mercurial > repos > pablocarb > synbiodesign
annotate rpviz.xml @ 11:bce330b97d42 draft
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
author | pablocarb |
---|---|
date | Tue, 11 Jun 2019 04:04:24 -0400 |
parents | |
children | ced66a3d2814 |
rev | line source |
---|---|
11
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
1 <tool id="rpviz" name="rpVisualizer" version="0.1.0" python_template_version="3.5"> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
2 <description>Pathway visualizer</description> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
3 <requirements> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
4 <requirement type="package">libsbml</requirement> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
5 <requirement type="package">networkx</requirement> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
6 <requirement type="package">beatifulsoup4</requirement> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
7 <requirement type="package">rdkit</requirement> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
8 </requirements> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
10 if [ ! -d rpviz ] |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
11 then |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
12 git clone https://github.com/pablocarb/rpviz.git $__tool_directory__/rpviz > /dev/null |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
13 else |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
14 cd $__tool_directory__/rpviz; git pull; cd .. |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
15 fi |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
16 cd $__tool_directory__ |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
17 python $__tool_directory__/toolVisualizer.py $input1 $output1 |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
18 ]]></command> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
19 <inputs> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
20 <param type="data" name="input1" format="sbml" /> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
21 </inputs> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
22 <outputs> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
23 <data name="output1" format="html" from_work_dir="out.html" /> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
24 </outputs> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
25 <help><![CDATA[ |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
26 python3 toolVisualizer.py inputfile outputfile |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
27 ]]></help> |
bce330b97d42
planemo upload commit 58fe26f452c61f1682290f662666043937943b81-dirty
pablocarb
parents:
diff
changeset
|
28 </tool> |