annotate plotheatmap.xml @ 5:4cdaf6059e84 draft default tip

planemo upload
author marpiech
date Wed, 01 Feb 2017 10:29:17 -0500
parents db5d126bf8d0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
ddde82ae5dea planemo upload
marpiech
parents: 0
diff changeset
1 <tool id="plotheatmap" name="plotHeatmap" version="1.0">
ddde82ae5dea planemo upload
marpiech
parents: 0
diff changeset
2 <description>Plot heatmap</description>
5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
3 <requirements>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
4 <requirement type="package" version="3.0.1">r-gplots</requirement>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
5 </requirements>
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
6 <stdio>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
7 <exit_code range="1:" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
8 </stdio>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
9 <command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
10 <![CDATA[
5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
11 $__tool_directory__/tools/script.R $main.count_matrix $main.stats_matrix $filter.log_fc $filter.log_cpm $filter.pvalue $filter.fdr $heatmap.cluster_row $heatmap.cluster_col $heatmap.hclust_method $plotparm.col_marg $plotparm.row_marg $plotparm.pdf_width $plotparm.pdf_height > $rscript_log 2> $rerror_log
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
12
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
13 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
14 </command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
15 <inputs>
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
16 <section name="main" title="Main parameters" expanded="True">
5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
17 <param name="count_matrix" type="data" format="data" label="Output dataset 'count_matrix' from tool countMatrixForEdger"/>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
18 <param name="stats_matrix" type="data" format="data" label="Output dataset 'output' from tool edgeR"/>
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
19 </section>
5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
20 <section name="filter" title="Filtering parameters" expanded="True">
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
21 <param name="log_fc" type="float" value="0.5" label="A log FC threshold"/>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
22 <param name="log_cpm" type="float" value="0.5" label="A log CPM threshold"/>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
23 <param name="pvalue" type="float" value="0.5" label="A PValue threshold">
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
24 <validator type="in_range" min="0" max="1" />
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
25 </param>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
26 <param name="fdr" type="float" value="0.5" label="A FDR threshold">
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
27 <validator type="in_range" min="0" max="1" />
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
28 </param>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
29 </section>
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
30 <section name="heatmap" title="Heatmap parameters">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
31 <param name="cluster_row" type="select" label="Determines if the row dendrogram should be reordered">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
32 <option value="No" >No </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
33 <option value="Yes" selected="true" >Yes </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
34 </param>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
35 <param name="cluster_col" type="select" label="Determines if the column dendrogram should be reordered">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
36 <option value="No" selected="true">No </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
37 <option value="Yes" >Yes </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
38 </param>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
39
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
40 <param name="hclust_method" type="select" label="Hierarchical clustering method">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
41 <option value="ward.D" >ward.D </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
42 <option value="ward.D2" >ward.D2 </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
43 <option value="single" >single </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
44 <option value="complete" >complete </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
45 <option value="average" selected="true">average </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
46 <option value="mcquitty" >mcquitty </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
47 <option value="median" >median </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
48 <option value="centroid" >centroid </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
49 </param>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
50 </section>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
51
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
52
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
53 <section name="plotparm" title="Plot parameters">
5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
54 <param name="col_marg" type="float" value="7" label="Margins for column names"/>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
55 <param name="row_marg" type="float" value="8" label="Margins for row names"/>
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
56 <param name="pdf_width" type="float" value="7" label="Width of the graphics region in inches (pdf width)" />
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
57 <param name="pdf_height" type="float" value="7" label="Height of the graphics region in inches (pdf height)" />
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
58 </section>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
59
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
60 </inputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
61 <outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
62 <data format="pdf" name="haetamappdf" from_work_dir="heatmap.pdf" >
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
63 <filter>(outftype == 'pdf')</filter>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
64 </data>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
65 <data name="rscript_log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
66 <data name="rerror_log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
67 </outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
68 <tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
69
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
70 <test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
71 <param name="count_matrix" value="count.matrix"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
72 <param name="stats_matrix" value="stats.data"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
73 <param name="log_fc" value="1"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
74 <param name="log_cpm" value="2"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
75 <param name="pvalue" value="0.05"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
76 <param name="fdr" value="0.1"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
77 <output name="haetamappdf" file="heatmap.pdf" ftype="pdf" compare="sim_size" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
78 <output name="rscript_log" file="rscript.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
79 <output name="rerror_log" file="rerror.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
80
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
81 </test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
82
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
83 </tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
84 <help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
85 <![CDATA[
5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
86 **What it does**
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
87 It takes a list of genes basen on set filtering criteria and draws them on heatmap.
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
88 **Example**
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
89 The following filtering options:
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
90 A log FC threshold = 0.5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
91 A log CPM threshold = 0.5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
92 A PValue threshold = 0.05
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
93 A FDR threshold = 0.1
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
94 mean that you select genes whose values in output table from edgeR are:
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
95 * absolute value of logFC is greater than or equal 0.5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
96 * logCPM is greater than or equal 0.5
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
97 * PValue is less than or equal to 0.05
4cdaf6059e84 planemo upload
marpiech
parents: 3
diff changeset
98 * FDR is less than or equal to 0.1
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
99 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
100 </help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
101 <citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
102 </citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
103 </tool>