Mercurial > repos > metexplore > met4j
diff build/tools/SeedsAndTargets/SeedsAndTargets.xml @ 9:0976a6257300 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 05db35f63cadb9d56dafff594a3507c59cd85273
author | metexplore |
---|---|
date | Fri, 31 Jan 2025 18:28:53 +0000 |
parents | 1274e2a62479 |
children | 6a112eaf8f38 |
line wrap: on
line diff
--- a/build/tools/SeedsAndTargets/SeedsAndTargets.xml Wed Jul 26 15:33:45 2023 +0000 +++ b/build/tools/SeedsAndTargets/SeedsAndTargets.xml Fri Jan 31 18:28:53 2025 +0000 @@ -1,11 +1,11 @@ -<?xml version="1.0" encoding="UTF-8"?> -<tool id="met4j_SeedsAndTargets" name="SeedsAndTargets" version="1.5.0"> - <description>Identify exogenously acquired compounds, producible compounds exogenously available and/or dead ends metabolites from metabolic network topology</description> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<tool id="met4j_SeedsAndTargets" name="SeedsAndTargets" version="develop"> + <description>Identify exogenously acquired compounds, exogenously available producible compounds and/or dead ends metabolites from metabolic network topology</description> <xrefs> <xref type="bio.tools">met4j</xref> </xrefs> <requirements> - <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.5.0</container> + <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:develop</container> </requirements> <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.SeedsAndTargets -i "$inputPath" #if str($inputSide) != 'None': @@ -25,18 +25,18 @@ ]]></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" name="inputSide" optional="true" type="data" value=""/> - <param argument="-c" label="Selected compartment(s), as model identifiers, separated by "+" sign if more than one" name="comp" optional="true" type="text" value=""> + <param argument="-sc" format="txt" label="input side compound file" name="inputSide" optional="true" type="data" value=""/> + <param argument="-c" label="selected compartment(s), as model identifiers, separated by "+" sign if more than one" name="comp" optional="true" type="text" value=""> <sanitizer invalid_char="_"> <valid initial="string.printable"/> </sanitizer> </param> <param argument="-s" checked="false" falsevalue="" label="export seeds" name="source" truevalue="-s" type="boolean" value="false"/> <param argument="-t" checked="false" falsevalue="" label="export targets" name="sink" truevalue="-t" type="boolean" value="false"/> - <param argument="-!s" checked="false" falsevalue="" label="export nodes that are not seed" name="notsource" truevalue="-!s" type="boolean" value="false"/> + <param argument="-!s" checked="false" falsevalue="" label="export nodes that are not seeds" name="notsource" truevalue="-!s" type="boolean" value="false"/> <param argument="-!t" checked="false" falsevalue="" label="export nodes that are not targets" name="notsink" truevalue="-!t" type="boolean" value="false"/> - <param argument="-is" checked="false" falsevalue="" label="do not ignore isolated nodes, consider isolated both seed and target" name="keepIsolated" truevalue="-is" type="boolean" value="false"/> - <param argument="-B" checked="false" falsevalue="" label="use Borenstein Algorithm. Please cite Borenstein et al. 2008 Large-scale reconstruction and phylogenetic analysis of metabolic environments https://doi.org/10.1073/pnas.0806162105). ignore internal option" name="useBorensteinAlg" truevalue="-B" type="boolean" value="false"/> + <param argument="-is" checked="false" falsevalue="" label="do not ignore isolated nodes, consider isolated both seeds and targets" name="keepIsolated" truevalue="-is" type="boolean" value="false"/> + <param argument="-B" checked="false" falsevalue="" label="use Borenstein Algorithm. Please cite Borenstein et al. 2008 Large-scale reconstruction and phylogenetic analysis of metabolic environments https://doi.org/10.1073/pnas.0806162105), ignore internal option" name="useBorensteinAlg" truevalue="-B" type="boolean" value="false"/> <param argument="-in" checked="false" falsevalue="" label="if an external compartment is defined, adjust degree by considering internal counterpart" name="useInternal" truevalue="-in" type="boolean" value="false"/> </inputs> <outputs> @@ -44,46 +44,423 @@ </outputs> <tests> <test> + + + + + + + + + + + <param name="inputPath" value="XF_network.sbml"/> + + + + + + + + + + + <param name="source" value="true"/> + + + + + + + + + + + <output ftype="tsv" name="outputPath"> + + + + + + + + + + + <assert_contents> + + + + + + + + + + + <has_n_columns n="1"/> + + + + + + + + + + + <has_n_lines n="109"/> + + + + + + + + + + + <has_line_matching expression="M_\S+_\w" n="109"/> + + + + + + + + + + + </assert_contents> + + + + + + + + + + + </output> + + + + + + + + + + + </test> <test> + + + + + + + + + + + <param name="inputPath" value="XF_network.sbml"/> + + + + + + + + + + + <param name="sink" value="true"/> + + + + + + + + + + + <param name="useInternal" value="true"/> + + + + + + + + + + + <param name="comp" value="e"/> + + + + + + + + + + + <output ftype="tsv" name="outputPath"> + + + + + + + + + + + <assert_contents> + + + + + + + + + + + <has_n_columns n="1"/> + + + + + + + + + + + <has_n_lines n="5"/> + + + + + + + + + + + <has_line_matching expression="^M_\S+_\w" n="5"/> + + + + + + + + + + + </assert_contents> + + + + + + + + + + + </output> + + + + + + + + + + + </test> <test> + + + + + + + + + + + <param name="inputPath" value="XF_network.sbml"/> + + + + + + + + + + + <param name="sink" value="true"/> + + + + + + + + + + + <param name="useBorensteinAlg" value="true"/> + + + + + + + + + + + <param name="comp" value="e"/> + + + + + + + + + + + <output ftype="tsv" name="outputPath"> + + + + + + + + + + + <assert_contents> + + + + + + + + + + + <has_n_columns n="1"/> + + + + + + + + + + + <has_n_lines n="26"/> + + + + + + + + + + + <has_line_matching expression="^M_\S+_\w" n="26"/> + + + + + + + + + + + </assert_contents> + + + + + + + + + + + </output> + + + + + + + + + + + </test> </tests> - <help><![CDATA[Identify exogenously acquired compounds, producible compounds exogenously available and/or dead ends metabolites from metabolic network topology. Metabolic seeds and targets are useful for identifying medium requirements and metabolic capability, and thus enable analysis of metabolic ties within communities of organisms. + <help><![CDATA[Identify exogenously acquired compounds, exogenously available producible compounds and/or dead ends metabolites from metabolic network topology +Metabolic seeds and targets are useful for identifying medium requirements and metabolic capability, and thus enable analysis of metabolic ties within communities of organisms. This application can use seed definition and SCC-based detection algorithm by Borenstein et al. or, alternatively, degree-based sink and source detection with compartment adjustment. -The first method (see Borenstein et al. 2008 Large-scale reconstruction and phylogenetic analysis of metabolic environments https://doi.org/10.1073/pnas.0806162105) consider strongly connected components rather than individual nodes, thus, members of cycles can be considered as seed. A sink from an external compartment can however be connected to a non sink internal counterpart, thus highlighting what could end up in the external compartment rather than what must be exported. +The first method (see Borenstein et al. 2008 Large-scale reconstruction and phylogenetic analysis of metabolic environments https://doi.org/10.1073/pnas.0806162105) consider strongly connected components rather than individual nodes, thus, members of cycles can be considered as seeds. A sink from an external compartment can however be connected to a non sink internal counterpart, thus highlighting what could end up in the external compartment rather than what must be exported. The second approach is neighborhood based and identify sources and sinks. Since "real" sinks and sources in intracellular compartment(s) may be involved in transport/exchange reactions reversible by default, thus not allowing extracellular source or sink, an option allows to take the degree (minus extracellular neighbors) of intracellular counterparts.]]></help> - <citations/> + <citations> + <citation type="doi">10.1073/pnas.0806162105</citation> + </citations> </tool>