comparison build/tools/ChemSimilarityWeighting/ChemSimilarityWeighting.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_ChemSimilarityWeighting" name="ChemSimilarityWeighting" version="1.3.0">
3 <description>Provides tabulated compound graph edge list, with one column with reactant pair's chemical similarity.</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.ChemSimilarityWeighting#if str($type):
11 -f "$type"
12 #end if
13 #if str($smileFile):
14 -sm "$smileFile"
15 #end if
16 #if str($inchiFile):
17 -in "$inchiFile"
18 #end if
19 $dist
20 -s "$inputPath"
21 #if str($inputSide) != 'None':
22 -sc "$inputSide"
23 #end if
24 #if str($mergingStrat):
25 -mc "$mergingStrat"
26 #end if
27 $mergeEdges
28 $undirected
29 $computeWeight
30 $removeNaN
31 -o "$outputPath"
32 ]]></command>
33 <inputs>
34 <param argument="-f" label="The chemical fingerprint to use" name="type" optional="true" type="select" value="Extended">
35 <option value="EState">EState</option>
36 <option selected="true" value="Extended">Extended</option>
37 <option value="KlekotaRoth">KlekotaRoth</option>
38 <option value="MACCS">MACCS</option>
39 <option value="PubChem">PubChem</option>
40 </param>
41 <param argument="-sm" label="If not present in SBML's annotations, get structure from a tabulated file with first column as compound id and second column as SMILE string, no header. Ignored if inchi file is provided" name="smileFile" optional="true" type="text" value="">
42 <sanitizer invalid_char="_">
43 <valid initial="string.printable"/>
44 </sanitizer>
45 </param>
46 <param argument="-in" label="If not present in SBML's annotations, get structure from a tabulated file with first column as compound id and second column as InChI string, no header." name="inchiFile" optional="true" type="text" value="">
47 <sanitizer invalid_char="_">
48 <valid initial="string.printable"/>
49 </sanitizer>
50 </param>
51 <param argument="-d" checked="false" falsevalue="" label="Use distance rather than similarity" name="dist" truevalue="-d" type="boolean" value="false"/>
52 <param argument="-s" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/>
53 <param argument="-sc" format="txt" label="input Side compound file" name="inputSide" optional="true" type="data" value=""/>
54 <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">
55 <option selected="true" value="no">no</option>
56 <option value="by_name">by_name</option>
57 <option value="by_id">by_id</option>
58 </param>
59 <param argument="-me" checked="false" falsevalue="" label="merge parallel edges to produce a simple graph" name="mergeEdges" truevalue="-me" type="boolean" value="false"/>
60 <param argument="-un" checked="false" falsevalue="" label="create as undirected" name="undirected" truevalue="-un" type="boolean" value="false"/>
61 <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"/>
62 <param argument="-nan" checked="false" falsevalue="" label="do not output edges with undefined weight" name="removeNaN" truevalue="-nan" type="boolean" value="false"/>
63 </inputs>
64 <outputs>
65 <data format="tsv" name="outputPath"/>
66 </outputs>
67 <tests/>
68 <help><![CDATA[Provides tabulated compound graph edge list, with one column with reactant pair's chemical similarity.Chemical similarity has been proposed as edge weight for finding meaningful paths in metabolic networks, using shortest (lightest) path search. See McSha et al. 2003 (https://doi.org/10.1093/bioinformatics/btg217), Rahman et al. 2005 (https://doi.org/10.1093/bioinformatics/bti116) and Pertusi et al. 2014 (https://doi.org/10.1093/bioinformatics/btu760)]]></help>
69 <citations/>
70 </tool>