comparison build/tools/GetEntities/GetEntities.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_GetEntities" name="GetEntities" version="develop">
3 <description>Parse a SBML file to return a list of entities composing the network: metabolites, reactions, genes and others.</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.GetEntities -i "$sbml"
11 $printMetabolites
12 $printReactions
13 $printCompartments
14 $printPathways
15 $printGenes
16 $noTypeCol
17 -o "$outputFile"
18 ]]></command>
19 <inputs>
20 <param argument="-i" format="sbml" label="Input SBML file" name="sbml" optional="false" type="data" value=""/>
21 <param argument="-m" checked="false" falsevalue="" label="Extract Metabolites" name="printMetabolites" truevalue="-m" type="boolean" value="false"/>
22 <param argument="-r" checked="false" falsevalue="" label="Extract Reactions" name="printReactions" truevalue="-r" type="boolean" value="false"/>
23 <param argument="-c" checked="false" falsevalue="" label="Extract Compartments" name="printCompartments" truevalue="-c" type="boolean" value="false"/>
24 <param argument="-p" checked="false" falsevalue="" label="Extract Pathways" name="printPathways" truevalue="-p" type="boolean" value="false"/>
25 <param argument="-g" checked="false" falsevalue="" label="Extract Genes" name="printGenes" truevalue="-g" type="boolean" value="false"/>
26 <param argument="-nt" checked="false" falsevalue="" label="Do not write type column" name="noTypeCol" truevalue="-nt" type="boolean" value="false"/>
27 </inputs>
28 <outputs>
29 <data format="tsv" name="outputFile"/>
30 </outputs>
31 <tests>
32 <test>
33
34
35
36
37
38
39 <param name="sbml" value="Human-GEM_pathways.xml"/>
40
41
42
43
44
45
46 <output ftype="tsv" name="outputFile">
47
48
49
50
51
52
53 <assert_contents>
54
55
56
57
58
59
60 <has_text_matching expression="GENE" n="86"/>
61
62
63
64
65
66
67 <has_text_matching expression="METABOLITE" n="111"/>
68
69
70
71
72
73
74 <has_text_matching expression="REACTION" n="75"/>
75
76
77
78
79
80
81 <has_text_matching expression="PATHWAY" n="3"/>
82
83
84
85
86
87
88 <has_text_matching expression="COMPARTMENT" n="5"/>
89
90
91
92
93
94
95 </assert_contents>
96
97
98
99
100
101
102 </output>
103
104
105
106
107
108
109 </test>
110 <test>
111
112
113
114
115
116
117 <param name="sbml" value="Human-GEM_pathways.xml"/>
118
119
120
121
122
123
124 <param name="printReactions" value="true"/>
125
126
127
128
129
130
131 <param name="printMetabolites" value="true"/>
132
133
134
135
136
137
138 <param name="printGenes" value="true"/>
139
140
141
142
143
144
145 <param name="printCompartments" value="true"/>
146
147
148
149
150
151
152 <param name="noTypeCol" value="true"/>
153
154
155
156
157
158
159 <output ftype="tsv" name="outputFile">
160
161
162
163
164
165
166 <assert_contents>
167
168
169
170
171
172
173 <has_n_lines n="277"/>
174
175
176
177
178
179
180 </assert_contents>
181
182
183
184
185
186
187 </output>
188
189
190
191
192
193
194 </test>
195 </tests>
196 <help><![CDATA[Parse a SBML file to return a list of entities composing the network: metabolites, reactions, genes and others.The output file is a tabulated file with two columns, one with entity identifiers, and one with the entity type. If no entity type is selected, all of them are returned by default. Only identifiers are written, attributes can be extracted from dedicated apps or from the Sbml2Tab app.]]></help>
197 <citations/>
198 </tool>