view Sbml2PathwayNet.xml @ 4:77c00a6738b2 draft default tip

planemo upload for repository https://forge.inrae.fr/metexplore/met4j-galaxy commit c3527564d230b36ac1a196606c60c97a5b8ad9cf
author metexplore
date Mon, 02 Feb 2026 08:50:42 +0000
parents f106b329f1d9
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<tool id="met4j_Sbml2PathwayNet" name="Sbml2PathwayNet" version="@TOOL_VERSION@">
  <description>Creation of a Pathway Network representation of a SBML file content</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="bio_tools"/>
  <expand macro="requirements"/>
  <command detect_errors="exit_code"><![CDATA[met4j convert.Sbml2PathwayNet -i "$inputPath"
#if str($inputSide) != 'None':
 -sc "$inputSide"
#end if
 $removeIsolated
 $onlySourcesAndSinks
#if str($weightFile) != 'None':
 -cw "$weightFile"
#end if
 $connectors
#if str($format):
 -f "$format"
#end if
 -o "$outputPath"
]]></command>
  <inputs>
    <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
    <param argument="-sc" format="txt" label="input Side compound file (recommended)" name="inputSide" optional="true" type="data" value=""/>
    <param argument="-ri" checked="false" falsevalue="" label="remove isolated nodes" name="removeIsolated" truevalue="-ri" type="boolean" value="false"/>
    <param argument="-oss" checked="false" falsevalue="" label="consider only metabolites that are source or sink in the pathway (i.e non-intermediary compounds)" name="onlySourcesAndSinks" truevalue="-oss" type="boolean" value="false"/>
    <param argument="-cw" format="tsv" label="an optional file containing weights for pathway pairs" name="weightFile" optional="true" type="data" value=""/>
    <param argument="-ncw" checked="false" falsevalue="" label="set number of connecting compounds as weight" name="connectors" truevalue="-ncw" 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="outputPath"/>
  </outputs>
  <tests/>
  <help><![CDATA[Creation of a Pathway Network representation of a SBML file content
Genome-scale metabolic networks are often partitioned into metabolic pathways. Pathways are frequently considered independently despite frequent coupling in their activity due to shared metabolites. In order to decipher the interconnections linking overlapping pathways, this app proposes the creation of "Pathway Network", where two pathways are linked if they share compounds.
@ATTRIBUTION@]]></help>
  <citations/>
</tool>