annotate deepmicro.xml @ 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
1 <tool id="deepmicro" name="DeepMicro" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
2 <description>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
3 Representation learning and classification framework
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
4 </description>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
5 <macros>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
6 <import>macros.xml</import>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
7 </macros>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
8 <expand macro="biotools" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
9 <expand macro="requirements" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
10 <expand macro="version" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
12 mkdir data &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
13 mkdir results &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
14 ln -s '$features' data/features.csv &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
15
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
16 #if $mode.mode_type == "only_encoding":
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
17
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
18 #for $params in $mode.parameter_set:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
19
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
20 #if $params.rl_type.rl_type_choice == "--pca" or $params.rl_type.rl_type_choice == "--rp":
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
21 DM.py -r 1 -cd features.csv '$params.rl_type.rl_type_choice' --save_rep --no_clf -t \${GALAXY_SLOTS:-8} &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
22 #else:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
23 DM.py -r 1 -cd features.csv '$params.rl_type.rl_type_choice' -dm '$params.rl_type.dm' --save_rep --no_clf -t \${GALAXY_SLOTS:-8} &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
24 #end if
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
25 #end for
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
26
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
27 #else:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
28
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
29 ln -s '$mode.class_labels' data/labels.csv &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
30
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
31 #for $params in $mode.parameter_set:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
32
1
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
33 ## only train classifier without encoding
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
34 #if $params.rl_type.rl_type_choice == "no_rl":
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
35 DM.py -r 1 -cd features.csv -cl labels.csv --save_rep -m '$params.rl_type.classifier' -t \${GALAXY_SLOTS:-8} &&
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
36 #elif $params.rl_type.rl_type_choice == "--pca" or $params.rl_type.rl_type_choice == "--rp":
0
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
37 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} &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
38 #else:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
39 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} &&
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
40 #end if
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
41 #end for
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
42
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
43 #end if
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
44
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
45 echo Done !
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
46 ]]>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
47 </command>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
48 <inputs>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
49 <param argument="--features" type="data" format="tabular" label="Feature table" help="Dataset containing the features of samples"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
50 <conditional name="mode">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
51 <param name="mode_type" type="select" label="Mode" help="The tool can either only create a latent
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
52 representation of the data or create a latent representation of the data and cross validate a classifier using that encoding.">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
53 <option value="only_encoding">Create only encoding</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
54 <option value="e_and_c">Create encoding and cross validate a classifier</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
55 </param>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
56 <when value="only_encoding">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
57 <repeat name="parameter_set" title="Parameter Set">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
58 <conditional name="rl_type">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
59 <param name="rl_type_choice" type="select" label="Representation learning type" help="The type of representation learning" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
60 <option value="--pca">PCA</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
61 <option value="--rp">Random Projection</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
62 <option value="--ae">Autoencoder or Deep Autoencoder</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
63 <option value="--vae">Variational Autoencoder</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
64 <option value="--cae">Convolutional Autoencoder</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
65 </param>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
66 <when value="--pca"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
67 <when value="--rp"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
68 <when value="--ae">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
69 <expand macro="dm" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
70 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
71 <when value="--vae">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
72 <expand macro="dm" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
73 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
74 <when value="--cae">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
75 <expand macro="dm" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
76 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
77 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
78 </repeat>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
79 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
80 <when value="e_and_c">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
81 <param argument="--class_labels" type="data" format="tabular" label="Class labels" help="Dataset containing the class labels corresponding to the features"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
82 <repeat name="parameter_set" title="Parameter Set">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
83 <conditional name="rl_type">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
84 <param name="rl_type_choice" type="select" label="Representation learning type" help="The type of representation learning. `Train on input` trains the classifier on the input features without representation learning" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
85 <option value="--pca">PCA</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
86 <option value="--rp">Random Projection</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
87 <option value="--ae">Autoencoder or Deep Autoencoder</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
88 <option value="--vae">Variational Autoencoder</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
89 <option value="--cae">Convolutional Autoencoder</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
90 <option value="no_rl">Train on input</option>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
91 </param>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
92 <when value="no_rl">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
93 <expand macro="clfs" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
94 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
95 <when value="--pca">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
96 <expand macro="clfs" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
97 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
98 <when value="--rp">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
99 <expand macro="clfs" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
100 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
101 <when value="--ae">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
102 <expand macro="dm" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
103 <expand macro="clfs" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
104 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
105 <when value="--vae">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
106 <expand macro="dm" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
107 <expand macro="clfs" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
108 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
109 <when value="--cae">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
110 <expand macro="dm" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
111 <expand macro="clfs" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
112 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
113 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
114 </repeat>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
115 </when>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
116 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
117 </inputs>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
118 <outputs>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
119 <data name="results" format="tabular" from_work_dir="./results/*_result.txt" label="${tool.name} on ${on_string}: Results">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
120 <!-- results are only for classifiers -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
121 <filter>mode["mode_type"] == "e_and_c"</filter>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
122 </data>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
123 <collection name="encoded_features" type="list" label="Encoded Features">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
124 <!-- the encoded features generated by the tool are only for the training set, this is not very useful, therefore omitting
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
125 todo change tool do export features complete dataset also when classification is performed -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
126 <filter>mode["mode_type"] == "only_encoding"</filter>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
127 <discover_datasets directory="results" pattern="(?P&lt;designation&gt;.*)_rep\.csv" format="tabular" visible="false" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
128 </collection>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
129 </outputs>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
130 <tests>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
131
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
132 <!-- only encoding -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
133 <!-- test one parameter sets -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
134
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
135 <test expect_num_outputs="1">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
136 <param name="mode_type" value="only_encoding" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
137 <param name="features" value="UserDataExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
138 <param name="rl_type_choice" value="--ae" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
139 <param name="dm" value="40" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
140 <output_collection name="encoded_features" type="list">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
141 <!-- output is non determinisitc -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
142 <element name="AE[40]_features" ftype="tabular" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
143 <assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
144 <has_n_lines n="20"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
145 <!-- <has_n_columns n="40" sep="," /> -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
146 </assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
147 </element>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
148 </output_collection>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
149 </test>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
150
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
151 <test expect_num_outputs="1">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
152 <param name="mode_type" value="only_encoding" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
153 <param name="features" value="UserDataExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
154 <param name="rl_type_choice" value="--pca" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
155 <output_collection name="encoded_features" type="list">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
156 <element name="PCA_features" ftype="tabular" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
157 <assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
158 <has_n_lines n="20"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
159 <!-- <has_n_columns n="40" sep="," /> -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
160 </assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
161 </element>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
162 </output_collection>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
163 </test>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
164
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
165 <!-- test multiple parameter sets -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
166 <test expect_num_outputs="1">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
167 <param name="features" value="UserDataExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
168 <conditional name="mode">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
169 <param name="mode_type" value="only_encoding" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
170
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
171 <repeat name="parameter_set">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
172 <conditional name="rl_type">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
173 <param name="rl_type_choice" value="--pca" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
174 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
175 </repeat>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
176
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
177 <repeat name="parameter_set">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
178 <conditional name="rl_type">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
179 <param name="rl_type_choice" value="--ae" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
180 <param name="dm" value="40" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
181 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
182 </repeat>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
183
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
184 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
185
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
186 <output_collection name="encoded_features" type="list">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
187 <element name="AE[40]_features" ftype="tabular" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
188 <assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
189 <has_n_lines n="20"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
190 <!-- <has_n_columns n="40" sep="," /> -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
191 </assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
192 </element>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
193 <element name="PCA_features" ftype="tabular" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
194 <assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
195 <has_n_lines n="20"/>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
196 <!-- <has_n_columns n="40" sep="," /> -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
197 </assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
198 </element>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
199 </output_collection>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
200
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
201 </test>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
202
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
203 <!-- encoding and clf -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
204 <!-- test one parameter set -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
205
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
206 <test expect_num_outputs="1">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
207 <param name="features" value="UserDataExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
208 <param name="mode_type" value="e_and_c" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
209 <param name="class_labels" value="UserLabelExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
210 <param name="rl_type_choice" value="--vae" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
211 <param name="dm" value="40" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
212 <param name="classifier" value="rf" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
213 <output ftype="tabular" name="results" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
214 <assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
215 <has_text text="VAE[40]_rf" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
216 </assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
217 </output>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
218
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
219 </test>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
220
1
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
221 <test expect_num_outputs="1">
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
222 <param name="features" value="UserDataExample.csv" />
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
223 <param name="mode_type" value="e_and_c" />
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
224 <param name="class_labels" value="UserLabelExample.csv" />
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
225 <param name="rl_type_choice" value="no_rl" />
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
226 <param name="classifier" value="rf" />
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
227 <output ftype="tabular" name="results" >
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
228 <assert_contents>
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
229 <has_text text="rf" />
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
230 </assert_contents>
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
231 </output>
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
232
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
233 </test>
c58c1a99578b planemo upload for repository https://github.com/paulzierep/DeepMicro commit 19cd7fd52900e23704975869cd66d5f7b219ae3e
iuc
parents: 0
diff changeset
234
0
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
235 <!-- test multiple parameter sets -->
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
236 <test expect_num_outputs="1">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
237 <param name="features" value="UserDataExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
238 <conditional name="mode">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
239 <param name="mode_type" value="e_and_c" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
240 <param name="class_labels" value="UserLabelExample.csv" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
241
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
242 <repeat name="parameter_set">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
243 <conditional name="rl_type">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
244 <param name="rl_type_choice" value="--cae" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
245 <param name="dm" value="20" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
246 <param name="classifier" value="rf" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
247 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
248 </repeat>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
249
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
250 <repeat name="parameter_set">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
251 <conditional name="rl_type">
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
252 <param name="rl_type_choice" value="--vae" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
253 <param name="dm" value="40" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
254 <param name="classifier" value="mlp" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
255 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
256 </repeat>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
257
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
258 </conditional>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
259
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
260 <output ftype="tabular" name="results" >
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
261 <assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
262 <has_text text="CAE[20]_rf" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
263 <has_text text="VAE[40]_mlp" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
264 </assert_contents>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
265 </output>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
266
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
267 </test>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
268
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
269 </tests>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
270 <help>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
271 <![CDATA[
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
272 DeepMicro is a deep representation learning framework exploiting various autoencoders
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
273 to learn robust low-dimensional representations from high-dimensional data and training
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
274 classification models based on the learned representation.
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
275
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
276 ======================================
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
277 Option 1) Only representation learning
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
278 ======================================
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
279
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
280 The representation learning does not require class labels and can be learned from the features alone.
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
281 The wrapper allows to explore multiple paramertes (i.e. different modes to
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
282 generate the features, please refer to the publication for details), for each
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
283 added parameter the encoded features are generated. Those features can then be passed to subsequent ML tools,
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
284 such as `Ensemble methods for classification and regression` or `Split Dataset into training and test subsets`
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
285
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
286 =====================================================
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
287 Option 2) Representation learning and classification
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
288 =====================================================
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
289
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
290 The tool itself can also evaluate the performance of the generated representation learning for different
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
291 classifiers internally using 5 fold CV. The wrapper allows to explore multiple paramertes and clfs.
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
292 Each parameter run will be stored as a line to the result file. If this option is chosen the latent representation is not
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
293 exported as output. To create the latent representation of the complete feature set, run the tool again
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
294 with the same parameters using the `Only representation learning` option.
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
295 The header of the result file is:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
296
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
297 '{Encoding}_{classifier}, AUC, ACC, Recall, Precision, F1_score, time-end, runtime(sec), classfication time(sec), best hyper-parameter'
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
298
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
299 The overall schema of the tool is shown in:
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
300
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
301 .. image:: ML_Workflow.png
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
302 ]]>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
303 </help>
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
304 <expand macro="citations" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
305 <expand macro="creator" />
77cbfe3e1b0d planemo upload for repository https://github.com/paulzierep/DeepMicro commit 1bbea291a9d77beafaeba83ab775d870ec24719e
iuc
parents:
diff changeset
306 </tool>