view build/tools/Sbml2PathwayNet/Sbml2PathwayNet.xml @ 10:6a112eaf8f38 draft

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 71071300dd662ad01bd064abcf6866a192eeea95
author metexplore
date Mon, 03 Feb 2025 15:59:46 +0000
parents 0976a6257300
children 40c15b7467f1
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<tool id="met4j_Sbml2PathwayNet" name="Sbml2PathwayNet" version="2.0.0">
  <description>Creation of a Pathway Network representation of a SBML file content</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>
  </requirements>
  <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh 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>
    </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.]]></help>
  <citations/>
</tool>