diff build/tools/FbcToNotes/FbcToNotes.xml @ 6:7a6f2380fc1d draft

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
author metexplore
date Wed, 17 May 2023 13:26:37 +0000
parents
children 1436e9cde9c9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build/tools/FbcToNotes/FbcToNotes.xml	Wed May 17 13:26:37 2023 +0000
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tool id="met4j_FbcToNotes" name="FbcToNotes" version="1.3.0">
+  <description>Convert FBC package annotations to sbml notes</description>
+  <xrefs>
+    <xref type="bio.tools">met4j</xref>
+  </xrefs>
+  <requirements>
+    <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.3.0</container>
+  </requirements>
+  <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh convert.FbcToNotes -i "$inputPath"
+ -o "$outputPath"
+]]></command>
+  <inputs>
+    <param argument="-i" format="sbml" label="input file" name="inputPath" optional="false" type="data" value=""/>
+  </inputs>
+  <outputs>
+    <data format="sbml" name="outputPath"/>
+  </outputs>
+  <tests>
+    <test>
+      <param name="inputPath" value="ECOL.xml"/>
+      <output ftype="sbml" name="outputPath">
+        <assert_contents>
+          <is_valid_xml/>
+          <has_line_matching expression=".*GENE_ASSOCIATION: b2312.*" n="1"/>
+        </assert_contents>
+      </output>
+    </test>
+  </tests>
+  <help><![CDATA[Convert FBC package annotations to sbml notes]]></help>
+  <citations/>
+</tool>