Mercurial > repos > metexplore > met4j
comparison tools/attributes/SetIds/SetIds.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_SetIds" name="SetIds" version="develop"> | 2 <tool id="met4j_SetIds" name="SetIds" version="2.0.0"> |
3 <description>Set new ids to network objects in a SBML file from a tabulated file containing the old ids and the new ids</description> | 3 <description>Set new ids to network objects in a SBML file from a tabulated file containing the old ids and the new ids</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.SetIds#if str($colname) != 'nan': | 10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh attributes.SetIds#if str($colname) != 'nan': |
11 -cnew "$colname" | 11 -cnew "$colname" |
12 #end if | 12 #end if |
13 #if str($colid): | 13 #if str($colid): |
60 <outputs> | 60 <outputs> |
61 <data format="sbml" name="out"/> | 61 <data format="sbml" name="out"/> |
62 </outputs> | 62 </outputs> |
63 <tests> | 63 <tests> |
64 <test> | 64 <test> |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 <param name="sbml" value="toy_model.xml"/> | 65 <param name="sbml" value="toy_model.xml"/> |
72 | |
73 | |
74 | |
75 | |
76 | |
77 | |
78 <param name="tab" value="idMetabolites.tsv"/> | 66 <param name="tab" value="idMetabolites.tsv"/> |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | |
85 <param name="o" value="METABOLITE"/> | 67 <param name="o" value="METABOLITE"/> |
86 | |
87 | |
88 | |
89 | |
90 | |
91 | |
92 <output ftype="sbml" name="out"> | 68 <output ftype="sbml" name="out"> |
93 | |
94 | |
95 | |
96 | |
97 | |
98 | |
99 <assert_contents> | 69 <assert_contents> |
100 | |
101 | |
102 | |
103 | |
104 | |
105 | |
106 <is_valid_xml/> | 70 <is_valid_xml/> |
107 | |
108 | |
109 | |
110 | |
111 | |
112 | |
113 <has_line_matching expression=".*id=.metaboliteA.*" n="1"/> | 71 <has_line_matching expression=".*id=.metaboliteA.*" n="1"/> |
114 | |
115 | |
116 | |
117 | |
118 | |
119 | |
120 <has_line_matching expression=".*id=.metaboliteB.*" n="1"/> | 72 <has_line_matching expression=".*id=.metaboliteB.*" n="1"/> |
121 | |
122 | |
123 | |
124 | |
125 | |
126 | |
127 </assert_contents> | 73 </assert_contents> |
128 | |
129 | |
130 | |
131 | |
132 | |
133 | |
134 </output> | 74 </output> |
135 | |
136 | |
137 | |
138 | |
139 | |
140 | |
141 </test> | 75 </test> |
142 <test> | 76 <test> |
143 | |
144 | |
145 | |
146 | |
147 | |
148 | |
149 <param name="sbml" value="toy_model.xml"/> | 77 <param name="sbml" value="toy_model.xml"/> |
150 | |
151 | |
152 | |
153 | |
154 | |
155 | |
156 <param name="tab" value="idReactions.tsv"/> | 78 <param name="tab" value="idReactions.tsv"/> |
157 | |
158 | |
159 | |
160 | |
161 | |
162 | |
163 <output ftype="sbml" name="out"> | 79 <output ftype="sbml" name="out"> |
164 | |
165 | |
166 | |
167 | |
168 | |
169 | |
170 <assert_contents> | 80 <assert_contents> |
171 | |
172 | |
173 | |
174 | |
175 | |
176 | |
177 <is_valid_xml/> | 81 <is_valid_xml/> |
178 | |
179 | |
180 | |
181 | |
182 | |
183 | |
184 <has_line_matching expression=".*id=.reaction1.*" n="1"/> | 82 <has_line_matching expression=".*id=.reaction1.*" n="1"/> |
185 | |
186 | |
187 | |
188 | |
189 | |
190 | |
191 <has_line_matching expression=".*id=.reaction2.*" n="1"/> | 83 <has_line_matching expression=".*id=.reaction2.*" n="1"/> |
192 | |
193 | |
194 | |
195 | |
196 | |
197 | |
198 </assert_contents> | 84 </assert_contents> |
199 | |
200 | |
201 | |
202 | |
203 | |
204 | |
205 </output> | 85 </output> |
206 | |
207 | |
208 | |
209 | |
210 | |
211 | |
212 </test> | 86 </test> |
213 <test> | 87 <test> |
214 | |
215 | |
216 | |
217 | |
218 | |
219 | |
220 <param name="sbml" value="XF_network.sbml"/> | 88 <param name="sbml" value="XF_network.sbml"/> |
221 | |
222 | |
223 | |
224 | |
225 | |
226 | |
227 <param name="tab" value="idPathways.tsv"/> | 89 <param name="tab" value="idPathways.tsv"/> |
228 | |
229 | |
230 | |
231 | |
232 | |
233 | |
234 <param name="o" value="PATHWAY"/> | 90 <param name="o" value="PATHWAY"/> |
235 | |
236 | |
237 | |
238 | |
239 | |
240 | |
241 <output ftype="sbml" name="out"> | 91 <output ftype="sbml" name="out"> |
242 | |
243 | |
244 | |
245 | |
246 | |
247 | |
248 <assert_contents> | 92 <assert_contents> |
249 | |
250 | |
251 | |
252 | |
253 | |
254 | |
255 <is_valid_xml/> | 93 <is_valid_xml/> |
256 | |
257 | |
258 | |
259 | |
260 | |
261 | |
262 <has_line_matching expression=".*groups:id=.CEB.*" n="1"/> | 94 <has_line_matching expression=".*groups:id=.CEB.*" n="1"/> |
263 | |
264 | |
265 | |
266 | |
267 | |
268 | |
269 <has_line_matching expression=".*groups:id=.NSP.*" n="1"/> | 95 <has_line_matching expression=".*groups:id=.NSP.*" n="1"/> |
270 | |
271 | |
272 | |
273 | |
274 | |
275 | |
276 </assert_contents> | 96 </assert_contents> |
277 | |
278 | |
279 | |
280 | |
281 | |
282 | |
283 </output> | 97 </output> |
284 | |
285 | |
286 | |
287 | |
288 | |
289 | |
290 </test> | 98 </test> |
291 <test> | 99 <test> |
292 | |
293 | |
294 | |
295 | |
296 | |
297 | |
298 <param name="sbml" value="XF_network.sbml"/> | 100 <param name="sbml" value="XF_network.sbml"/> |
299 | |
300 | |
301 | |
302 | |
303 | |
304 | |
305 <param name="tab" value="idGenes.tsv"/> | 101 <param name="tab" value="idGenes.tsv"/> |
306 | |
307 | |
308 | |
309 | |
310 | |
311 | |
312 <param name="o" value="GENE"/> | 102 <param name="o" value="GENE"/> |
313 | |
314 | |
315 | |
316 | |
317 | |
318 | |
319 <output ftype="sbml" name="out"> | 103 <output ftype="sbml" name="out"> |
320 | |
321 | |
322 | |
323 | |
324 | |
325 | |
326 <assert_contents> | 104 <assert_contents> |
327 | |
328 | |
329 | |
330 | |
331 | |
332 | |
333 <is_valid_xml/> | 105 <is_valid_xml/> |
334 | |
335 | |
336 | |
337 | |
338 | |
339 | |
340 <has_line_matching expression=".*fbc:id=.G1.*" n="1"/> | 106 <has_line_matching expression=".*fbc:id=.G1.*" n="1"/> |
341 | |
342 | |
343 | |
344 | |
345 | |
346 | |
347 <has_line_matching expression=".*fbc:id=.G2.*" n="1"/> | 107 <has_line_matching expression=".*fbc:id=.G2.*" n="1"/> |
348 | |
349 | |
350 | |
351 | |
352 | |
353 | |
354 </assert_contents> | 108 </assert_contents> |
355 | |
356 | |
357 | |
358 | |
359 | |
360 | |
361 </output> | 109 </output> |
362 | |
363 | |
364 | |
365 | |
366 | |
367 | |
368 </test> | 110 </test> |
369 <test> | 111 <test> |
370 | |
371 | |
372 | |
373 | |
374 | |
375 | |
376 <param name="sbml" value="XF_network.sbml"/> | 112 <param name="sbml" value="XF_network.sbml"/> |
377 | |
378 | |
379 | |
380 | |
381 | |
382 | |
383 <param name="tab" value="idCompartments.tsv"/> | 113 <param name="tab" value="idCompartments.tsv"/> |
384 | |
385 | |
386 | |
387 | |
388 | |
389 | |
390 <param name="o" value="COMPARTMENT"/> | 114 <param name="o" value="COMPARTMENT"/> |
391 | |
392 | |
393 | |
394 | |
395 | |
396 | |
397 <output ftype="sbml" name="out"> | 115 <output ftype="sbml" name="out"> |
398 | |
399 | |
400 | |
401 | |
402 | |
403 | |
404 <assert_contents> | 116 <assert_contents> |
405 | |
406 | |
407 | |
408 | |
409 | |
410 | |
411 <is_valid_xml/> | 117 <is_valid_xml/> |
412 | |
413 | |
414 | |
415 | |
416 | |
417 | |
418 <has_line_matching expression=".*id=.cytosol.*" n="1"/> | 118 <has_line_matching expression=".*id=.cytosol.*" n="1"/> |
419 | |
420 | |
421 | |
422 | |
423 | |
424 | |
425 <has_line_matching expression=".*id=.extra.*" n="1"/> | 119 <has_line_matching expression=".*id=.extra.*" n="1"/> |
426 | |
427 | |
428 | |
429 | |
430 | |
431 | |
432 </assert_contents> | 120 </assert_contents> |
433 | |
434 | |
435 | |
436 | |
437 | |
438 | |
439 </output> | 121 </output> |
440 | |
441 | |
442 | |
443 | |
444 | |
445 | |
446 </test> | 122 </test> |
447 </tests> | 123 </tests> |
448 <help><![CDATA[Set new ids to network objects in a SBML file from a tabulated file containing the old ids and the new ids | 124 <help><![CDATA[Set new ids to network objects in a SBML file from a tabulated file containing the old ids and the new ids |
449 The ids must correspond between the tabulated file and the SBML file. | 125 The ids must correspond between the tabulated file and the SBML file. |
450 If prefix or suffix is different in the SBML file, use the -p or the -s options. | 126 If prefix or suffix is different in the SBML file, use the -p or the -s options. |