view GetReactantsFromReactions.xml @ 4:2cf508427e7e draft default tip

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

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<tool id="met4j_GetReactantsFromReactions" name="GetReactantsFromReactions" version="@TOOL_VERSION@">
  <description>Get reactant lists from a list of reactions and a SBML file.</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="bio_tools"/>
  <expand macro="requirements"/>
  <command detect_errors="exit_code"><![CDATA[met4j attributes.GetReactantsFromReactions -i "$sbml"
 -r "$reactionFile"
#if str($sep):
 -sep "$sep"
#end if
 $hasHeader
#if str($i) != 'nan':
 -col "$i"
#end if
 $printSubstrates
 $printProducts
 -o "$outputFile"
]]></command>
  <inputs>
    <param argument="-i" format="sbml" label="Input SBML file" name="sbml" optional="false" type="data" value=""/>
    <param argument="-r" format="tsv" label="Input Reaction file" name="reactionFile" optional="false" type="data" value=""/>
    <param argument="-sep" label="Separator in reaction file" name="sep" optional="true" type="text" value="&#9;">
      <sanitizer invalid_char="_">
        <valid initial="string.printable"/>
      </sanitizer>
    </param>
    <param argument="-header" checked="false" falsevalue="" label="Skip reaction file header" name="hasHeader" truevalue="-header" type="boolean" value="false"/>
    <param argument="-col" label="Column number in reaction file (first as 1)" name="i" optional="true" type="integer" value="1"/>
    <param argument="-s" checked="false" falsevalue="" label="Extract substrates only" name="printSubstrates" truevalue="-s" type="boolean" value="false"/>
    <param argument="-p" checked="false" falsevalue="" label="Extract products only" name="printProducts" truevalue="-p" type="boolean" value="false"/>
  </inputs>
  <outputs>
    <data format="tsv" name="outputFile"/>
  </outputs>
  <tests/>
  <help><![CDATA[Get reactant lists from a list of reactions and a Sbml file. Output a tab-separated file with one row per reactant, reaction identifiers in first column, reactant identifiers in second column. It can provides substrates, products, or both (by default). In the case of reversible reactions, all reactants are considered as both substrates and products
@ATTRIBUTION@]]></help>
  <citations/>
</tool>