Mercurial > repos > metexplore > met4j_distancematrix
view DistanceMatrix.xml @ 3:da1468773764 draft default tip
planemo upload for repository https://forge.inrae.fr/metexplore/met4j-galaxy commit e757d0398a8407d983f1ef3f900b31cafc26e170
| author | metexplore |
|---|---|
| date | Wed, 21 Jan 2026 15:28:45 +0000 |
| parents | c5d875dc43ae |
| children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <tool id="met4j_DistanceMatrix" name="DistanceMatrix" version="@TOOL_VERSION@"> <description>Create a compound to compound distance matrix.</description> <macros> <import>macros.xml</import> </macros> <expand macro="bio_tools"/> <expand macro="requirements"/> <command detect_errors="exit_code"><![CDATA[met4j networkAnalysis.DistanceMatrix -i "$inputPath" #if str($sideCompoundFile) != 'None': -sc "$sideCompoundFile" #end if #if str($seedFile) != 'None': -s "$seedFile" #end if $degree #if str($weightFile) != 'None': -w "$weightFile" #end if $undirected -o "$outputPath" ]]></command> <inputs> <param argument="-i" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/> <param argument="-sc" format="txt" label="an optional file containing list of side compounds to ignore" name="sideCompoundFile" optional="true" type="data" value=""/> <param argument="-s" format="txt" 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"/> </inputs> <outputs> <data format="csv" name="outputPath"/> </outputs> <tests/> <help><![CDATA[Create a compound to compound distance matrix. 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. @ATTRIBUTION@]]></help> <citations/> </tool>
