Mercurial > repos > metexplore > met4j
comparison build/tools/SetCharges/SetCharges.xml @ 10:6a112eaf8f38 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 71071300dd662ad01bd064abcf6866a192eeea95
author | metexplore |
---|---|
date | Mon, 03 Feb 2025 15:59:46 +0000 |
parents | 0976a6257300 |
children | 40c15b7467f1 |
comparison
equal
deleted
inserted
replaced
9:0976a6257300 | 10:6a112eaf8f38 |
---|---|
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 <tool id="met4j_SetCharges" name="SetCharges" version="develop"> | 2 <tool id="met4j_SetCharges" name="SetCharges" version="2.0.0"> |
3 <description>Set charge to metabolites in a SBML file from a tabulated file containing the metabolite ids and the charges</description> | 3 <description>Set charge to metabolites in a SBML file from a tabulated file containing the metabolite ids and the charges</description> |
4 <xrefs> | 4 <xrefs> |
5 <xref type="bio.tools">met4j</xref> | 5 <xref type="bio.tools">met4j</xref> |
6 </xrefs> | 6 </xrefs> |
7 <requirements> | 7 <requirements> |
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:develop</container> | 8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:2.0.0</container> |
9 </requirements> | 9 </requirements> |
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh attributes.SetCharges#if str($colcharge) != 'nan': | 10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh attributes.SetCharges#if str($colcharge) != 'nan': |
11 -cc "$colcharge" | 11 -cc "$colcharge" |
12 #end if | 12 #end if |
13 #if str($colid) != 'nan': | 13 #if str($colid) != 'nan': |
48 <outputs> | 48 <outputs> |
49 <data format="sbml" name="out"/> | 49 <data format="sbml" name="out"/> |
50 </outputs> | 50 </outputs> |
51 <tests> | 51 <tests> |
52 <test> | 52 <test> |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 <param name="sbml" value="toy_model.xml"/> | 53 <param name="sbml" value="toy_model.xml"/> |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 <param name="tab" value="charges.tsv"/> | 54 <param name="tab" value="charges.tsv"/> |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 <output ftype="sbml" name="out"> | 55 <output ftype="sbml" name="out"> |
74 | |
75 | |
76 | |
77 | |
78 | |
79 | |
80 <assert_contents> | 56 <assert_contents> |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | |
87 <is_valid_xml/> | 57 <is_valid_xml/> |
88 | |
89 | |
90 | |
91 | |
92 | |
93 | |
94 <has_line_matching expression=".*fbc:charge=.2.*" n="1"/> | 58 <has_line_matching expression=".*fbc:charge=.2.*" n="1"/> |
95 | |
96 | |
97 | |
98 | |
99 | |
100 | |
101 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> | 59 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | |
108 </assert_contents> | 60 </assert_contents> |
109 | |
110 | |
111 | |
112 | |
113 | |
114 | |
115 </output> | 61 </output> |
116 | |
117 | |
118 | |
119 | |
120 | |
121 | |
122 </test> | 62 </test> |
123 <test> | 63 <test> |
124 | |
125 | |
126 | |
127 | |
128 | |
129 | |
130 <param name="sbml" value="toy_model.xml"/> | 64 <param name="sbml" value="toy_model.xml"/> |
131 | |
132 | |
133 | |
134 | |
135 | |
136 | |
137 <param name="tab" value="chargesWithComment.tsv"/> | 65 <param name="tab" value="chargesWithComment.tsv"/> |
138 | |
139 | |
140 | |
141 | |
142 | |
143 | |
144 <output ftype="sbml" name="out"> | 66 <output ftype="sbml" name="out"> |
145 | |
146 | |
147 | |
148 | |
149 | |
150 | |
151 <assert_contents> | 67 <assert_contents> |
152 | |
153 | |
154 | |
155 | |
156 | |
157 | |
158 <is_valid_xml/> | 68 <is_valid_xml/> |
159 | |
160 | |
161 | |
162 | |
163 | |
164 | |
165 <has_line_matching expression=".*fbc:charge=.2.*" n="1" negate="true"/> | 69 <has_line_matching expression=".*fbc:charge=.2.*" n="1" negate="true"/> |
166 | |
167 | |
168 | |
169 | |
170 | |
171 | |
172 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> | 70 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> |
173 | |
174 | |
175 | |
176 | |
177 | |
178 | |
179 </assert_contents> | 71 </assert_contents> |
180 | |
181 | |
182 | |
183 | |
184 | |
185 | |
186 </output> | 72 </output> |
187 | |
188 | |
189 | |
190 | |
191 | |
192 | |
193 </test> | 73 </test> |
194 <test> | 74 <test> |
195 | |
196 | |
197 | |
198 | |
199 | |
200 | |
201 <param name="sbml" value="toy_model.xml"/> | 75 <param name="sbml" value="toy_model.xml"/> |
202 | |
203 | |
204 | |
205 | |
206 | |
207 | |
208 <param name="tab" value="charges.tsv"/> | 76 <param name="tab" value="charges.tsv"/> |
209 | |
210 | |
211 | |
212 | |
213 | |
214 | |
215 <param name="nSkip" value="1"/> | 77 <param name="nSkip" value="1"/> |
216 | |
217 | |
218 | |
219 | |
220 | |
221 | |
222 <output ftype="sbml" name="out"> | 78 <output ftype="sbml" name="out"> |
223 | |
224 | |
225 | |
226 | |
227 | |
228 | |
229 <assert_contents> | 79 <assert_contents> |
230 | |
231 | |
232 | |
233 | |
234 | |
235 | |
236 <is_valid_xml/> | 80 <is_valid_xml/> |
237 | |
238 | |
239 | |
240 | |
241 | |
242 | |
243 <has_line_matching expression=".*fbc:charge=.2.*" n="1" negate="true"/> | 81 <has_line_matching expression=".*fbc:charge=.2.*" n="1" negate="true"/> |
244 | |
245 | |
246 | |
247 | |
248 | |
249 | |
250 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> | 82 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> |
251 | |
252 | |
253 | |
254 | |
255 | |
256 | |
257 </assert_contents> | 83 </assert_contents> |
258 | |
259 | |
260 | |
261 | |
262 | |
263 | |
264 </output> | 84 </output> |
265 | |
266 | |
267 | |
268 | |
269 | |
270 | |
271 </test> | 85 </test> |
272 <test> | 86 <test> |
273 | |
274 | |
275 | |
276 | |
277 | |
278 | |
279 <param name="sbml" value="toy_model.xml"/> | 87 <param name="sbml" value="toy_model.xml"/> |
280 | |
281 | |
282 | |
283 | |
284 | |
285 | |
286 <param name="tab" value="charges.tsv"/> | 88 <param name="tab" value="charges.tsv"/> |
287 | |
288 | |
289 | |
290 | |
291 | |
292 | |
293 <param name="ci" value="2"/> | 89 <param name="ci" value="2"/> |
294 | |
295 | |
296 | |
297 | |
298 | |
299 | |
300 <param name="cc" value="3"/> | 90 <param name="cc" value="3"/> |
301 | |
302 | |
303 | |
304 | |
305 | |
306 | |
307 <output ftype="sbml" name="out"> | 91 <output ftype="sbml" name="out"> |
308 | |
309 | |
310 | |
311 | |
312 | |
313 | |
314 <assert_contents> | 92 <assert_contents> |
315 | |
316 | |
317 | |
318 | |
319 | |
320 | |
321 <is_valid_xml/> | 93 <is_valid_xml/> |
322 | |
323 | |
324 | |
325 | |
326 | |
327 | |
328 <has_line_matching expression=".*fbc:charge=.2.*" n="1"/> | 94 <has_line_matching expression=".*fbc:charge=.2.*" n="1"/> |
329 | |
330 | |
331 | |
332 | |
333 | |
334 | |
335 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> | 95 <has_line_matching expression=".*fbc:charge=.-3.*" n="1"/> |
336 | |
337 | |
338 | |
339 | |
340 | |
341 | |
342 </assert_contents> | 96 </assert_contents> |
343 | |
344 | |
345 | |
346 | |
347 | |
348 | |
349 </output> | 97 </output> |
350 | |
351 | |
352 | |
353 | |
354 | |
355 | |
356 </test> | 98 </test> |
357 <test> | 99 <test> |
358 | |
359 | |
360 | |
361 | |
362 | |
363 | |
364 <param name="sbml" value="XF_network.sbml"/> | 100 <param name="sbml" value="XF_network.sbml"/> |
365 | |
366 | |
367 | |
368 | |
369 | |
370 | |
371 <param name="tab" value="chargesXF.tsv"/> | 101 <param name="tab" value="chargesXF.tsv"/> |
372 | |
373 | |
374 | |
375 | |
376 | |
377 | |
378 <param name="p" value="true"/> | 102 <param name="p" value="true"/> |
379 | |
380 | |
381 | |
382 | |
383 | |
384 | |
385 <param name="s" value="true"/> | 103 <param name="s" value="true"/> |
386 | |
387 | |
388 | |
389 | |
390 | |
391 | |
392 <output ftype="sbml" name="out"> | 104 <output ftype="sbml" name="out"> |
393 | |
394 | |
395 | |
396 | |
397 | |
398 | |
399 <assert_contents> | 105 <assert_contents> |
400 | |
401 | |
402 | |
403 | |
404 | |
405 | |
406 <is_valid_xml/> | 106 <is_valid_xml/> |
407 | |
408 | |
409 | |
410 | |
411 | |
412 | |
413 <has_line_matching expression=".*fbc:charge=.-1000.*" n="3"/> | 107 <has_line_matching expression=".*fbc:charge=.-1000.*" n="3"/> |
414 | |
415 | |
416 | |
417 | |
418 | |
419 | |
420 </assert_contents> | 108 </assert_contents> |
421 | |
422 | |
423 | |
424 | |
425 | |
426 | |
427 </output> | 109 </output> |
428 | |
429 | |
430 | |
431 | |
432 | |
433 | |
434 </test> | 110 </test> |
435 </tests> | 111 </tests> |
436 <help><![CDATA[Set charge to metabolites in a SBML file from a tabulated file containing the metabolite ids and the charges | 112 <help><![CDATA[Set charge to metabolites in a SBML file from a tabulated file containing the metabolite ids and the charges |
437 The charge must be a number. The ids must correspond between the tabulated file and the SBML file. | 113 The charge must be a number. The ids must correspond between the tabulated file and the SBML file. |
438 If prefix or suffix is different in the SBML file, use the -p or the -s options. | 114 If prefix or suffix is different in the SBML file, use the -p or the -s options. |