annotate mda_heatmap_gen.xml @ 35:6ad3c487987d draft

Uploaded ng-chm version 2.5.3 handles java 8 issue and updates to heatmap viewer
author insilico-bob
date Mon, 05 Nov 2018 11:17:23 -0500
parents 58437af2d675
children 11a5827d5559
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" ?>
35
6ad3c487987d Uploaded ng-chm version 2.5.3 handles java 8 issue and updates to heatmap viewer
insilico-bob
parents: 34
diff changeset
2 <tool id="mda_heatmap_gen" name="NG-CHM Generator" version="2.5">
34
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
3 <requirements>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
4 <requirement type="package" version="3.4.1">r-base</requirement>
35
6ad3c487987d Uploaded ng-chm version 2.5.3 handles java 8 issue and updates to heatmap viewer
insilico-bob
parents: 34
diff changeset
5 <requirement type="package" version="1.8">java</requirement>
34
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
6 </requirements>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
7 <description>Create Clustered Heat Maps</description>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
8 <command interpreter="bash" detect_errors="aggressive">$__tool_directory__/heatmap.sh "standard" "Heat_Map_$hmname" "$hmdesc" '$inputmatrix' ${d_rows.rowOrderMethod} ${d_rows.rowDistanceMeasure} ${d_rows.rowAgglomerationMethod} ${d_cols.columnOrderMethod} ${d_cols.columnDistanceMeasure} ${d_cols.columnAgglomerationMethod} $summarymethod '$__tool_directory__;$__tool_data_path__/' 0 0 labels labels 'None'
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
9 #for $op in $operations
35
6ad3c487987d Uploaded ng-chm version 2.5.3 handles java 8 issue and updates to heatmap viewer
insilico-bob
parents: 34
diff changeset
10 '${op.class_name}'
6ad3c487987d Uploaded ng-chm version 2.5.3 handles java 8 issue and updates to heatmap viewer
insilico-bob
parents: 34
diff changeset
11 '${op.repeatinput.file_name}'
6ad3c487987d Uploaded ng-chm version 2.5.3 handles java 8 issue and updates to heatmap viewer
insilico-bob
parents: 34
diff changeset
12 '${op.cat}'
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
13 #end for
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
14 '$output'
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
15 </command>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
16 <stdio>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
17 <exit_code range="1:" level="fatal" />
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
18 </stdio>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
19 <inputs>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
20 <param name="inputmatrix" type="data" format="Tabular" label="Input Data Matrix" help="Tab delimited text file with row labels, column labels, and data." />
34
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
21 <param name="hmname" size="40" type="text" value="Heat_Map_name" label="Heat Map Name" help="Short Name for heat map (no spaces)."/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
22 <sanitizer>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
23 <valid>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
24 <add preset="string.printable"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
25 <!-- <add value="string.letters"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
26 <add value="string.digits"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
27 <add value="-"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
28 <add value="_"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
29 -->
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
30 <remove value="&quot;"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
31 <remove value="&apos;"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
32 <remove value=" "/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
33 </valid>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
34 </sanitizer>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
35 <param name="hmdesc" size="100" optional="true" type="text" value="Heat_Map_description" label="Heat Map Description" help="Longer description of the heat map contents."/>
34
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
36 <sanitizer>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
37 <valid>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
38 <add preset="string.printable"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
39 <add value="string.letters"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
40 <add value="string.digits"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
41 <add value="-"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
42 <add value="_"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
43 <remove value="&quot;"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
44 <remove value="&apos;"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
45 <remove value=" "/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
46 </valid>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
47 </sanitizer>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
48 <param name="summarymethod" type="select" label="Data Summarization Method" help="For large matrices, the selected method is used to aggregate data values in the summary view.">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
49 <option value="average">Average</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
50 <option value="sample">Sample</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
51 <option value="mode">Mode</option>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
52 </param>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
53 <conditional name="d_rows">
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
54 <param name="rowOrderMethod" type="select" label="Row ordering method" help="Determine if rows should be clustered, randomized, or remain as is.">
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
55 <option value="Hierarchical">Hierarchical Clustering</option>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
56 <option value="Original">Original Order</option>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
57 <option value="Random">Random</option>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
58 </param>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
59 <when value="Hierarchical">
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
60 <param name="rowDistanceMeasure" type="select" label="Row Distance Metric" help="For clustering, select the method of determining distance between rows">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
61 <option value="euclidean">Euclidean</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
62 <option value="binary">Binary</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
63 <option value="manhattan">Manhattan</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
64 <option value="maximum">Maximum</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
65 <option value="canberra">Canberra</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
66 <option value="minkowski">Minkowski</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
67 <option value="correlation">Correlation</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
68 </param>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
69 <param name="rowAgglomerationMethod" type="select" label="Row Clustering Method" help="For clustering, select algorithm for building clusters.">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
70 <option value="average">Average Linkage</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
71 <option value="complete">Complete Linkage</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
72 <option value="single">Single Linkage</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
73 <option value="ward" selected="true">Ward</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
74 <option value="mcquitty">Mcquitty</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
75 <option value="median">Median</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
76 <option value="centroid">Centroid</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
77 </param>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
78 </when>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
79 <when value="Original">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
80 <param name="rowDistanceMeasure" type="text" size="0" hidden="true" value="n/a"/>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
81 <param name="rowAgglomerationMethod" type="text" size="0" hidden="true" value="n/a"/>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
82 </when>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
83 <when value="Random">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
84 <param name="rowDistanceMeasure" type="text" size="0" hidden="true" value="n/a"/>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
85 <param name="rowAgglomerationMethod" type="text" size="0" hidden="true" value="n/a"/>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
86 </when>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
87 </conditional>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
88 <conditional name="d_cols">
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
89 <param name="columnOrderMethod" type="select" label="Column ordering method" help="Determine if columns should be clustered, randomized, or remain as is.">
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
90 <option value="Hierarchical">Hierarchical Clustering</option>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
91 <option value="Original">Original Order</option>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
92 <option value="Random">Random</option>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
93 </param>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
94 <when value="Hierarchical">
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
95 <param name="columnDistanceMeasure" type="select" label="Column Distance Metric" help="For clustering, select the method of determining distance between columns">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
96 <option value="euclidean">Euclidean</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
97 <option value="binary">Binary</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
98 <option value="manhattan">Manhattan</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
99 <option value="maximum">Maximum</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
100 <option value="canberra">Canberra</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
101 <option value="minkowski">Minkowski</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
102 <option value="correlation">Correlation</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
103 </param>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
104 <param name="columnAgglomerationMethod" type="select" label="Column Clustering Method" help="For clustering, select algorithm for building clusters.">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
105 <option value="average">Average Linkage</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
106 <option value="complete">Complete Linkage</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
107 <option value="single">Single Linkage</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
108 <option value="ward" selected="true">Ward</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
109 <option value="mcquitty">Mcquitty</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
110 <option value="median">Median</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
111 <option value="centroid">Centroid</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
112 </param>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
113 </when>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
114 <when value="Original">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
115 <param name="columnDistanceMeasure" type="text" size="0" hidden="true" value="n/a"/>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
116 <param name="columnAgglomerationMethod" type="text" size="0" hidden="true" value="n/a"/>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
117 </when>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
118 <when value="Random">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
119 <param name="columnDistanceMeasure" type="text" size="0" hidden="true" value="n/a"/>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
120 <param name="columnAgglomerationMethod" type="text" size="0" hidden="true" value="n/a"/>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
121 </when>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
122 </conditional>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
123 <repeat name="operations" title="Covariate Bars">
34
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
124 <param name="class_name" size="25" type="text" value="" label="Covariate Name" help="Covariate heat map display label.">
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
125 <sanitizer>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
126 <valid>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
127 <add preset="string.printable"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
128 <remove value="&quot;"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
129 <remove value="&apos;"/>
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
130 <remove value=" "/>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
131 </valid>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
132 </sanitizer>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
133 </param>
34
58437af2d675 Uploaded
insilico-bob
parents: 33
diff changeset
134 <param name="repeatinput" type="data" format="Tabular" label="Covariate File" help="Tab delimited text file with row or column label and covariate value on each line."/>
33
0097750ad7ad Version 2.2.1 embedded viewer
insilico-bob
parents: 32
diff changeset
135 <param name="cat" type="select" label="Axis Covariate Type" help="Identify the covariate as belonging to rows or columns and containing categorical or continuous values.">
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
136 <option value="row_categorical" >Row Categorical</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
137 <option value="row_continuous" >Row Continuous</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
138 <option value="column_categorical" >Column Categorical</option>
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
139 <option value="column_continuous" >Column Continuous</option>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
140 </param>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
141 </repeat>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
142 </inputs>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
143 <outputs>
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
144 <data name="output" label='Heat_Map_$hmname' format="ngchm"/>
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
145 </outputs>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
146 <tests>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
147 <test>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
148 <param name="inputmatrix" value="400x400.txt" />
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
149 <param name="hmname" value="testRun" />
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
150 <param name="$hmdesc" value="validateTool" />
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
151 <param name="summarymethod" value="Average" />
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
152 <param name="rowOrderMethod" value="Hierarchical" />
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
153 <param name="rowDistanceMeasure" value="Manhattan" />
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
154 <param name="rowAgglomerationMethod" value="Ward" />
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
155 <param name="columnOrderMethod" value="Hierarchical" />
32
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
156 <param name="columnDistanceMeasure" value="Manhattan" />
16593e40c2cd Version 2.0.5
insilico-bob
parents: 30
diff changeset
157 <param name="columnAgglomerationMethod" value="Ward" />
13
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
158 <output name="output" file="Galaxy400x400-noCovariates.ngchm" lines_diff="10" />
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
159
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
160 </test>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
161 <!-- galaxy/test-data/ dir where the input and output file that should match tool output will be copied -->
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
162 </tests>
7258044eda47 Uploaded
insilico-bob
parents:
diff changeset
163 </tool>