annotate plotheatmap.xml @ 3:db5d126bf8d0 draft

planemo upload
author marpiech
date Thu, 22 Dec 2016 18:19:53 -0500
parents ddde82ae5dea
children 4cdaf6059e84
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>
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
3 <stdio>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
4 <exit_code range="1:" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
5 </stdio>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
6 <command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
7 <![CDATA[
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
8 $__tool_directory__/tools/script.R $main.count_matrix $main.stats_matrix $main.log_fc $main.log_cpm $main.pvalue $main.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
9
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
10 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
11 </command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
12 <inputs>
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
13 <section name="main" title="Main parameters" expanded="True">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
14 <param name="count_matrix" type="data" format="data" label=""/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
15 <param name="stats_matrix" type="data" format="data" label=""/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
16 <param name="log_fc" type="float" value="0.5" label=""/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
17 <param name="log_cpm" type="float" value="0.5" label=""/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
18 <param name="pvalue" type="float" value="0.5" label=""/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
19 <param name="fdr" type="float" value="0.5" label=""/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
20 </section>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
21
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
22 <section name="heatmap" title="Heatmap parameters">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
23 <param name="cluster_row" type="select" label="Determines if the row dendrogram should be reordered">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
24 <option value="No" >No </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
25 <option value="Yes" selected="true" >Yes </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
26 </param>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
27 <param name="cluster_col" type="select" label="Determines if the column dendrogram should be reordered">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
28 <option value="No" selected="true">No </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
29 <option value="Yes" >Yes </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
30 </param>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
31
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
32 <param name="hclust_method" type="select" label="Hierarchical clustering method">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
33 <option value="ward.D" >ward.D </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
34 <option value="ward.D2" >ward.D2 </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
35 <option value="single" >single </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
36 <option value="complete" >complete </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
37 <option value="average" selected="true">average </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
38 <option value="mcquitty" >mcquitty </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
39 <option value="median" >median </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
40 <option value="centroid" >centroid </option>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
41 </param>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
42 </section>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
43
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
44
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
45 <section name="plotparm" title="Plot parameters">
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
46 <param name="col_marg" type="float" value="7" label="Margins or column names"/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
47 <param name="row_marg" type="float" value="8" label="Margins or row names"/>
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
48 <param name="pdf_width" type="float" value="7" label="Width of the graphics region in inches" />
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
49 <param name="pdf_height" type="float" value="7" label="Height of the graphics region in inches" />
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
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
53
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
54 </inputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
55 <outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
56 <data format="pdf" name="haetamappdf" from_work_dir="heatmap.pdf" >
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
57 <filter>(outftype == 'pdf')</filter>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
58 </data>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
59 <data name="rscript_log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
60 <data name="rerror_log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
61 </outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
62 <tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
63
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
64 <test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
65 <param name="count_matrix" value="count.matrix"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
66 <param name="stats_matrix" value="stats.data"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
67 <param name="log_fc" value="1"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
68 <param name="log_cpm" value="2"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
69 <param name="pvalue" value="0.05"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
70 <param name="fdr" value="0.1"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
71 <output name="haetamappdf" file="heatmap.pdf" ftype="pdf" compare="sim_size" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
72 <output name="rscript_log" file="rscript.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
73 <output name="rerror_log" file="rerror.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
74
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
75 </test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
76
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
77 </tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
78 <help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
79 <![CDATA[
3
db5d126bf8d0 planemo upload
marpiech
parents: 1
diff changeset
80
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
81 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
82 </help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
83 <citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
84 </citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
85 </tool>