Mercurial > repos > metexplore > met4j
comparison build/tools/SeedsAndTargets/SeedsAndTargets.xml @ 6:7a6f2380fc1d draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
author | metexplore |
---|---|
date | Wed, 17 May 2023 13:26:37 +0000 |
parents | |
children | 1436e9cde9c9 |
comparison
equal
deleted
inserted
replaced
5:35c9abcd8934 | 6:7a6f2380fc1d |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <tool id="met4j_SeedsAndTargets" name="SeedsAndTargets" version="1.3.0"> | |
3 <description>Identify exogenously acquired compounds, producible compounds exogenously available and/or dead ends metabolites from metabolic network topology</description> | |
4 <xrefs> | |
5 <xref type="bio.tools">met4j</xref> | |
6 </xrefs> | |
7 <requirements> | |
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.3.0</container> | |
9 </requirements> | |
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.SeedsAndTargets -i "$inputPath" | |
11 #if str($inputSide) != 'None': | |
12 -sc "$inputSide" | |
13 #end if | |
14 #if str($comp): | |
15 -c "$comp" | |
16 #end if | |
17 $source | |
18 $sink | |
19 $notsource | |
20 $notsink | |
21 $keepIsolated | |
22 $useBorensteinAlg | |
23 $useInternal | |
24 -o "$outputPath" | |
25 ]]></command> | |
26 <inputs> | |
27 <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/> | |
28 <param argument="-sc" format="txt" label="input Side compound file" name="inputSide" optional="true" type="data" value=""/> | |
29 <param argument="-c" label="Selected compartment(s), as model identifiers, separated by "+" sign if more than one" name="comp" optional="true" type="text" value=""> | |
30 <sanitizer invalid_char="_"> | |
31 <valid initial="string.printable"/> | |
32 </sanitizer> | |
33 </param> | |
34 <param argument="-s" checked="false" falsevalue="" label="export seeds" name="source" truevalue="-s" type="boolean" value="false"/> | |
35 <param argument="-t" checked="false" falsevalue="" label="export targets" name="sink" truevalue="-t" type="boolean" value="false"/> | |
36 <param argument="-!s" checked="false" falsevalue="" label="export nodes that are not seed" name="notsource" truevalue="-!s" type="boolean" value="false"/> | |
37 <param argument="-!t" checked="false" falsevalue="" label="export nodes that are not targets" name="notsink" truevalue="-!t" type="boolean" value="false"/> | |
38 <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"/> | |
39 <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"/> | |
40 <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"/> | |
41 </inputs> | |
42 <outputs> | |
43 <data format="tsv" name="outputPath"/> | |
44 </outputs> | |
45 <tests> | |
46 <test> | |
47 <param name="inputPath" value="XF_network.sbml"/> | |
48 <param name="source" value="true"/> | |
49 <output ftype="tsv" name="outputPath"> | |
50 <assert_contents> | |
51 <has_n_columns n="1"/> | |
52 <has_n_lines n="109"/> | |
53 <has_line_matching expression="M_\S+_\w" n="109"/> | |
54 </assert_contents> | |
55 </output> | |
56 </test> | |
57 <test> | |
58 <param name="inputPath" value="XF_network.sbml"/> | |
59 <param name="sink" value="true"/> | |
60 <param name="useInternal" value="true"/> | |
61 <param name="comp" value="e"/> | |
62 <output ftype="tsv" name="outputPath"> | |
63 <assert_contents> | |
64 <has_n_columns n="1"/> | |
65 <has_n_lines n="5"/> | |
66 <has_line_matching expression="^M_\S+_\w" n="5"/> | |
67 </assert_contents> | |
68 </output> | |
69 </test> | |
70 <test> | |
71 <param name="inputPath" value="XF_network.sbml"/> | |
72 <param name="sink" value="true"/> | |
73 <param name="useBorensteinAlg" value="true"/> | |
74 <param name="comp" value="e"/> | |
75 <output ftype="tsv" name="outputPath"> | |
76 <assert_contents> | |
77 <has_n_columns n="1"/> | |
78 <has_n_lines n="26"/> | |
79 <has_line_matching expression="^M_\S+_\w" n="26"/> | |
80 </assert_contents> | |
81 </output> | |
82 </test> | |
83 </tests> | |
84 <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. | |
85 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. | |
86 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. | |
87 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> | |
88 <citations/> | |
89 </tool> |