Mercurial > repos > tduigou > rp2paths
annotate rp2paths.xml @ 4:aed346f2e254 draft
planemo upload for repository https://github.com/brsynth/rp2paths commit 1e01b679611d980f87089184e7d8a538b96d68c7
author | tduigou |
---|---|
date | Tue, 30 May 2023 21:09:33 +0000 |
parents | 9c11cb2b1a71 |
children | f50160c17e02 |
rev | line source |
---|---|
3
9c11cb2b1a71
planemo upload for repository https://github.com/brsynth/rp2paths commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
1 <tool id="rp2paths" name="RP2paths" version="@TOOL_VERSION@" profile="21.09" license="MIT"> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
2 <description>Enumerate and seperate the different pathways generated by RetroPath2.0</description> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
3 <macros> |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.5.0</token> |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
5 </macros> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
6 <requirements> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
7 <requirement type="package" version="@TOOL_VERSION@">rp2paths</requirement> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
8 </requirements> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
9 <stdio> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
10 <regex match="TIMEOUT:" level="fatal" /> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
11 <regex match="ERROR:" level="fatal" /> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
12 <regex match="WARNING:" level="warning" /> |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
13 </stdio> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
14 <command detect_errors="exit_code"><![CDATA[ |
1
e3db7fb2c85e
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
15 mkdir out && |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
16 python -m rp2paths all |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
17 '$rp2_pathways' |
1
e3db7fb2c85e
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
18 --outdir out |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
19 --timeout '$adv.timeout' && |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
20 cp out/compounds.txt '$compounds' && |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
21 if test -f 'out/out_paths.csv'; then |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
22 cp out/out_paths.csv '$master_pathways'; |
1
e3db7fb2c85e
"planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents:
0
diff
changeset
|
23 fi |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
24 ]]></command> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
25 <inputs> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
26 <param name="rp2_pathways" type="data" format="csv" label="RetroPath2.0 Pathways" help="Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis."/> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
27 <section name="adv" title="Advanced Options" expanded="false"> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
28 <param name="timeout" type="integer" value="1800" label="Time Out" help="Time out before killing a process (in seconds), default: 30 minutes." /> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
29 </section> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
30 </inputs> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
31 <outputs> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
32 <data name="master_pathways" format="csv" label="${tool.name} on ${rp2_pathways.name} : Enumerated Pathways" /> |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
33 <data name="compounds" format="tabular" label="${tool.name} on ${rp2_pathways.name} : Compounds" /> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
34 </outputs> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
35 <tests> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
36 <test> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
37 <!-- test 1: check if identical outputs are produced with default parameters --> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
38 <param name="rp2_pathways" value="retropath2_pathways.csv" /> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
39 <output name="master_pathways" file="rp2paths_pathways.csv" ftype="csv" compare="diff"/> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
40 <output name="compounds" file="rp2paths_compounds.tsv" ftype="tabular" compare="diff"/> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
41 </test> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
42 </tests> |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
43 <help><![CDATA[ |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
44 RP2paths |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
45 ======== |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
46 |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
47 |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
48 **RP2paths** extracts the set of heterologous pathways that lies in a metabolic space file outputted by the `RetroPath2.0 workflow <https://www.myexperiment.org/workflows/4987.html>`_ into individual pathways and enumerate them. This analysis is required to ensure that only pathways fulfilling all the precursor needs are retained for further analysis. This tool takes as input a retrosynthesis network in the CSV file produced by `RetroPath2.0 <https://toolshed.g2.bx.psu.edu/view/tduigou/retropath2/9c8ac9980bd6>`_ , and outputs the enumerated pathways (using `EC numbers <https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/enzyme-commission-number>`_ ) as well as the structure of involved chemicals (as SMILES: Simplified Molecular-Input Line-Entry System) in TSV format. |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
49 |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
50 |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
51 An example of **enumerated pathways** is illustred in the figure below for the production of a target molecule: `Styrene <https://www.sciencedirect.com/topics/chemical-engineering/styrene>`_. **Compounds** are represented by their structures, and **reactions** by their `EC numbers <https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/enzyme-commission-number>`_. |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
52 |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
53 |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
54 .. image:: ${static_path}/images/enumerated_pathways.png |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
55 :width: 40 % |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
56 :align: center |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
57 |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
58 | |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
59 |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
60 Input |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
61 ----- |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
62 |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
63 Required information: |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
64 |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
65 * **RetroPath2.0 Pathways**\ : Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis. |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
66 |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
67 Advanced options: |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
68 |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
69 * **Time Out**\ : (integer) Timeout before killing a process (in seconds), default: 30 minutes. |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
70 |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
71 Output |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
72 ------ |
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
73 |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
74 * **Enumerated Pathways**\ : Describes all the indiviudal enumerated pathways that produce the compound of interest. |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
75 * **Compounds**\ : Describes the structure of all the chemical species involved in all pathways as SMILES (Simplified Molecular-Input Line-Entry System). |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
76 ]]></help> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
77 <creator> |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
78 <organization name="BioRetroSynth" url="https://github.com/brsynth"/> |
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
79 </creator> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
80 <citations> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
81 <citation type="doi">10.1016/j.ymben.2017.12.002</citation> |
0
2782bee7c5a6
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
82 </citations> |
2
2452952f7bc2
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents:
1
diff
changeset
|
83 </tool> |