diff tools/networkAnalysis/MetaboRank/MetaboRank.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 35c9abcd8934
children 1436e9cde9c9
line wrap: on
line diff
--- a/tools/networkAnalysis/MetaboRank/MetaboRank.xml	Thu Jan 12 13:45:13 2023 +0000
+++ b/tools/networkAnalysis/MetaboRank/MetaboRank.xml	Wed May 17 13:26:37 2023 +0000
@@ -1,17 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<tool id="met4j_MetaboRank" name="MetaboRank" version="1.2.1">
+<tool id="met4j_MetaboRank" name="MetaboRank" version="MET4J_VERSION_TEST">
   <description>Compute the MetaboRank, a custom personalized PageRank for metabolic network.</description>
   <xrefs>
     <xref type="bio.tools">met4j</xref>
   </xrefs>
   <requirements>
-    <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.2.1</container>
+    <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:MET4J_VERSION_TEST</container>
   </requirements>
   <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.MetaboRank -i "$sbmlFilePath"
  -s "$seedsFilePath"
 #if str($edgeWeightsFilePaths) != 'None':
  -w "$edgeWeightsFilePaths"
 #end if
+#if str($inputSide) != 'None':
+ -sc "$inputSide"
+#end if
 #if str($maxNbOfIter):
  -max "$maxNbOfIter"
 #end if
@@ -27,6 +30,7 @@
     <param argument="-i" format="sbml" label="input SBML file: path to network used for computing centrality, in sbml format." name="sbmlFilePath" optional="false" type="data" value=""/>
     <param argument="-s" format="tsv" label="input seeds file: tabulated file containing node of interest ids and weight" name="seedsFilePath" optional="false" type="data" value=""/>
     <param argument="-w" format="tsv" label="input edge weight file: (recommended) path to file containing edges' weights. Will be normalized as transition probabilities" name="edgeWeightsFilePaths" optional="true" type="data" value=""/>
+    <param argument="-sc" format="txt" label="input Side compound file" name="inputSide" optional="true" type="data" value=""/>
     <param argument="-max" label="maximal number of iteration" name="maxNbOfIter" optional="true" type="text" value="15000">
       <sanitizer invalid_char="_">
         <valid initial="string.printable"/>
@@ -38,13 +42,7 @@
   <outputs>
     <data format="tsv" name="output"/>
   </outputs>
-  <tests>
-    <test>
-      <param name="inputPath" value="toy_model.xml"/>
-      <output ftype="tsv" name="output">
-      </output>
-    </test>
-  </tests>
+  <tests/>
   <help><![CDATA[Compute the MetaboRank, a custom personalized PageRank for metabolic network.
 The MetaboRank takes a metabolic network and a list of compounds of interest, and provide a score of relevance for all of the other compounds in the network.
 The MetaboRank can, from metabolomics results, be used to fuel a recommender system highlighting interesting compounds to investigate, retrieve missing identification and drive literature mining.