comparison tools/convert/SbmlWizard/SbmlWizard.xml @ 9:0976a6257300 draft

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 05db35f63cadb9d56dafff594a3507c59cd85273
author metexplore
date Fri, 31 Jan 2025 18:28:53 +0000
parents
children 6a112eaf8f38
comparison
equal deleted inserted replaced
8:1274e2a62479 9:0976a6257300
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <tool id="met4j_SbmlWizard" name="SbmlWizard" version="develop">
3 <description>General SBML model processing</description>
4 <xrefs>
5 <xref type="bio.tools">met4j</xref>
6 </xrefs>
7 <requirements>
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:develop</container>
9 </requirements>
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh convert.SbmlWizard -i "$inputPath"
11 #if str($inputSide) != 'None':
12 -rc "$inputSide"
13 #end if
14 #if str($toKeepC) != 'None':
15 -kc "$toKeepC"
16 #end if
17 $removeIsolated
18 #if str($inputReactions) != 'None':
19 -rr "$inputReactions"
20 #end if
21 #if str($toKeepR) != 'None':
22 -kr "$toKeepR"
23 #end if
24 $removeNoFlux
25 #if str($mergingStrat):
26 -mc "$mergingStrat"
27 #end if
28 $removeDuplicated
29 #if str($exchangeCompToRemove):
30 -rEX "$exchangeCompToRemove"
31 #end if
32 -o "$outputPath"
33 ]]></command>
34 <inputs>
35 <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
36 <param argument="-rc" format="txt" label="file containing identifiers of compounds to remove from the metabolic network" name="inputSide" optional="true" type="data" value=""/>
37 <param argument="-kc" format="txt" label="file containing identifiers of compounds to keep from the metabolic network" name="toKeepC" optional="true" type="data" value=""/>
38 <param argument="-ric" checked="false" falsevalue="" label="remove isolated compounds (not involved in any reaction)" name="removeIsolated" truevalue="-ric" type="boolean" value="false"/>
39 <param argument="-rr" format="txt" label="file containing identifiers of reactions to remove from the metabolic network" name="inputReactions" optional="true" type="data" value=""/>
40 <param argument="-kr" format="txt" label="file containing identifiers of reactions to keep from the metabolic network" name="toKeepR" optional="true" type="data" value=""/>
41 <param argument="-r0" checked="false" falsevalue="" label="remove reactions with lower and upper flux bounds both set to 0.0" name="removeNoFlux" truevalue="-r0" type="boolean" value="false"/>
42 <param argument="-mc" label="merge compartments using the provided strategy. No merge by default. &quot;by_name&quot; can be used if names are consistent and unambiguous across compartments, &quot;by_id&quot; can be used if compartment suffix is present in compounds identifiers (id in form &quot;xxx_y&quot; with xxx as base identifier and y as compartment label)." name="mergingStrat" optional="true" type="select" value="no">
43 <option selected="true" value="no">no</option>
44 <option value="by_name">by_name</option>
45 <option value="by_id">by_id</option>
46 </param>
47 <param argument="-rdr" checked="false" falsevalue="" label="remove duplicated reactions (same reactants, same GPR)" name="removeDuplicated" truevalue="-rdr" type="boolean" value="false"/>
48 <param argument="-rEX" label="remove exchange reactions and species from given exchange compartment identifier" name="exchangeCompToRemove" optional="true" type="text" value="">
49 <sanitizer invalid_char="_">
50 <valid initial="string.printable"/>
51 </sanitizer>
52 </param>
53 </inputs>
54 <outputs>
55 <data format="sbml" name="outputPath"/>
56 </outputs>
57 <tests>
58 <test>
59
60
61
62
63
64
65 <param name="inputPath" value="Human-GEM_pathways.xml"/>
66
67
68
69
70
71
72 <param name="removeIsolated" value="true"/>
73
74
75
76
77
78
79 <param name="removeNoFlux" value="true"/>
80
81
82
83
84
85
86 <param name="mergingStrat" value="by_id"/>
87
88
89
90
91
92
93 <param name="removeDuplicated" value="true"/>
94
95
96
97
98
99
100 <param name="exchangeCompToRemove" value="s"/>
101
102
103
104
105
106
107 <output ftype="sbml" name="outputPath">
108
109
110
111
112
113
114 <assert_contents>
115
116
117
118
119
120
121 <has_text text="&lt;/sbml&gt;"/>
122
123
124
125
126
127
128 </assert_contents>
129
130
131
132
133
134
135 </output>
136
137
138
139
140
141
142 </test>
143 <test>
144
145
146
147
148
149
150 <param name="inputPath" value="XF_network.sbml"/>
151
152
153
154
155
156
157 <param name="removeIsolated" value="true"/>
158
159
160
161
162
163
164 <param name="removeNoFlux" value="true"/>
165
166
167
168
169
170
171 <param name="removeDuplicated" value="true"/>
172
173
174
175
176
177
178 <param name="inputSide" value="XF_network_C_Side.tab"/>
179
180
181
182
183
184
185 <param name="inputReactions" value="XF_network_R_Seed.tab"/>
186
187
188
189
190
191
192 <output ftype="sbml" name="outputPath">
193
194
195
196
197
198
199 <assert_contents>
200
201
202
203
204
205
206 <has_text text="&lt;/sbml&gt;"/>
207
208
209
210
211
212
213 </assert_contents>
214
215
216
217
218
219
220 </output>
221
222
223
224
225
226
227 </test>
228 </tests>
229 <help><![CDATA[General SBML model processing including compound removal (such as side compounds or isolated compounds), reaction removal (ex. blocked or exchange reaction), and compartment merging]]></help>
230 <citations/>
231 </tool>