annotate rp2paths.xml @ 8:0ab78638059c draft default tip

planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
author tduigou
date Mon, 06 Oct 2025 09:56:09 +0000
parents f3843f6b7332
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
1 <tool id="rp2paths" name="RP2paths" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09"
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
2 license="MIT">
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
3 <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
4 <macros>
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
5 <token name="@VERSION_SUFFIX@">1</token>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
6 <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
7 </macros>
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 <requirement type="package" version="@TOOL_VERSION@">rp2paths</requirement>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
10 </requirements>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
11 <stdio>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
12 <regex match="TIMEOUT:" level="fatal" />
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
13 <regex match="ERROR:" level="fatal" />
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
14 <regex match="WARNING:" level="warning" />
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
15 </stdio>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
16 <command detect_errors="exit_code"><![CDATA[
2
550f1c02caba "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 1
diff changeset
17 mkdir out &&
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
18 python -m rp2paths --no-color all
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
19 '$rp2_pathways'
2
550f1c02caba "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 1
diff changeset
20 --outdir out
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
21 --timeout '$path_enum.timeout'
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
22 #if str($general.forward) == 'true'
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
23 --forward
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
24 #end if
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
25 #if $cofactor_removal.cofile
8
0ab78638059c planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 7
diff changeset
26 --cofile '$cofactor_removal.cofile'
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
27 #end if
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
28 #if str($scope.mindepth) == 'true'
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
29 --minDepth
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
30 #end if
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
31 #if $scope.sink
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
32 --customsinkfile '$scope.sink'
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
33 #end if
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
34 --maxsteps '$path_enum.maxsteps'
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
35 --maxpaths '$path_enum.maxpaths'
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
36 #if str($path_enum.unfold) == 'true'
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
37 --unfold_compounds
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
38 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
39 #set cmp_ids = []
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
40 #for $x in $path_enum.rep_include_path
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
41 #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
42 #end for
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
43 #if len(cmp_ids) > 0
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
44 #set cmp_id = ' '.join($cmp_ids)
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
45 --onlyPathsStartingBy $cmp_id
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
46 #end if
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
47 #set cmp_ids = []
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
48 #for $x in $path_enum.rep_exclude_path
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
49 #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
50 #end for
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
51 #if len(cmp_ids) > 0
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
52 #set cmp_id = ' '.join($cmp_ids)
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
53 --notPathsStartingBy $cmp_id
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
54 #end if
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
55 --target '$dev.target' &&
5
bdde1d9dfaee planemo upload for repository https://github.com/brsynth/rp2paths commit 46a1a47f6df15ce1873cde96c84b11d8a4544413
tduigou
parents: 3
diff changeset
56 mv out/compounds.txt out/compounds.tsv &&
bdde1d9dfaee planemo upload for repository https://github.com/brsynth/rp2paths commit 46a1a47f6df15ce1873cde96c84b11d8a4544413
tduigou
parents: 3
diff changeset
57 cp out/compounds.tsv '$compounds' &&
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
58 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
59 cp out/out_paths.csv '$master_pathways';
2
550f1c02caba "planemo upload commit f40274f6b9f6a15eb4022aab21286d4c96cd8475-dirty"
tduigou
parents: 1
diff changeset
60 fi
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
61 ]]></command>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
62 <inputs>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
63 <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
64 help="Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis." />
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
65 <section name="general" title="General" expanded="false">
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
66 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
67 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
68 help="Consider reactions in the forward direction" />
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
69 </section>
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
70 <section name="cofactor_removal" title="Cofactor removal" expanded="False">
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
71 <param name="cofile"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
72 type="data" format="csv" optional="True" label="List of cofactors" />
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
73 </section>
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
74 <section name="scope" title="Scope" expanded="False">
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
75 <param
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
76 name="mindepth" type="boolean" checked="false" label="Minimal Depth Scope Only"
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
77 help="Use minimal depth scope only, i.e. stop the scope computation as as soon an a first minimal path linking target to sink is found" />
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
78 <param
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
79 name="sink" type="data" format="tabular" optional="True"
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
80 label="List of custom sinks"
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
81 help="Listing compounds to consider as sink compounds. Sink compounds should be provided by their IDs, as used in the reaction.erxn file" />
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
82 </section>
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
83 <section name="path_enum" title="Pathways enumeration" expanded="false">
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
84 <param name="timeout" type="integer" value="1800" label="Time Out"
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
85 help="Time out before killing a process (in seconds), default: 30 minutes." />
6
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="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
88 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
89 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
90 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
91 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
92 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
93 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
94 help="Unfold pathways based on equivalencie of compounds (can lead to combinatorial explosion)." />
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
95 <repeat name="rep_include_path" title="Only include pathways starting by compounds.."
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
96 help="List of compounds IDs to consider. If specified, only pathways making use of at least one of these compounds as initial substrate (first step of a pathway) will be returned. Leave empty to keep all.">
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
97 <param name="cmp_id" type="text" label="Pathway label"
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
98 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
99 <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
100 </param>
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
101 </repeat>
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
102 <repeat name="rep_exclude_path" title="Exclude pathways starting by compounds.."
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
103 help="List of compounds IDs to exclude. If specifed, pathways making use of any of these compounds as unique initial substrate will be filtered out. Leave empty for no exclusion.">
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
104 <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
105 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
106 <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
107 </param>
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
108 </repeat>
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
109 </section>
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
110 <section name="dev" title="Dev" expanded="false">
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
111 <param
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
112 name="target" type="text" value="TARGET_0000000001"
7
f3843f6b7332 planemo upload for repository https://github.com/brsynth/rp2paths commit 317cbbd78126bdbffe626b327924953768c5a17f-dirty
tduigou
parents: 6
diff changeset
113 label="Target compound internal ID (Internal)"
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
114 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
115 </section>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
116 </inputs>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
117 <outputs>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
118 <data name="master_pathways" format="csv"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
119 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
120 <data name="compounds" format="tabular"
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
121 label="${tool.name} on ${rp2_pathways.name} : Compounds" />
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
122 </outputs>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
123 <tests>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
124 <test>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
125 <!-- test 1: check if identical outputs are produced with default parameters -->
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
126 <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
127 <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
128 <output name="compounds" file="rp2paths_compounds.tsv" ftype="tabular" compare="diff" />
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
129 </test>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
130 </tests>
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
131 <help><![CDATA[
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
132 RP2paths
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
133 ========
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
134
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
135
5
bdde1d9dfaee planemo upload for repository https://github.com/brsynth/rp2paths commit 46a1a47f6df15ce1873cde96c84b11d8a4544413
tduigou
parents: 3
diff changeset
136 **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
137
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
138
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
139 .. image:: ${static_path}/images/enumerated_pathways.png
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
140 :width: 40 %
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
141 :align: center
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
142
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
143 |
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
144
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
145 Output
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
146 ------
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
147
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
148 * **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
149 * **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
150 ]]></help>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
151 <creator>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
152 <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
153 </creator>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
154 <citations>
3
fb5a3bd084a8 planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
tduigou
parents: 2
diff changeset
155 <citation type="doi">10.1016/j.ymben.2017.12.002</citation>
1
2c788cd11881 "planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff changeset
156 </citations>
6
6b2ae398f4b0 planemo upload for repository https://github.com/brsynth/rp2paths commit 0718e1c463ce94ee76679ec10db8bc839a9a3199-dirty
tduigou
parents: 5
diff changeset
157 </tool>