comparison build/tools/ExtractAnnotations/ExtractAnnotations.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_ExtractAnnotations" name="ExtractAnnotations" version="develop">
3 <description>Extract databases' references from SBML annotations or notes.</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 attributes.ExtractAnnotations -i "$inputPath"
11 -export "$export"
12 -db "$db"
13 $uniq
14 $skip
15 -o "$outputPath"
16 ]]></command>
17 <inputs>
18 <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
19 <param argument="-export" label="the type of entity to extract annotation, either metabolite, reaction, or gene" name="export" optional="false" type="select" value="METABOLITE">
20 <option selected="true" value="METABOLITE">METABOLITE</option>
21 <option value="REACTION">REACTION</option>
22 <option value="GENE">GENE</option>
23 </param>
24 <param argument="-db" label="name of the referenced database to export annotations from, as listed in notes or identifiers.org base uri" name="db" optional="false" type="text" value="">
25 <sanitizer invalid_char="_">
26 <valid initial="string.printable"/>
27 </sanitizer>
28 </param>
29 <param argument="-uniq" checked="false" falsevalue="" label="keep only one identifier if multiple are referenced for the same entity" name="uniq" truevalue="-uniq" type="boolean" value="false"/>
30 <param argument="-skip" checked="false" falsevalue="" label="Skip entities without the selected annotations, by default output them with NA value" name="skip" truevalue="-skip" type="boolean" value="false"/>
31 </inputs>
32 <outputs>
33 <data format="tsv" name="outputPath"/>
34 </outputs>
35 <tests>
36 <test>
37
38
39
40
41
42
43 <param name="inputPath" value="Human-GEM_pathways.xml"/>
44
45
46
47
48
49
50 <param name="export" value="METABOLITE"/>
51
52
53
54
55
56
57 <param name="db" value="metanetx.chemical"/>
58
59
60
61
62
63
64 <output ftype="tsv" name="outputPath">
65
66
67
68
69
70
71 <assert_contents>
72
73
74
75
76
77
78 <has_n_lines n="146"/>
79
80
81
82
83
84
85 <has_n_columns n="2"/>
86
87
88
89
90
91
92 </assert_contents>
93
94
95
96
97
98
99 </output>
100
101
102
103
104
105
106 </test>
107 <test>
108
109
110
111
112
113
114 <param name="inputPath" value="Human-GEM_pathways.xml"/>
115
116
117
118
119
120
121 <param name="export" value="METABOLITE"/>
122
123
124
125
126
127
128 <param name="db" value="metanetx.chemical"/>
129
130
131
132
133
134
135 <param name="skip" value="true"/>
136
137
138
139
140
141
142 <output ftype="tsv" name="outputPath">
143
144
145
146
147
148
149 <assert_contents>
150
151
152
153
154
155
156 <has_n_lines n="145"/>
157
158
159
160
161
162
163 <has_n_columns n="2"/>
164
165
166
167
168
169
170 </assert_contents>
171
172
173
174
175
176
177 </output>
178
179
180
181
182
183
184 </test>
185 <test>
186
187
188
189
190
191
192 <param name="inputPath" value="Human-GEM_pathways.xml"/>
193
194
195
196
197
198
199 <param name="export" value="METABOLITE"/>
200
201
202
203
204
205
206 <param name="db" value="metanetx.chemical"/>
207
208
209
210
211
212
213 <param name="skip" value="true"/>
214
215
216
217
218
219
220 <param name="uniq" value="true"/>
221
222
223
224
225
226
227 <output ftype="tsv" name="outputPath">
228
229
230
231
232
233
234 <assert_contents>
235
236
237
238
239
240
241 <has_n_lines n="111"/>
242
243
244
245
246
247
248 <has_n_columns n="2"/>
249
250
251
252
253
254
255 </assert_contents>
256
257
258
259
260
261
262 </output>
263
264
265
266
267
268
269 </test>
270 </tests>
271 <help><![CDATA[Extract databases' references from SBML annotations or notes. The references are exported as a tabulated file with one column with the SBML compound, reaction or gene identifiers, and one column with the corresponding database identifier.The name of the targeted database need to be provided under the same form than the one used in the notes field or the identifiers.org uri.]]></help>
272 <citations/>
273 </tool>