diff Marea/marea_cluster.xml @ 4:cf3d3d8f4ef5 draft

Modifica a xml
author bimib
date Tue, 13 Nov 2018 07:34:43 -0500
parents 02577e65dcca
children 146cb8e171b8
line wrap: on
line diff
--- a/Marea/marea_cluster.xml	Tue Nov 13 05:12:32 2018 -0500
+++ b/Marea/marea_cluster.xml	Tue Nov 13 07:34:43 2018 -0500
@@ -1,4 +1,4 @@
-<tool id="MaREA_cluester" name="MaREA cluster analysis">
+<tool id="MaREA_cluester" name="MaREA cluster analysis" version="1.0.0">
     <description>of Reaction Activity Scores</description>
     <macros>
         <import>marea_macros.xml</import>
@@ -11,7 +11,7 @@
         <requirement type="package">scikit-learn</requirement>
         <requirement type="package">matplotlib</requirement>
     </requirements>
-    <command>
+    <command detect_errors="exit_code">
         <![CDATA[
       	python $__tool_directory__/marea_cluster.py
         --rules_selector $cond_rule.rules_selector
@@ -39,6 +39,10 @@
             <when value="Custom">
                 <param name="Custom_rules" type="data" format="tabular, csv, tsv, xml" label="Custom rules" />
             </when>
+            <when value="HMRcore">
+            </when>
+            <when value="Recon">
+            </when>
         </conditional>
         <param name="input" argument="--data" type="data" format="tabular, csv, tsv" label="RNAseq of all samples" />
         <param name="name" argument="--name" type="text" label="Output name prefix" value="dataset" />
@@ -57,6 +61,8 @@
                     <option value="average">Average: average distance between all observations of two sets</option>
                 </param>
             </when>
+            <when value="no">
+            </when>
         </conditional>
     </inputs>
 
@@ -70,7 +76,12 @@
             <discover_datasets pattern="__name_and_ext__" directory="cluster_out" />
         </collection>
     </outputs>
-
+    <tests>
+        <test>
+            <param name="k_min" value="4"/>
+            <output name="log" file="log.txt"/>
+        </test>
+    </tests>
     <help>
 <![CDATA[