annotate rp2paths.xml @ 6:016ae4a7705e draft default tip

planemo upload for repository https://github.com/brsynth/rp2paths commit 96a30e92eab3144b924fdba7b63be10b218160a7
author tduigou
date Wed, 24 Jul 2024 08:42:00 +0000
parents f50160c17e02
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
5
f50160c17e02 planemo upload for repository https://github.com/brsynth/rp2paths commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
tduigou
parents: 3
diff changeset
4 <token name="@TOOL_VERSION@">1.5.1</token>
2
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' &&
6
016ae4a7705e planemo upload for repository https://github.com/brsynth/rp2paths commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents: 5
diff changeset
20 mv out/compounds.txt out/compounds.tsv &&
016ae4a7705e planemo upload for repository https://github.com/brsynth/rp2paths commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents: 5
diff changeset
21 cp out/compounds.tsv '$compounds' &&
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
22 if test -f 'out/out_paths.csv'; then
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
23 cp out/out_paths.csv '$master_pathways';
1
e3db7fb2c85e "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 0
diff changeset
24 fi
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
25 ]]></command>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
26 <inputs>
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
27 <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
28 <section name="adv" title="Advanced Options" expanded="false">
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
29 <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
30 </section>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
31 </inputs>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
32 <outputs>
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
33 <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
34 <data name="compounds" format="tabular" label="${tool.name} on ${rp2_pathways.name} : Compounds" />
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
35 </outputs>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
36 <tests>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
37 <test>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
38 <!-- test 1: check if identical outputs are produced with default parameters -->
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
39 <param name="rp2_pathways" value="retropath2_pathways.csv" />
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
40 <output name="master_pathways" file="rp2paths_pathways.csv" ftype="csv" compare="diff"/>
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
41 <output name="compounds" file="rp2paths_compounds.tsv" ftype="tabular" compare="diff"/>
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
42 </test>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
43 </tests>
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
44 <help><![CDATA[
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
45 RP2paths
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
46 ========
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
47
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
48
6
016ae4a7705e planemo upload for repository https://github.com/brsynth/rp2paths commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents: 5
diff changeset
49 **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) as well as the structure of involved chemicals (as SMILES: Simplified Molecular-Input Line-Entry System) in TSV format.
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
50
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
51
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
52 .. image:: ${static_path}/images/enumerated_pathways.png
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
53 :width: 40 %
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
54 :align: center
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
55
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
56 |
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
57
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
58 Input
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
59 -----
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
60
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
61 Required information:
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
62
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
63 * **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
64
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
65 Advanced options:
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
66
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
67 * **Time Out**\ : (integer) Timeout before killing a process (in seconds), default: 30 minutes.
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
68
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
69 Output
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
70 ------
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
71
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
72 * **Enumerated Pathways**\ : Describes all the indiviudal enumerated pathways that produce the compound of interest.
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
73 * **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
74 ]]></help>
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
75 <creator>
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
76 <organization name="BioRetroSynth" url="https://github.com/brsynth"/>
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
77 </creator>
0
2782bee7c5a6 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
78 <citations>
2
2452952f7bc2 planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
tduigou
parents: 1
diff changeset
79 <citation type="doi">10.1016/j.ymben.2017.12.002</citation>
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 </tool>