Mercurial > repos > tduigou > retropath2
annotate retropath2_wrapper.xml @ 17:60a0330a2ba9 draft
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 1dfdc8e67615cd0174729991e30181410cf0cd11
| author | tduigou |
|---|---|
| date | Mon, 27 Oct 2025 06:28:59 +0000 |
| parents | 61f770bdfa09 |
| children | 9eecf3fca620 |
| rev | line source |
|---|---|
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
1 <tool id="retropath2" name="RetroPath2.0" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
2 profile="21.09" license="MIT"> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
3 <description>Build a reaction network from a set of source compounds to a set of sink compounds</description> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
4 <macros> |
|
17
60a0330a2ba9
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 1dfdc8e67615cd0174729991e30181410cf0cd11
tduigou
parents:
16
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
|
60a0330a2ba9
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 1dfdc8e67615cd0174729991e30181410cf0cd11
tduigou
parents:
16
diff
changeset
|
6 <token name="@TOOL_VERSION@">3.6.0</token> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
7 </macros> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
8 <requirements> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
9 <requirement type="package" version="@TOOL_VERSION@">retropath2_wrapper</requirement> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
10 </requirements> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
11 <stdio> |
|
12
da083c323f5c
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents:
11
diff
changeset
|
12 <!-- Fatal --> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
13 <regex match="It seems that the target product is already in the chassis" source="both" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
14 level="fatal" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
15 description="It seems that the target product is already in the chassis (Exit code: 1)" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
16 <regex match="The following error occured" source="both" level="fatal" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
17 description="The following error occured (Exit code: 2)" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
18 <regex match="is not a valid InChI notation" source="both" level="fatal" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
19 description="is not a valid InChI notation (Exit code: 3)" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
20 <regex match="The sink file is malformed" source="both" level="fatal" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
21 description="The sink file is malformed (Exit code: 4)" /> |
|
12
da083c323f5c
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents:
11
diff
changeset
|
22 <!-- Warning --> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
23 <regex match="Source has been found in the sink" source="both" level="warning" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
24 description="Source has been found in the sink (Exit code: 10)" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
25 <regex match="No solution has been found" source="both" level="warning" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
26 description="No solution has been found (Exit code: 11)" /> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
27 </stdio> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
28 <command detect_errors="exit_code"><![CDATA[ |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
29 #if $sink.emptysink: |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
30 echo '"Name","InChI"' > empty_sink.csv && |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
31 #set $sinkfile = "empty_sink.csv" |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
32 #end if |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
33 python -m retropath2_wrapper |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
34 '$sinkfile' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
35 '$rulesfile' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
36 out |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
37 --source_inchi '$source_inchi' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
38 --source_name '$source_name' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
39 --rp2_version '$adv.version' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
40 --max_steps '$max_steps' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
41 --topx '$adv.topx' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
42 --dmin '$adv.dmin' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
43 --dmax '$adv.dmax' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
44 --mwmax_source '$adv.mwmax_source' |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
45 --kinstall "\${TMPDIR:-.}" |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
46 --std_hydrogen '$adv.std_hydrogen' |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
47 #if not $sink.error_codes: |
|
13
22ceb8cf65ac
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 7aa6b6c68cf3c15f93b82fd7ed12c6ec5ab4517f
tduigou
parents:
12
diff
changeset
|
48 --quiet |
|
22ceb8cf65ac
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 7aa6b6c68cf3c15f93b82fd7ed12c6ec5ab4517f
tduigou
parents:
12
diff
changeset
|
49 #end if |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
50 --msc_timeout '$adv.timeout' && |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
51 cp out/*_scope.csv "$Reaction_Network" 2>/dev/null || cp out/results.csv "$Reaction_Network" |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
52 ]]></command> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
53 <inputs> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
54 <param name="rulesfile" type="data" format="csv,tar" label="Rules File" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
55 help="File containing reaction rules which reflect the enzymatic potential of the chassis organism." /> |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
56 <conditional name="sink"> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
57 <param name="emptysink" type="boolean" checked="false" label="Empty sink" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
58 <when value="false"> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
59 <param name="sinkfile" type="data" format="csv" label="Sink File" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
60 help="Sink file which comprises all compounds that are considered as granted in your system." /> |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
61 <param name="error_codes" type="boolean" checked="true" label="Return error codes" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
62 </when> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
63 <when value="true"> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
64 <param name="error_codes" type="boolean" checked="false" label="Return error codes" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
65 </when> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
66 </conditional> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
67 <param name="source_inchi" type="text" label="Source InChI" optional="false" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
68 help="InChI of compound to produce."> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
69 <validator type="empty_field" message="You must provide the InChI string" /> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
70 </param> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
71 <param name="max_steps" type="integer" value="3" min="1" max="10" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
72 label="Maximal Pathway length" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
73 help="The maximal number of metabolic steps (i.e. reactions) for exploring around the target." /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
74 <param name="source_name" type="text" value="target" optional="true" label="Source name" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
75 help="Name of compound to produce."> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
76 <validator type="empty_field" message="Source name is required." /> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
77 </param> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
78 <section name="adv" title="Advanced Options" expanded="false"> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
79 <param name="version" type="select" label="Workflow version" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
80 help="Retropath2.0 Workflow versions, formatted as 'r{year}{month}{day}' (the latest version 'r20220104' is used by default)."> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
81 <option value="v9">v9</option> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
82 <option value="r20210127">r20210127</option> |
|
12
da083c323f5c
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents:
11
diff
changeset
|
83 <option value="r20220104">r20220104</option> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
84 <option value="r20220224">r20220224</option> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
85 <option value="r20250728" selected="true">r20250728</option> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
86 </param> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
87 <param name="topx" type="integer" value="100" min="1" max="1000" label="TopX" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
88 help="The maximal number of intermediate compounds to use as new starting points for a next iteration of the retrosynthesis algorithm." /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
89 <param name="dmin" type="integer" value="0" min="0" max="1000" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
90 label="Minimum rule diameter" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
91 help="Minimum rule diameter of the sphere including the atoms around the reacting center. The higher is the diameter, the more specific are the rules." /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
92 <param name="dmax" type="integer" value="1000" min="0" max="1000" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
93 label="Maximum rule diameter" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
94 help="Maximum rule diameter of the sphere including the atoms around the reacting center. The higher is the diameter, the more specific are the rules." /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
95 <param name="mwmax_source" type="integer" value="1000" min="0" max="2000" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
96 label="Molecular weight of source (Da)" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
97 help="The molecular weight cutoff (in Da), above which initial source (ie target) and intermediate compounds will be filtered out." /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
98 <param name="timeout" type="integer" value="60" min="30" max="600" label="Timeout (min)" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
99 help="Maximal time of RetroPath2.0 execution (60 minutes by default)." /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
100 <param name="std_hydrogen" type="select" label="Hygrogens in chemical rules" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
101 help="How hydrogens are represented in chemical rules, auto mode will try to guess from the chemical rules"> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
102 <option value="auto" selected="true">auto</option> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
103 <option value="implicit">Aromatized (no Hs added)</option> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
104 <option value="explicit">H added + Aromatized</option> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
105 </param> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
106 </section> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
107 </inputs> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
108 <outputs> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
109 <data name="Reaction_Network" format="csv" label="${tool.name}"> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
110 <actions> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
111 <action name="column_names" type="metadata" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
112 default="Initial source,Transformation ID,Reaction SMILES,Substrate SMILES,Substrate InChI,Product SMILES,Product InChI,In Sink,Sink name,Diameter,Rule ID,EC number,Score,Starting Source SMILES,Iteration" /> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
113 </actions> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
114 </data> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
115 </outputs> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
116 <tests> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
117 <test> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
118 <!-- test 1: check if identical outputs are produced with default parameters --> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
119 <param name="rulesfile" value="rules.csv" /> |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
120 <conditional name="sink"> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
121 <param name="emptysink" value="false" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
122 <param name="sinkfile" value="sink.csv" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
123 </conditional> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
124 <param name="source_inchi" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
125 value="InChI=1S/C40H56/c1-33(2)19-13-23-37(7)27-17-31-39(9)29-15-25-35(5)21-11-12-22-36(6)26-16-30-40(10)32-18-28-38(8)24-14-20-34(3)4/h11-12,15-22,25-32H,13-14,23-24H2,1-10H3/b12-11+,25-15+,26-16+,31-17+,32-18+,35-21+,36-22+,37-27+,38-28+,39-29+,40-30+" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
126 <output name="Reaction_Network" file="results_retropath2.csv" ftype="csv" compare="diff" /> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
127 </test> |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
128 <test> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
129 <!-- test 2: check empty sink file --> |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
130 <param name="rulesfile" value="rules.csv" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
131 <conditional name="sink"> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
132 <param name="emptysink" value="true" /> |
|
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
133 </conditional> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
134 <param name="source_inchi" |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
135 value="InChI=1S/C40H56/c1-33(2)19-13-23-37(7)27-17-31-39(9)29-15-25-35(5)21-11-12-22-36(6)26-16-30-40(10)32-18-28-38(8)24-14-20-34(3)4/h11-12,15-22,25-32H,13-14,23-24H2,1-10H3/b12-11+,25-15+,26-16+,31-17+,32-18+,35-21+,36-22+,37-27+,38-28+,39-29+,40-30+" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
136 <output name="Reaction_Network" file="results_emptysink.csv" ftype="csv" compare="diff" /> |
|
15
2f79335c4137
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
tduigou
parents:
14
diff
changeset
|
137 </test> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
138 </tests> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
139 <help><![CDATA[ |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
140 Retropath2.0 wrapper |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
141 ==================== |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
142 |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
143 Perform retrosynthesis search of possible metabolic routes between a source molecule and a collection of sink molecules. This tool is an implementation of the `KNIME retropath2.0 workflow <https://www.myexperiment.org/workflows/4987.html>`_. It takes for input the minimal (dmin) and maximal (dmax) diameter for the reaction rules and the maximal path length (maxSteps). The tool expects the following files: rules.csv, sink.csv and source.csv and produce a retrosynthesis network as a CSV file providing reactions in the reaction SMILES format and chemicals in both SMILES and InChI formats along with other information like the score for each reaction. Only a single source molecule is processed at this time. |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
144 |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
145 Output |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
146 ------ |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
147 |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
148 * **Reaction Network**\ : CSV file containing retrosynthesis network which provides reactions in the reaction SMILES format and chemicals in both SMILES and InChI formats along with other information like the score for each reaction. |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
149 ]]></help> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
150 <creator> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
151 <organization name="BioRetroSynth" url="https://github.com/brsynth" /> |
|
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
152 </creator> |
|
6
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
153 <citations> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
154 <citation type="doi">10.1016/j.ymben.2017.12.002 </citation> |
|
8d76e8616839
planemo upload commit 28852b9b524b2b3ec85d6e85bc30f82593cb026c
tduigou
parents:
diff
changeset
|
155 </citations> |
|
16
61f770bdfa09
planemo upload for repository https://github.com/brsynth/retropath2_wrapper commit 40734213f00aa27fda1cca8a1c50f1e73930e771-dirty
tduigou
parents:
15
diff
changeset
|
156 </tool> |
