comparison build/tools/SetEcNumbers/SetEcNumbers.xml @ 11:40c15b7467f1 draft default tip

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 61dbdbae896d18b519a470e056cb8b4f98394518
author metexplore
date Thu, 13 Feb 2025 15:08:22 +0000
parents 6a112eaf8f38
children
comparison
equal deleted inserted replaced
10:6a112eaf8f38 11:40c15b7467f1
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="2.0.0"> 2 <tool id="met4j_SetEcNumbers" name="SetEcNumbers" version="2.0.1">
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:2.0.0</container> 8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:2.0.1</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
51 <param name="sbml" value="toy_model.xml"/> 52 <param name="sbml" value="toy_model.xml"/>
53
52 <param name="tab" value="ec.tsv"/> 54 <param name="tab" value="ec.tsv"/>
55
53 <output ftype="sbml" name="out"> 56 <output ftype="sbml" name="out">
57
54 <assert_contents> 58 <assert_contents>
59
55 <is_valid_xml/> 60 <is_valid_xml/>
61
56 <has_line_matching expression=".*1.1.1.1.*" n="2"/> 62 <has_line_matching expression=".*1.1.1.1.*" n="2"/>
63
57 <has_line_matching expression=".*1.2.3.4.*" n="2"/> 64 <has_line_matching expression=".*1.2.3.4.*" n="2"/>
65
58 </assert_contents> 66 </assert_contents>
67
59 </output> 68 </output>
69
60 </test> 70 </test>
61 <test expect_failure="true"> 71 <test expect_failure="true">
72
62 <param name="sbml" value="toy_model.xml"/> 73 <param name="sbml" value="toy_model.xml"/>
74
63 <param name="tab" value="ecBad.tsv"/> 75 <param name="tab" value="ecBad.tsv"/>
76
64 </test> 77 </test>
65 </tests> 78 </tests>
66 <help><![CDATA[Set EC numbers to reactions in a SBML file from a tabulated file containing the reaction ids and the EC numbers 79 <help><![CDATA[Set EC numbers to reactions in a SBML file from a tabulated file containing the reaction ids and the EC numbers
67 The ids must correspond between the tabulated file and the SBML file. 80 The ids must correspond between the tabulated file and the SBML file.
68 If prefix R_ is present in the ids in the SBML file and not in the tabulated file, use the -p option. 81 If prefix R_ is present in the ids in the SBML file and not in the tabulated file, use the -p option.