Mercurial > repos > metexplore > met4j
diff tools/networkAnalysis/DistanceMatrix/DistanceMatrix.xml @ 1:9b162ee6ff8e draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 12798951d21c3b2b13514b38148b2848cb422c95
author | metexplore |
---|---|
date | Mon, 27 Jun 2022 13:41:08 +0000 |
parents | dcd16521b969 |
children | e69a78624877 |
line wrap: on
line diff
--- a/tools/networkAnalysis/DistanceMatrix/DistanceMatrix.xml Fri Jun 10 10:31:34 2022 +0000 +++ b/tools/networkAnalysis/DistanceMatrix/DistanceMatrix.xml Mon Jun 27 13:41:08 2022 +0000 @@ -1,15 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> -<tool id="met4j_DistanceMatrix" name="DistanceMatrix" version="0.11.0"> +<tool id="met4j_DistanceMatrix" name="DistanceMatrix" version="0.12.0"> <description>Create a compound to compound distance matrix.</description> <xrefs> <xref type="bio.tools">met4j</xref> </xrefs> <requirements> - <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:0.11.0</container> + <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:0.12.0</container> </requirements> <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.DistanceMatrix -i "$inputPath" #if str($sideCompoundFile) != 'None': - -s "$sideCompoundFile" + -sc "$sideCompoundFile" +#end if +#if str($seedFile) != 'None': + -s "$seedFile" #end if $degree #if str($weightFile) != 'None': @@ -20,7 +23,8 @@ ]]></command> <inputs> <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/> - <param argument="-s" format="text" label="an optional file containing list of side compounds to ignore" name="sideCompoundFile" optional="true" type="data" value=""/> + <param argument="-sc" format="text" label="an optional file containing list of side compounds to ignore" name="sideCompoundFile" optional="true" type="data" value=""/> + <param argument="-s" format="text" label="an optional file containing list of compounds of interest. The returned distance matrix contains only the corresponding rows and columns" name="seedFile" optional="true" type="data" value=""/> <param argument="-dw" checked="false" falsevalue="" label="penalize traversal of hubs by using degree square weighting (-w must not be set)" name="degree" truevalue="-dw" type="boolean" value="false"/> <param argument="-w" format="tsv" label="an optional file containing weights for compound pairs" name="weightFile" optional="true" type="data" value=""/> <param argument="-u" checked="false" falsevalue="" label="Ignore reaction direction" name="undirected" truevalue="-u" type="boolean" value="false"/> @@ -55,4 +59,5 @@ The distance between two compounds is computed as the length of the shortest path connecting the two in the compound graph, where two compounds are linked if they are respectively substrate and product of the same reaction. An optional edge weighting can be used, turning the distances into the sum of edge weights in the lightest path, rather than the length of the shortest path.The default weighting use target's degree squared. Alternatively, custom weighting can be provided in a file. In that case, edges without weight are ignored during path search. If no edge weighting is set, it is recommended to provide a list of side compounds to ignore during network traversal.]]></help> + <citations/> </tool>