changeset 1:c58c1a99578b draft

planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
author iuc
date Sat, 10 Jun 2023 21:59:04 +0000
parents 77cbfe3e1b0d
children 2d20b3a1babd
files deepmicro.xml macros.xml
diffstat 2 files changed, 19 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/deepmicro.xml	Tue May 02 17:39:13 2023 +0000
+++ b/deepmicro.xml	Sat Jun 10 21:59:04 2023 +0000
@@ -30,7 +30,10 @@
 
             #for $params in $mode.parameter_set:
 
-                #if $params.rl_type.rl_type_choice == "--pca" or $params.rl_type.rl_type_choice == "--rp":
+                ## only train classifier without encoding
+                #if $params.rl_type.rl_type_choice == "no_rl":
+                    DM.py -r 1 -cd features.csv -cl labels.csv --save_rep -m '$params.rl_type.classifier' -t \${GALAXY_SLOTS:-8} &&
+                #elif $params.rl_type.rl_type_choice == "--pca" or $params.rl_type.rl_type_choice == "--rp":
                     DM.py -r 1 -cd features.csv -cl labels.csv '$params.rl_type.rl_type_choice' --save_rep -m '$params.rl_type.classifier' -t \${GALAXY_SLOTS:-8} &&
                 #else: 
                     DM.py -r 1 -cd features.csv -cl labels.csv '$params.rl_type.rl_type_choice' -dm '$params.rl_type.dm' --save_rep -m '$params.rl_type.classifier'  -t \${GALAXY_SLOTS:-8} &&
@@ -215,6 +218,20 @@
 
         </test>
 
+        <test expect_num_outputs="1">
+            <param name="features" value="UserDataExample.csv" />
+            <param name="mode_type" value="e_and_c" />
+            <param name="class_labels" value="UserLabelExample.csv" />
+            <param name="rl_type_choice" value="no_rl" />
+            <param name="classifier" value="rf" /> 
+            <output ftype="tabular" name="results" >
+                <assert_contents>
+                    <has_text text="rf" />
+                </assert_contents>
+            </output>
+
+        </test>
+
         <!-- test multiple parameter sets -->
         <test expect_num_outputs="1">
             <param name="features" value="UserDataExample.csv" />
--- a/macros.xml	Tue May 02 17:39:13 2023 +0000
+++ b/macros.xml	Sat Jun 10 21:59:04 2023 +0000
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <macros>
     <token name="@TOOL_VERSION@">1.4</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <token name="@PROFILE@">22.05</token>
     <xml name="biotools">
         <xrefs>