1
|
1 <tool id="plotheatmap" name="plotHeatmap" version="1.0">
|
|
2 <description>Plot heatmap</description>
|
0
|
3 <stdio>
|
|
4 <exit_code range="1:" />
|
|
5 </stdio>
|
|
6 <command>
|
|
7 <![CDATA[
|
|
8 $__tool_directory__/tools/script.R $count_matrix $stats_matrix $log_fc $log_cpm $pvalue $fdr > $rscript_log 2> $rerror_log
|
|
9
|
|
10 ]]>
|
|
11 </command>
|
|
12 <inputs>
|
|
13 <param name="count_matrix" type="data" format="data" label=""/>
|
|
14 <param name="stats_matrix" type="data" format="data" label=""/>
|
|
15 <param name="log_fc" type="float" value="0.5" label=""/>
|
|
16 <param name="log_cpm" type="float" value="0.5" label=""/>
|
|
17 <param name="pvalue" type="float" value="0.5" label=""/>
|
|
18 <param name="fdr" type="float" value="0.5" label=""/>
|
|
19
|
|
20 </inputs>
|
|
21 <outputs>
|
|
22 <data format="pdf" name="haetamappdf" from_work_dir="heatmap.pdf" >
|
|
23 <filter>(outftype == 'pdf')</filter>
|
|
24 </data>
|
|
25 <data name="rscript_log" format="data" />
|
|
26 <data name="rerror_log" format="data" />
|
|
27 </outputs>
|
|
28 <tests>
|
|
29
|
|
30 <test>
|
|
31 <param name="count_matrix" value="count.matrix"/>
|
|
32 <param name="stats_matrix" value="stats.data"/>
|
|
33 <param name="log_fc" value="1"/>
|
|
34 <param name="log_cpm" value="2"/>
|
|
35 <param name="pvalue" value="0.05"/>
|
|
36 <param name="fdr" value="0.1"/>
|
|
37 <output name="haetamappdf" file="heatmap.pdf" ftype="pdf" compare="sim_size" />
|
|
38 <output name="rscript_log" file="rscript.log"/>
|
|
39 <output name="rerror_log" file="rerror.log"/>
|
|
40
|
|
41 </test>
|
|
42
|
|
43 </tests>
|
|
44 <help>
|
|
45 <![CDATA[
|
|
46 ]]>
|
|
47 </help>
|
|
48 <citations>
|
|
49 </citations>
|
|
50 </tool> |