comparison build/tools/SetEcNumbers/SetEcNumbers.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_SetEcNumbers" name="SetEcNumbers" version="develop"> 2 <tool id="met4j_SetEcNumbers" name="SetEcNumbers" version="2.0.0">
3 <description>Set EC numbers to reactions in a SBML file from a tabulated file containing the reaction ids and the EC numbers</description> 3 <description>Set EC numbers to reactions in a SBML file from a tabulated file containing the reaction ids and the EC numbers</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.SetEcNumbers#if str($colec) != 'nan': 10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh attributes.SetEcNumbers#if str($colec) != 'nan':
11 -cec "$colec" 11 -cec "$colec"
12 #end if 12 #end if
13 #if str($colid) != 'nan': 13 #if str($colid) != 'nan':
46 <outputs> 46 <outputs>
47 <data format="sbml" name="out"/> 47 <data format="sbml" name="out"/>
48 </outputs> 48 </outputs>
49 <tests> 49 <tests>
50 <test> 50 <test>
51
52
53
54
55
56
57 <param name="sbml" value="toy_model.xml"/> 51 <param name="sbml" value="toy_model.xml"/>
58
59
60
61
62
63
64 <param name="tab" value="ec.tsv"/> 52 <param name="tab" value="ec.tsv"/>
65
66
67
68
69
70
71 <output ftype="sbml" name="out"> 53 <output ftype="sbml" name="out">
72
73
74
75
76
77
78 <assert_contents> 54 <assert_contents>
79
80
81
82
83
84
85 <is_valid_xml/> 55 <is_valid_xml/>
86
87
88
89
90
91
92 <has_line_matching expression=".*1.1.1.1.*" n="2"/> 56 <has_line_matching expression=".*1.1.1.1.*" n="2"/>
93
94
95
96
97
98
99 <has_line_matching expression=".*1.2.3.4.*" n="2"/> 57 <has_line_matching expression=".*1.2.3.4.*" n="2"/>
100
101
102
103
104
105
106 </assert_contents> 58 </assert_contents>
107
108
109
110
111
112
113 </output> 59 </output>
114
115
116
117
118
119
120 </test> 60 </test>
121 <test expect_failure="true"> 61 <test expect_failure="true">
122
123
124
125
126
127
128 <param name="sbml" value="toy_model.xml"/> 62 <param name="sbml" value="toy_model.xml"/>
129
130
131
132
133
134
135 <param name="tab" value="ecBad.tsv"/> 63 <param name="tab" value="ecBad.tsv"/>
136
137
138
139
140
141
142 </test> 64 </test>
143 </tests> 65 </tests>
144 <help><![CDATA[Set EC numbers to reactions in a SBML file from a tabulated file containing the reaction ids and the EC numbers 66 <help><![CDATA[Set EC numbers to reactions in a SBML file from a tabulated file containing the reaction ids and the EC numbers
145 The ids must correspond between the tabulated file and the SBML file. 67 The ids must correspond between the tabulated file and the SBML file.
146 If prefix R_ is present in the ids in the SBML file and not in the tabulated file, use the -p option. 68 If prefix R_ is present in the ids in the SBML file and not in the tabulated file, use the -p option.