view Sbml2Graph.xml @ 3:c17685061077 draft default tip

planemo upload for repository https://forge.inrae.fr/metexplore/met4j-galaxy commit e757d0398a8407d983f1ef3f900b31cafc26e170
author metexplore
date Wed, 21 Jan 2026 15:31:41 +0000
parents a06c047410ac
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<tool id="met4j_Sbml2Graph" name="Sbml2Graph" version="@TOOL_VERSION@">
  <description>Create a graph representation of a SBML file content, and export it in graph file format.</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="bio_tools"/>
  <expand macro="requirements"/>
  <command detect_errors="exit_code"><![CDATA[met4j convert.Sbml2Graph -i "$inputPath"
 $bipartite
 $compound
 $reaction
#if str($format):
 -f "$format"
#end if
 -o "$output"
]]></command>
  <inputs>
    <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
    <param argument="-b" checked="false" falsevalue="" label="create bipartite graph" name="bipartite" truevalue="-b" type="boolean" value="false"/>
    <param argument="-c" checked="true" falsevalue="" label="create compound graph" name="compound" truevalue="-c" type="boolean" value="true"/>
    <param argument="-r" checked="false" falsevalue="" label="create reaction graph" name="reaction" truevalue="-r" type="boolean" value="false"/>
    <param argument="-f" label="Format of the exported graphTabulated edge list by default (source id &#9; edge type &#9; target id). Other options include GML, JsonGraph, and tabulated node list (label &#9; node id &#9; node type)." name="format" optional="true" type="select" value="tab">
      <option value="gml">gml</option>
      <option selected="true" value="tab">tab</option>
      <option value="nodeList">nodeList</option>
      <option value="json">json</option>
      <option value="matrix">matrix</option>
      <option value="jsonviz">jsonviz</option>
    </param>
  </inputs>
  <outputs>
    <data format="txt" name="output"/>
  </outputs>
  <tests/>
  <help><![CDATA[Create a graph representation of a SBML file content, and export it in graph file format.
The graph can be either a compound graph, a reaction graph or a bipartite graph, and can be exported in gml or tabulated file format.
@ATTRIBUTION@]]></help>
  <citations>
    <citation type="doi">10.1109/tcbb.2008.79</citation>
  </citations>
</tool>