Mercurial > repos > pablocarb > synbiodesign
annotate rpviz.xml @ 13:c62cf8c1b07c draft
planemo upload commit 0591498e2981df704f3cc86539b1f90dd642dbb9
author | pablocarb |
---|---|
date | Tue, 11 Jun 2019 05:02:24 -0400 |
parents | ced66a3d2814 |
children | ff6c33d3a9d5 |
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> |
13
c62cf8c1b07c
planemo upload commit 0591498e2981df704f3cc86539b1f90dd642dbb9
pablocarb
parents:
12
diff
changeset
|
6 <requirement type="package">beautifulsoup4</requirement> |
11
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> |
12
ced66a3d2814
planemo upload commit 0591498e2981df704f3cc86539b1f90dd642dbb9
pablocarb
parents:
11
diff
changeset
|
20 <param type="data" name="input1" format="xml" /> |
11
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> |