0
|
1 <tool id="gen_matrix_heatmap" name="Generate Heatmap for Matrix" force_history_refresh="True">
|
|
2 <command interpreter="python">gen.matrix.heatmap.py
|
|
3 -d ${dataset1}
|
|
4 -i ${image_format_cond.image_format}
|
|
5 -t ${output_treeview_format}
|
|
6 -r ${reverse_rows}
|
|
7
|
|
8 #if str($image_format_cond.image_format) == 'png':
|
|
9 -h $report_html
|
|
10 -p ${report_html.files_path}
|
|
11 #end if
|
|
12 #if str($image_format_cond.image_format) == 'pdf':
|
|
13 -h $report_pdf
|
|
14 #end if
|
|
15 #if str($treeview_output) != 'None':
|
|
16 -o ${treeview_output}
|
|
17 #end if
|
|
18
|
|
19 </command>
|
|
20 <inputs>
|
|
21 <param format="tabular" name="dataset1" type="data" label="Data Matrix" help="Provide a tab-delimited file with data to put into a heatmap generate"/>
|
|
22 <conditional name="image_format_cond">
|
|
23 <param name="image_format" type="select" display='radio' label="Image format">
|
|
24 <option value="pdf">PDF</option>
|
|
25 <option value="png" selected='true' >PNG (html wrapper)</option>
|
|
26 </param>
|
|
27 </conditional>
|
|
28 <param name="output_treeview_format" type='select' display="radio" label="Output in TreeView format as well?" help="Specify whether or not to produce files for TreeView">
|
|
29 <option value="no">No</option>
|
|
30 <option value="yes" selected='true' >Yes</option>
|
|
31 </param>
|
|
32 <param name="reverse_rows" type='select' display="radio" label="Reverse Row-order (to make consistent w\TreeView Display)?" help="Specify whether or not to reverse Row-order (to make the heatmap consistent with output from TreeView (reversed otherwise)">
|
|
33 <option value="no" selected='true'>No</option>
|
|
34 <option value="yes">Yes</option>
|
|
35 </param>
|
|
36 </inputs>
|
|
37 <outputs>
|
|
38 <data format="html" name="report_html" label="Heatmap from data matrix (HTML)">
|
|
39 <filter>(image_format_cond['image_format']=="png")</filter>
|
|
40 </data>
|
|
41 <data format="pdf" name="report_pdf" label="Heatmap from data matrix (PDF)">
|
|
42 <filter>(image_format_cond['image_format']=="pdf")</filter>
|
|
43 </data>
|
|
44 <data format="tgz" name="treeview_output" label="Heatmap from data matrix (tgz of TreeView files)">
|
|
45 <filter>(output_treeview_format)=="yes"</filter>
|
|
46 </data>
|
|
47 </outputs>
|
|
48 <help>
|
|
49 .. class:: infomark
|
|
50
|
|
51 **Generate Heatmap for Matrix** - Tool to Generate a simple heatmap for a data matrix
|
|
52 - The tool uses HAC, with euclidean distance. If user wants other options, we recomend using either the:
|
|
53
|
|
54 * Consensus Clustering tool
|
|
55 * Hierarchcical Clustering tool, OR
|
|
56 * Partitition Clusterint tool
|
|
57
|
|
58 **OUTPUT:**
|
|
59 * **Heatmap** in either PDF or PNG format
|
|
60 * **TreeView Files** gzip tarball file of the relevant files (OPTIONAL)
|
|
61
|
|
62 ----
|
|
63
|
|
64 **Parameters**
|
|
65
|
|
66 - **Matrix in tab-delimited format** Tab-delimited file
|
|
67
|
|
68 </help>
|
|
69 </tool>
|