comparison tools/networkAnalysis/ExtractSubBipNetwork/ExtractSubBipNetwork.xml @ 2:e69a78624877 draft

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit cb957f5d5540a48293fe8487c0cfad78ab439d7c
author metexplore
date Tue, 19 Jul 2022 14:20:07 +0000
parents 9b162ee6ff8e
children 6bd9aad9626d
comparison
equal deleted inserted replaced
1:9b162ee6ff8e 2:e69a78624877
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <tool id="met4j_ExtractSubBipNetwork" name="ExtractSubBipNetwork" version="0.12.0"> 2 <tool id="met4j_ExtractSubBipNetwork" name="ExtractSubBipNetwork" version="1.0.1">
3 <description>Create a subnetwork from a GSMN in SBML format, and two files containing lists of compounds and/or reactions of interests ids, one per row, plus one file of the same format containing side compounds ids.</description> 3 <description>Create a subnetwork from a GSMN in SBML format, and two files containing lists of compounds and/or reactions of interests ids, one per row, plus one file of the same format containing side compounds ids.</description>
4 <xrefs> 4 <xrefs>
5 <xref type="bio.tools">met4j</xref> 5 <xref type="bio.tools">met4j</xref>
6 </xrefs> 6 </xrefs>
7 <requirements> 7 <requirements>
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:0.12.0</container> 8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.0.1</container>
9 </requirements> 9 </requirements>
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.ExtractSubBipNetwork -i "$inputPath" 10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.ExtractSubBipNetwork -i "$inputPath"
11 -s "$sourcePath" 11 -s "$sourcePath"
12 -t "$targetPath" 12 -t "$targetPath"
13 $undirected 13 $undirected
25 $st 25 $st
26 -o "$outputPath" 26 -o "$outputPath"
27 ]]></command> 27 ]]></command>
28 <inputs> 28 <inputs>
29 <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/> 29 <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
30 <param argument="-s" format="text" label="input sources txt file" name="sourcePath" optional="false" type="data" value=""/> 30 <param argument="-s" format="txt" label="input sources txt file" name="sourcePath" optional="false" type="data" value=""/>
31 <param argument="-t" format="text" label="input targets txt file" name="targetPath" optional="false" type="data" value=""/> 31 <param argument="-t" format="txt" label="input targets txt file" name="targetPath" optional="false" type="data" value=""/>
32 <param argument="-u" checked="false" falsevalue="" label="Ignore reaction direction" name="undirected" truevalue="-u" type="boolean" value="false"/> 32 <param argument="-u" checked="false" falsevalue="" label="Ignore reaction direction" name="undirected" truevalue="-u" type="boolean" value="false"/>
33 <param argument="-tab" checked="false" falsevalue="" label="Export in tabulated file instead of .GML" name="asTable" truevalue="-tab" type="boolean" value="false"/> 33 <param argument="-tab" checked="false" falsevalue="" label="Export in tabulated file instead of .GML" name="asTable" truevalue="-tab" type="boolean" value="false"/>
34 <param argument="-sc" format="text" label="a file containing list of side compounds to ignore" name="sideCompoundFile" optional="false" type="data" value=""/> 34 <param argument="-sc" format="txt" label="a file containing list of side compounds to ignore" name="sideCompoundFile" optional="false" type="data" value=""/>
35 <param argument="-br" format="text" label="a file containing list of blocked reactions to ignore" name="blkdReactionFile" optional="true" type="data" value=""/> 35 <param argument="-br" format="txt" label="a file containing list of blocked reactions to ignore" name="blkdReactionFile" optional="true" type="data" value=""/>
36 <param argument="-cw" format="tsv" label="an optional file containing weights for reactions pairs" name="weightFile" optional="true" type="data" value=""/> 36 <param argument="-cw" format="tsv" label="an optional file containing weights for reactions pairs" name="weightFile" optional="true" type="data" value=""/>
37 <param argument="-k" label="Extract k-shortest paths" name="k" optional="true" type="text" value="1"> 37 <param argument="-k" label="Extract k-shortest paths" name="k" optional="true" type="text" value="1">
38 <sanitizer invalid_char="_"> 38 <sanitizer invalid_char="_">
39 <valid initial="string.printable"/> 39 <valid initial="string.printable"/>
40 </sanitizer> 40 </sanitizer>
43 </inputs> 43 </inputs>
44 <outputs> 44 <outputs>
45 <data format="gml" name="outputPath"/> 45 <data format="gml" name="outputPath"/>
46 </outputs> 46 </outputs>
47 <tests> 47 <tests>
48 <test> 48 <test>
49 <param name="inputPath" value="toy_model.xml"/> 49 <param name="inputPath" value="toy_model.xml"/>
50 <param name="sourcePath" value="seeds.txt"/> 50 <param name="sourcePath" value="seeds.txt"/>
51 <param name="targetPath" value="targets.txt"/> 51 <param name="targetPath" value="targets.txt"/>
52 <param name="sideCompoundFile" value="sc.txt"/> 52 <param name="sideCompoundFile" value="sc.txt"/>
53 <output ftype="gml" name="outputPath"> 53 <output ftype="gml" name="outputPath">
55 <has_line_matching expression=".*node.*" n="5"/> 55 <has_line_matching expression=".*node.*" n="5"/>
56 <has_line_matching expression=".*edge.*" n="4"/> 56 <has_line_matching expression=".*edge.*" n="4"/>
57 </assert_contents> 57 </assert_contents>
58 </output> 58 </output>
59 </test> 59 </test>
60
61 </tests> 60 </tests>
62 <help><![CDATA[Create a subnetwork from a GSMN in SBML format, and two files containing lists of compounds and/or reactions of interests ids, one per row, plus one file of the same format containing side compounds ids. 61 <help><![CDATA[Create a subnetwork from a GSMN in SBML format, and two files containing lists of compounds and/or reactions of interests ids, one per row, plus one file of the same format containing side compounds ids.
63 The subnetwork corresponds to part of the network that connects reactions and compounds from the first list to reactions and compounds from the second list. 62 The subnetwork corresponds to part of the network that connects reactions and compounds from the first list to reactions and compounds from the second list.
64 Sources and targets list can have elements in common. The connecting part can be defined as the union of shortest or k-shortest paths between sources and targets, or the Steiner tree connecting them. Contrary to compound graph, bipartite graph often lacks weighting policy for edge relevance. In order to ensure appropriate network density, a list of side compounds and blocked reactions to ignore during path build must be provided. An optional edge weight file, if available, can also be used.]]></help> 63 Sources and targets list can have elements in common. The connecting part can be defined as the union of shortest or k-shortest paths between sources and targets, or the Steiner tree connecting them. Contrary to compound graph, bipartite graph often lacks weighting policy for edge relevance. In order to ensure appropriate network density, a list of side compounds and blocked reactions to ignore during path build must be provided. An optional edge weight file, if available, can also be used.]]></help>
65 <citations/> 64 <citations/>