annotate tools/networkAnalysis/DegreeWeighting/DegreeWeighting.xml @ 8:1274e2a62479 draft default tip

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit e34acf0f51cafcf6ae7c97b4feb3188a39f17c32
author metexplore
date Wed, 26 Jul 2023 15:33:45 +0000
parents 7a6f2380fc1d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
6
7a6f2380fc1d planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents: 5
diff changeset
2 <tool id="met4j_DegreeWeighting" name="DegreeWeighting" version="MET4J_VERSION_TEST">
4
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
3 <description>Provides tabulated compound graph edge list, with one column with target's degree.</description>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
4 <xrefs>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
5 <xref type="bio.tools">met4j</xref>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
6 </xrefs>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
7 <requirements>
6
7a6f2380fc1d planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents: 5
diff changeset
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:MET4J_VERSION_TEST</container>
4
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
9 </requirements>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.DegreeWeighting#if str($pow):
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
11 -pow "$pow"
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
12 #end if
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
13 -s "$inputPath"
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
14 #if str($inputSide) != 'None':
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
15 -sc "$inputSide"
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
16 #end if
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
17 #if str($mergingStrat):
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
18 -mc "$mergingStrat"
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
19 #end if
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
20 $mergeEdges
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
21 $undirected
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
22 $computeWeight
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
23 $removeNaN
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
24 -o "$outputPath"
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
25 ]]></command>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
26 <inputs>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
27 <param argument="-pow" label="set weights as the degree raised to the power of number in parameter." name="pow" optional="true" type="text" value="1">
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
28 <sanitizer invalid_char="_">
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
29 <valid initial="string.printable"/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
30 </sanitizer>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
31 </param>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
32 <param argument="-s" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
5
35c9abcd8934 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 8577c4cd3ad279c5e97f48f822e041c6b0d90598
metexplore
parents: 4
diff changeset
33 <param argument="-sc" format="txt" label="input Side compound file" name="inputSide" optional="true" type="data" value=""/>
4
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
34 <param argument="-mc" label="merge compartments. Use names if consistent and unambiguous across compartments, or identifiers if compartment suffix is present (id in form &quot;xxx_y&quot; with xxx as base identifier and y as compartment label)." name="mergingStrat" optional="true" type="select" value="no">
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
35 <option selected="true" value="no">no</option>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
36 <option value="by_name">by_name</option>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
37 <option value="by_id">by_id</option>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
38 </param>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
39 <param argument="-me" checked="false" falsevalue="" label="merge parallel edges to produce a simple graph" name="mergeEdges" truevalue="-me" type="boolean" value="false"/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
40 <param argument="-un" checked="false" falsevalue="" label="create as undirected" name="undirected" truevalue="-un" type="boolean" value="false"/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
41 <param argument="-tp" checked="false" falsevalue="" label="set weight as random walk transition probability, normalized by reaction" name="computeWeight" truevalue="-tp" type="boolean" value="false"/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
42 <param argument="-nan" checked="false" falsevalue="" label="do not output edges with undefined weight" name="removeNaN" truevalue="-nan" type="boolean" value="false"/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
43 </inputs>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
44 <outputs>
5
35c9abcd8934 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 8577c4cd3ad279c5e97f48f822e041c6b0d90598
metexplore
parents: 4
diff changeset
45 <data format="tsv" name="outputPath"/>
4
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
46 </outputs>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
47 <tests/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
48 <help><![CDATA[Provides tabulated compound graph edge list, with one column with target's degree.Degree has been proposed as edge weight for finding meaningful paths in metabolic networks, using shortest (lightest) path search. See Croes et al. 2006 (https://doi.org/10.1016/j.jmb.2005.09.079) and Croes et al. 2005 (https://doi.org/10.1093/nar/gki437)]]></help>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
49 <citations/>
ae4c301919c4 planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff changeset
50 </tool>