Mercurial > repos > metexplore > met4j
annotate tools/networkAnalysis/DegreeWeighting/DegreeWeighting.xml @ 5:35c9abcd8934 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 8577c4cd3ad279c5e97f48f822e041c6b0d90598
author | metexplore |
---|---|
date | Thu, 12 Jan 2023 13:45:13 +0000 |
parents | ae4c301919c4 |
children | 7a6f2380fc1d |
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"?> |
5
35c9abcd8934
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 8577c4cd3ad279c5e97f48f822e041c6b0d90598
metexplore
parents:
4
diff
changeset
|
2 <tool id="met4j_DegreeWeighting" name="DegreeWeighting" version="1.2.1"> |
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> |
5
35c9abcd8934
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 8577c4cd3ad279c5e97f48f822e041c6b0d90598
metexplore
parents:
4
diff
changeset
|
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.2.1</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 "xxx_y" 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> |