annotate rp2paths.xml @ 6:6b2ae398f4b0 draft

planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
author tduigou
date Fri, 03 Oct 2025 11:16:40 +0000
parents bdde1d9dfaee
children f3843f6b7332
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
1 <tool id="rp2paths" name="RP2paths" version="@TOOL_VERSION@" profile="21.09" license="MIT">
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
2 <description>Enumerate and seperate the different pathways generated by RetroPath2.0</description>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
3 <macros>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
4 <token name="@TOOL_VERSION@">2.1.0</token>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
5 </macros>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
6 <requirements>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">rp2paths</requirement>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
8 </requirements>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
9 <stdio>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
10 <regex match="TIMEOUT:" level="fatal" />
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
11 <regex match="ERROR:" level="fatal" />
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
12 <regex match="WARNING:" level="warning" />
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
13 </stdio>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
2
550f1c02caba "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 1
diff changeset
15 mkdir out &&
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
16 python -m rp2paths all
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
17 '$rp2_pathways'
2
550f1c02caba "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 1
diff changeset
18 --outdir out
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
19 --timeout '$adv.timeout'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
20 #if str($adv.forward) == 'true'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
21 --forward
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
22 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
23 #if $adv.cofile
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
24 --cofile '$adv.cofile'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
25 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
26 #if str($adv.mindepth) == 'true'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
27 --minDepth
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
28 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
29 #if $adv.sink
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
30 --customsinkfile '$adv.sink'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
31 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
32 --maxsteps '$adv.maxsteps'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
33 --maxpaths '$adv.maxpaths'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
34 #if str($adv.unfold) == 'true'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
35 --unfold_compounds
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
36 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
37 #set cmp_ids = []
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
38 #for $x in $adv.rep_include_path
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
39 #silent cmp_ids.append(str($x.cmp_id))
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
40 #end for
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
41 #if len(cmp_ids) > 0
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
42 #set cmp_id = ' '.join($cmp_ids)
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
43 --onlyPathsStartingBy $cmp_id
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
44 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
45 #set cmp_ids = []
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
46 #for $x in $adv.rep_exclude_path
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
47 #silent cmp_ids.append(str($x.cmp_id))
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
48 #end for
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
49 #if len(cmp_ids) > 0
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
50 #set cmp_id = ' '.join($cmp_ids)
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
51 --notPathsStartingBy $cmp_id
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
52 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
53 #if $adv.cmpfile
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
54 --cmpdnamefile '$adv.cmpfile'
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
55 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
56 --target '$adv.target' &&
5
bdde1d9dfaee planemo upload for repository https://github.com/brsynth/rp2paths commit 46a1a47f6df15ce1873cde96c84b11d8a4544413
tduigou
parents: 3
diff changeset
57 mv out/compounds.txt out/compounds.tsv &&
bdde1d9dfaee planemo upload for repository https://github.com/brsynth/rp2paths commit 46a1a47f6df15ce1873cde96c84b11d8a4544413
tduigou
parents: 3
diff changeset
58 cp out/compounds.tsv '$compounds' &&
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
59 if test -f 'out/out_paths.csv'; then
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
60 cp out/out_paths.csv '$master_pathways';
2
550f1c02caba "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 1
diff changeset
61 fi
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
62 ]]></command>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
63 <inputs>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
64 <param name="rp2_pathways" type="data" format="csv" label="RetroPath2.0 Pathways"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
65 help="Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis." />
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
66 <section name="adv" title="Advanced Options" expanded="false">
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
67 <param name="timeout" type="integer" value="1800" label="Time Out"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
68 help="Time out before killing a process (in seconds), default: 30 minutes." />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
69 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
70 name="forward" type="boolean" checked="false" label="Forward"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
71 help="Consider reactions in the forward direction" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
72 <param name="cofile"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
73 type="data" format="csv" optional="True" label="List of cofactors" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
74 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
75 name="mindepth" type="boolean" checked="false" label="Minimal depth scope"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
76 help="Use minimal depth scope, i.e. stop the scope computation as as soon an a first minimal path linking target to sink is found" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
77 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
78 name="sink" type="data" format="tabular" optional="True" label="List of sinks"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
79 help="Listing compounds to consider as sink compounds. Sink compounds should be provided by their IDs, as used in the reaction.erxn file" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
80 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
81 name="maxsteps" type="integer" min="0" value="0" max="20" label="Max steps"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
82 help="Cutoff on the maximum number of steps in a pathways. 0 (default) for unlimited number of steps" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
83 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
84 name="maxpaths" type="integer" min="0" value="0" max="20" label="Max pathways"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
85 help="Cutoff on the maximum number of pathways. 0 (default) for unlimited number of pathways" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
86 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
87 name="unfold" type="boolean" checked="false" label="Unfold pathways"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
88 help="Unfold pathways based on equivalencie of compounds (can lead to combinatorial explosion)." />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
89 <repeat name="rep_include_path" title="Include path starting by">
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
90 <param name="cmp_id" type="text" label="Path label"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
91 help="List of compounds IDs to consider. If specified, only paths making use of at least one of these compounds as initial substrate (first step of a pathway) are kept.">
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
92 <validator type="empty_field" message="Not empty" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
93 </param>
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
94 </repeat>
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
95 <repeat name="rep_exclude_path" title="Include path starting by">
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
96 <param name="cmp_id" type="text" label="Path label"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
97 help="List of compounds IDs. If specifed, paths making use of one of these compounds as unique initial substrate will be filtered out">
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
98 <validator type="empty_field" message="Not empty" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
99 </param>
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
100 </repeat>
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
101 <param name="cmpfile" type="data" format="tabular"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
102 optional="True" label="List of compounds" help="File with name of compounds" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
103 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
104 name="target" type="text" value="TARGET_0000000001"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
105 label="Target compound internal ID"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
106 help="This internal ID specifies which compound should be considered as the targeted compound. The default behavior is to consider as the target the first compound used as a source compound in a first iteration of a metabolic exploration. Let this value as it is except if you know what you are doing" />
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
107 </section>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
108 </inputs>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
109 <outputs>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
110 <data name="master_pathways" format="csv"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
111 label="${tool.name} on ${rp2_pathways.name} : Enumerated Pathways" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
112 <data name="compounds" format="tabular"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
113 label="${tool.name} on ${rp2_pathways.name} : Compounds" />
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
114 </outputs>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
115 <tests>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
116 <test>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
117 <!-- test 1: check if identical outputs are produced with default parameters -->
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
118 <param name="rp2_pathways" value="retropath2_pathways.csv" />
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
119 <output name="master_pathways" file="rp2paths_pathways.csv" ftype="csv" compare="diff" />
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
120 <output name="compounds" file="rp2paths_compounds.tsv" ftype="tabular" compare="diff" />
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
121 </test>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
122 </tests>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
123 <help><![CDATA[
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
124 RP2paths
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
125 ========
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
126
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
127
5
bdde1d9dfaee planemo upload for repository https://github.com/brsynth/rp2paths commit 46a1a47f6df15ce1873cde96c84b11d8a4544413
tduigou
parents: 3
diff changeset
128 **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.
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
129
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
130
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
131 .. image:: ${static_path}/images/enumerated_pathways.png
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
132 :width: 40 %
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
133 :align: center
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
134
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
135 |
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
136
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
137 Output
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
138 ------
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
139
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
140 * **Enumerated Pathways**\ : Describes all the indiviudal enumerated pathways that produce the compound of interest.
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
141 * **Compounds**\ : Describes the structure of all the chemical species involved in all pathways as SMILES (Simplified Molecular-Input Line-Entry System).
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
142 ]]></help>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
143 <creator>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
144 <organization name="BioRetroSynth" url="https://github.com/brsynth" />
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
145 </creator>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
146 <citations>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
147 <citation type="doi">10.1016/j.ymben.2017.12.002</citation>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
148 </citations>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
149 </tool>