Mercurial > repos > metexplore > met4j
comparison tools/networkAnalysis/CarbonSkeletonNet/CarbonSkeletonNet.xml @ 0:dcd16521b969 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 5dab0a2d83a1fdd7a1878a50ba0f24e752505393
author | metexplore |
---|---|
date | Fri, 10 Jun 2022 10:31:34 +0000 |
parents | |
children | 9b162ee6ff8e |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dcd16521b969 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <tool id="met4j_CarbonSkeletonNet" name="CarbonSkeletonNet" version="0.11.0"> | |
3 <description>Create a carbon skeleton graph representation of a SBML file content, using GSAM atom-mapping file (see https://forgemia.inra.fr/metexplore/gsam)</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:0.11.0</container> | |
9 </requirements> | |
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.CarbonSkeletonNet -s "$inputPath" | |
11 -g "$inputAAM" | |
12 $keepSingleCarbon | |
13 $mergeComp | |
14 $mergeEdges | |
15 $removeIsolated | |
16 $undirected | |
17 $computeWeight | |
18 $asMatrix | |
19 $fromIndexes | |
20 -o "$outputPath" | |
21 ]]></command> | |
22 <inputs> | |
23 <param argument="-s" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/> | |
24 <param argument="-g" format="gsam" label="input GSAM file" name="inputAAM" optional="false" type="data" value=""/> | |
25 <param argument="-ks" checked="false" falsevalue="" label="keep edges involving single-carbon compounds, such as CO2 (requires formulas in SBML)" name="keepSingleCarbon" truevalue="-ks" type="boolean" value="false"/> | |
26 <param argument="-mc" checked="false" falsevalue="" label="merge compartments (requires unique compound names that are consistent across compartments)" name="mergeComp" truevalue="-mc" type="boolean" value="false"/> | |
27 <param argument="-me" checked="false" falsevalue="" label="merge parallel edges to produce a simple graph" name="mergeEdges" truevalue="-me" type="boolean" value="false"/> | |
28 <param argument="-ri" checked="false" falsevalue="" label="remove isolated nodes" name="removeIsolated" truevalue="-ri" type="boolean" value="false"/> | |
29 <param argument="-un" checked="false" falsevalue="" label="create as undirected" name="undirected" truevalue="-un" type="boolean" value="false"/> | |
30 <param argument="-tp" checked="false" falsevalue="" label="set transition probability as weight" name="computeWeight" truevalue="-tp" type="boolean" value="false"/> | |
31 <param argument="-am" checked="false" falsevalue="" label="export as matrix (implies simple graph conversion). Default export as GML file" name="asMatrix" truevalue="-am" type="boolean" value="false"/> | |
32 <param argument="-i" checked="false" falsevalue="" label="Use GSAM output with carbon indexes" name="fromIndexes" truevalue="-i" type="boolean" value="false"/> | |
33 </inputs> | |
34 <outputs> | |
35 <data format="gml" name="outputPath"/> | |
36 </outputs> | |
37 <tests> | |
38 <test> | |
39 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
40 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
41 <output name="outputPath"> | |
42 <assert_contents> | |
43 <has_n_lines n="2602"/> | |
44 </assert_contents> | |
45 </output> | |
46 </test> | |
47 <test> | |
48 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
49 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
50 <param name="keepSingleCarbon" value="true"/> | |
51 <output name="outputPath"> | |
52 <assert_contents> | |
53 <has_n_lines n="2629"/> | |
54 </assert_contents> | |
55 </output> | |
56 </test> | |
57 <test> | |
58 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
59 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
60 <param name="mergeComp" value="true"/> | |
61 <output name="outputPath"> | |
62 <assert_contents> | |
63 <has_n_lines n="2406"/> | |
64 </assert_contents> | |
65 </output> | |
66 </test> | |
67 <test> | |
68 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
69 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
70 <param name="mergeEdges" value="true"/> | |
71 <output name="outputPath"> | |
72 <assert_contents> | |
73 <has_n_lines n="2071"/> | |
74 </assert_contents> | |
75 </output> | |
76 </test> | |
77 <test> | |
78 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
79 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
80 <param name="removeIsolated" value="true"/> | |
81 <output name="outputPath"> | |
82 <assert_contents> | |
83 <has_n_lines n="2490"/> | |
84 </assert_contents> | |
85 </output> | |
86 </test> | |
87 <test> | |
88 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
89 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
90 <param name="undirected" value="true"/> | |
91 <output name="outputPath"> | |
92 <assert_contents> | |
93 <has_n_lines n="3214"/> | |
94 </assert_contents> | |
95 </output> | |
96 </test> | |
97 <test> | |
98 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
99 <param name="inputAAM" value="Human-GEM_pathways-transitions.tab"/> | |
100 <param name="asMatrix" value="true"/> | |
101 <output name="outputPath"> | |
102 <assert_contents> | |
103 <has_n_lines n="112"/> | |
104 </assert_contents> | |
105 </output> | |
106 </test> | |
107 <test> | |
108 <param name="inputPath" value="Human-GEM_pathways.xml"/> | |
109 <param name="inputAAM" value="Human-GEM_pathways-transitions2.tab"/> | |
110 <param name="fromIndexes" value="true"/> | |
111 <output name="outputPath"> | |
112 <assert_contents> | |
113 <has_n_lines n="2611"/> | |
114 </assert_contents> | |
115 </output> | |
116 </test> | |
117 </tests> | |
118 <help><![CDATA[Metabolic networks used for quantitative analysis often contain links that are irrelevant for graph-based structural analysis. For example, inclusion of side compounds or modelling artifacts such as 'biomass' nodes. Focusing on links between compounds that share parts of their carbon skeleton allows to avoid many transitions involving side compounds, and removes entities without defined chemical structure. This app produce a Carbon Skeleton Network relevant for graph-based analysis of metabolism, in GML or matrix format, from a SBML and an GSAM atom mapping file. GSAM (see https://forgemia.inra.fr/metexplore/gsam) perform atom mapping at genome-scale level using the Reaction Decoder Tool (https://github.com/asad/ReactionDecoder) and allows to compute the number of conserved atoms of a given type between reactants.This app also enable Markov-chain based analysis of metabolic networks by computing reaction-normalized transition probabilities on the Carbon Skeleton Network.]]></help> | |
119 </tool> |