Mercurial > repos > metexplore > met4j
diff build/tools/SetGprs/SetGprs.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 |
line wrap: on
line diff
--- a/build/tools/SetGprs/SetGprs.xml Mon Feb 03 15:59:46 2025 +0000 +++ b/build/tools/SetGprs/SetGprs.xml Thu Feb 13 15:08:22 2025 +0000 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<tool id="met4j_SetGprs" name="SetGprs" version="2.0.0"> +<tool id="met4j_SetGprs" name="SetGprs" version="2.0.1"> <description>Create a new SBML file from an original sbml file and a tabulated file containing reaction ids and Gene association written in a cobra way</description> <xrefs> <xref type="bio.tools">met4j</xref> </xrefs> <requirements> - <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:2.0.0</container> + <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:2.0.1</container> </requirements> <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh attributes.SetGprs#if str($colgpr) != 'nan': -cgpr "$colgpr" @@ -48,22 +48,39 @@ </outputs> <tests> <test> + <param name="sbml" value="toy_model.xml"/> + <param name="tab" value="gpr.tsv"/> + <output ftype="sbml" name="out"> + <assert_contents> + <is_valid_xml/> + <has_line_matching expression=".*fbc:id=.G1.*" n="1"/> + <has_line_matching expression=".*fbc:id=.G2.*" n="1"/> + <has_line_matching expression=".*fbc:id=.G3.*" n="1"/> + <has_line_matching expression=".*fbc:id=.G4.*" n="1"/> + <has_line_matching expression=".*fbc:geneProductRef fbc:geneProduct=.G1.*" n="1"/> + <has_line_matching expression=".*fbc:geneProductRef fbc:geneProduct=.G2.*" n="1"/> + <has_line_matching expression=".*fbc:geneProductRef fbc:geneProduct=.G3.*" n="1"/> + <has_line_matching expression=".*fbc:geneProductRef fbc:geneProduct=.G4.*" n="1"/> + <has_line_matching expression=".*fbc:and.*" n="2"/> + </assert_contents> + </output> + </test> </tests> <help><![CDATA[Create a new SBML file from an original sbml file and a tabulated file containing reaction ids and Gene association written in a cobra way