annotate graphembed.xml @ 0:388a17402cca draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
author iuc
date Tue, 10 Dec 2019 16:40:04 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
1 <tool id="graphembed" name="GraphEmbed" version="@VERSION@.0" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
2 <description>Compute and plot a 2D embedding of a data matrix given supervised class information</description>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
3 <macros>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
4 <token name="@VERSION@">2.4</token>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
5 </macros>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
6 <requirements>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
7 <requirement type="package" version="@VERSION@">graph_embed</requirement>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
8 </requirements>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
9 <version_command><![CDATA[
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
10 graphembed --version | cut -d'v' -f 2
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
11 ]]></version_command>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
12 <command detect_errors='exit_code'><![CDATA[
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
13 graphembed
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
14 -i '$i'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
15 -t '$t'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
16 -c '$class_confidence'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
17 -k '$k'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
18 -d '$d'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
19 -z '$z'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
20 -l '$l'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
21 #if str($advanced.option) == 'yes'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
22 '$advanced.correlation_transformation'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
23 '$advanced.feature_selection'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
24 '$advanced.normalization'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
25 --cmap_name '$advanced.cmap_name'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
26 --min_threshold '$advanced.min_threshold'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
27 --max_threshold '$advanced.max_threshold'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
28 --random_state '$advanced.random_state'
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
29 #end if
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
30 --do_not_add_timestamp
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
31 --figure_size 15
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
32 -o ./
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
33
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
34 ]]>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
35 </command>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
36
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
37 <inputs>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
38 <param argument="-i" type="data" format="tabular" label="Input Matrix"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
39 help="An feature-observation matrix, with features as rows and observations as columns (e.g. Genes vs Cells)" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
40 <param argument="-t" type="data" format="tabular" label="Observation Classes"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
41 help="A two-column file with observations in the first column, and an integer representing their assigned class in the second column (e.g. 'YFPCD24X3w_20 2')" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
42 <param argument="--class_confidence" type="float" value="1.0"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
43 label="Confidence bias for clustering" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
44 <param argument="-k" type="integer" value="5" min="0"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
45 label="Number of links towards closest neighbour with the same class" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
46 <param argument="-d" type="integer" value="1" min="0"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
47 label="Number of links towards denser neighbours with a different class" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
48 <param argument="-z" type="integer" value="10" min="0"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
49 label="Number of nearest neighbours to limit the horizon of where to
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
50 search for denser neighbours of a different class" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
51 <param argument="-l" type="integer" value="0"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
52 label="Number of mutual nearest neighbours that define outlier instances." />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
53 <conditional name="advanced" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
54 <param name="option" type="select" label="Use Advanced Parameters?">
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
55 <option value="yes" >Yes</option>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
56 <option value="no" selected="true" >No</option>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
57 </param>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
58 <when value="no" ></when>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
59 <when value="yes" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
60 <param argument="--correlation_transformation" type="boolean" optional="true"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
61 falsevalue="" truevalue="--correlation_transformation"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
62 label="Convert data matrix to corr coeff matrix" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
63 <param argument="--normalization" type="boolean" optional="true"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
64 falsevalue="" truevalue="--normalization"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
65 label="Convert data matrix to normalized matrix" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
66 <param argument="--feature_selection" type="boolean" optional="true"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
67 falsevalue="" truevalue="--feature_selection"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
68 label="Select most discriminative features" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
69 <param argument="--cmap_name" type="select"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
70 label="Color map" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
71 <option value="cubehelix" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
72 <option value="terrain" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
73 <option value="nipy_spectral" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
74 <option value="gist_stern" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
75 <option value="gist_ncar" selected="true" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
76 </param>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
77 <param argument="--min_threshold" type="integer" value="5"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
78 label="Min num instances per class" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
79 <param argument="--max_threshold" type="integer" value="400"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
80 label="Max num instances per class" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
81 <param argument="--random_state" type="integer" value="1"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
82 label="Random seed" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
83 </when>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
84 </conditional>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
85 <param name="showlog" type="boolean" checked="true" label="Output Log file" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
86 </inputs>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
87
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
88 <outputs>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
89 <data name="out_coords" format="tabular" from_work_dir="2D_coords.txt"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
90 label="${tool.name} on ${on_string}: 2D coords" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
91 <data name="out_target" format="tabular" from_work_dir="classes.txt"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
92 label="${tool.name} on ${on_string}: Classes" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
93 <data name="out_clean" format="pdf" from_work_dir="img_1_clean.pdf"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
94 label="${tool.name} on ${on_string}: Embed." />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
95 <data name="out_links" format="pdf" from_work_dir="img_2_links.pdf"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
96 label="${tool.name} on ${on_string}: Embed + 1st shift" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
97 <data name="out_hull" format="pdf" from_work_dir="img_4_hull.pdf"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
98 label="${tool.name} on ${on_string}: Embed + hulls + edges" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
99 <data name="out_hulllink" format="pdf" from_work_dir="img_5_hull_link.pdf"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
100 label="${tool.name} on ${on_string}: Embed + hulls + 1st shift" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
101 <data name="out_log" format="txt" from_work_dir="log"
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
102 label="${tool.name} on ${on_string}: Log" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
103 <filter>showlog</filter>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
104 </data>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
105 </outputs>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
106
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
107 <tests>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
108 <test expect_num_outputs="7" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
109 <param name="i" value="prot_expression.mini.tsv" ftype="tabular" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
110 <param name="t" value="target.tsv" ftype="tabular" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
111 <output name="out_coords" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
112 <assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
113 <has_text text="-3.8328 2.0278" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
114 <has_text text="7.0832 -4.1420" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
115 </assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
116 </output>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
117 <output name="out_target" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
118 <assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
119 <has_text text="14" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
120 <has_text text="8" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
121 </assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
122 </output>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
123 </test>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
124 <test expect_num_outputs="6" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
125 <param name="i" value="prot_expression.mini.tsv" ftype="tabular" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
126 <param name="t" value="target.tsv" ftype="tabular" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
127 <param name="class_confidence" value="1.5" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
128 <param name="k" value="5" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
129 <param name="z" value="10" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
130 <param name="l" value="0" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
131 <param name="random_state" value="2" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
132 <conditional name="advanced" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
133 <param name="option" value="yes" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
134 <param name="correlation_transformation" value="true" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
135 <param name="feature_selection" value="true" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
136 <param name="normalization" value="true" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
137 </conditional>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
138 <param name="showlog" value="false" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
139 <output name="out_target" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
140 <assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
141 <has_text text="14" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
142 <has_text text="16" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
143 </assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
144 </output>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
145 <output name="out_coords" >
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
146 <assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
147 <has_text text="25.9260 0.0171" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
148 <has_text text="-6.4521 -24.8940" />
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
149 </assert_contents>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
150 </output>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
151 </test>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
152 </tests>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
153 <help>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
154 ============
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
155 GraphEmbed
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
156 ============
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
157 *Compute a 2D embedding of a data matrix given supervised class information.*
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
158
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
159 Input: A discrete label for each instance is expected.
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
160
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
161 A graph is built where nodes are instances and there exist two types of edges:
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
162
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
163 * 'knn' edges
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
164 An edge to the k-th nearest instance that has the same label.
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
165 * 'k_shift' edges
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
166 An edge to the k-th nearest instance that is denser and has a different label
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
167
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
168 Density is defined as the sum of the pairwise cosine similarity between an instance and all the other instances. The desired edge length is the euclidean distance between the instances. If the endpoints of an edge have the same label then the desired distance is divided by 1 + class_confidence. A k-shift edge is deleted if at least one of the endpoints is an outlier. Outlier nodes are defined as those instances that have no mutual k neighbors.
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
169
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
170 Finally the embedding is computed as the 2D coordinates of the corresponding graph embedding using the force layout algorithm from Tomihisa Kamada, and Satoru Kawai. "An algorithm for drawing general undirected graphs.", Information processing letters 31, no. 1 (1989): 7-15. </help>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
171 <citations>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
172 <citation type="doi">10.5281/zenodo.825832</citation>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
173 </citations>
388a17402cca "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/graphembed/ commit fa8fcfdd990ab21b053c3a209018a21c89f6a82b"
iuc
parents:
diff changeset
174 </tool>