annotate heatmapr.xml @ 4:e426a7a39562 default tip

Set version on Conservation Plot tool
author Jim Johnson <jj@umn.edu>
date Wed, 17 Dec 2014 15:11:38 -0600
parents 0476ee45d253
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
1 <tool name="Heatmap" id="ceas_heatmapr" version="0.1.0">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
2 <description>Draw the scores heatmap near a given interval set and use k-means to cluster the intervals</description>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
3 <macros>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
4 <import>ceas_macros.xml</import>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
5 </macros>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
6 <expand macro="requirements_bx" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
7 <command>
1
0476ee45d253 Fix multiple wig input for heatmap.
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
8 #set $wfiles = str($wfile)
0
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
9 #set $ttitle = "\""+str($title)+"\""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
10 #set $txlabel = "\""+str($xlabel)+"\""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
11 #set $tylabel = "\""+str($ylabel)+"\""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
12 #for $m in $more
1
0476ee45d253 Fix multiple wig input for heatmap.
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
13 #set $wfiles = $wfiles + "," + str($m.wfile)
0
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
14 ###set $ttitle = $ttitle + ",\"" + str($m.title)+"\""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
15 #set $txlabel = $txlabel + ",\"" + str($m.xlabel)+"\""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
16 #set $tylabel = $tylabel + ",\"" + str($m.ylabel)+"\""
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
17 #end for
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
18 #set $advparam = " --title="+str($ttitle)+" --subtitle="+str($txlabel)+" --y_label="+str($tylabel)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
19
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
20 #if $methodadvopt.methodadvopt_select == "kmeans"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
21 #set $methodopt = " --method="+str($methodadvopt.methodadvopt_select)+" -k "+str($methodadvopt.kmeans)+" --k_wigindex="+str($methodadvopt.k_wigindex)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
22 #else if $methodadvopt.methodadvopt_select == "none"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
23 #set $methodopt = " --method="+str($methodadvopt.methodadvopt_select)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
24 #else
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
25 #set $methodopt = " --method="+str($methodadvopt.methodadvopt_select)+" --s_wigindex="+str($methodadvopt.s_wigindex)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
26 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
27
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
28 #if $advopt.advopt_select == "yes"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
29 #set $advparam = $advparam+" -s "+str($advopt.saturation)+" --upstream="+str($advopt.upstrm)+" --downstream="+str($advopt.dnstrm)+" --pf-res="+str($advopt.step)+" --fontsize="+str($advopt.fontsize)+" --col="+str($advopt.colors)+" --pic_width="+str($advopt.pic_width)+" --pic_height="+str($advopt.pic_height)+" "+str($advopt.horizontal_line)+" "+str($advopt.vertical_line)+" "+str($advopt.dir)+" "+str($advopt.set_seed)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
30
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
31 #if $advopt.zmax.value
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
32 #set $advparam = $advparam+" --zmax="+str($advopt.zmax)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
33 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
34 #if $advopt.zmin.value
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
35 #set $advparam = $advparam+" --zmin="+str($advopt.zmin)
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
36 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
37 #else
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
38 #set $advparam = " "
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
39 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
40 ##
1
0476ee45d253 Fix multiple wig input for heatmap.
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
41 heatmapr -b "$bfile" -w "$wfiles"
0
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
42 #if $wfile.extension == "wig"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
43 --wig_format="wig"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
44 #elif $wfile.extension == "bigwig"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
45 --wig_format="bigwig"
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
46 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
47 --name=$name $methodopt $advparam &amp;> $log &amp;&amp;
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
48 Rscript output_kmeans.r
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
49 </command>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
50 <inputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
51 <param name="name" type="hidden" value="output"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
52 <param format="bed" name="bfile" type="data" label="BED file(center will be aligned, 100,000 lines max)" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
53 <param format="wig,bigwig" name="wfile" type="data" label="wig / bigwig file" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
54 <param name="title" type="text" label="Title for the whole heatmap plot" value="Heatmap" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
55 <param name="xlabel" type="text" label="Subtitle for heatmap plot" value="subtitle" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
56 <param name="ylabel" type="text" label="Y-label for heatmap plot" value="Y-label" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
57 <repeat name="more" title="More wig / bigwig files">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
58 <param format="wig,bigwig" name="wfile" type="data" label="WIGGLE file" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
59 <param name="xlabel" type="text" label="Subtitle for heatmap plot" value="subtitle" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
60 <param name="ylabel" type="text" label="Y-label for heatmap plot" value="Y-label" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
61 </repeat>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
62 <conditional name="methodadvopt">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
63 <param name="methodadvopt_select" type="select" label="choose sort/clustering method">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
64 <option value="kmeans">cluster - kmeans</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
65 <option value="median">only sort - median</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
66 <option value="maximum">only sort - maximun</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
67 <option value="mean">only sort - mean</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
68 <option value="none">none - keep original order of bed.</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
69 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
70 <when value="kmeans">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
71 <param name="kmeans" type="integer" label="K-means number" value="5">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
72 <validator type="in_range" max="10" min="3" message="K-means is out of range, K-means has to be between 3 to 10" /></param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
73 <param name="k_wigindex" type="text" label="use which wigs to calc kmeans. input 'all' or sth like '1,2,4' (use the 1st, 2nd and 4th wig.)" value="all" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
74 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
75 <when value="median">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
76 <param name="s_wigindex" type="integer" label="key wig file for sorting" value="1" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
77 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
78 <when value="maximum">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
79 <param name="s_wigindex" type="integer" label="key wig file for sorting" value="1" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
80 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
81 <when value="mean">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
82 <param name="s_wigindex" type="integer" label="key wig file for sorting" value="1" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
83 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
84 </conditional>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
85 <conditional name="advopt">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
86 <param name="advopt_select" type="select" label="Advanced Options">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
87 <option value="no">No</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
88 <option value="yes">Yes</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
89 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
90 <when value="yes">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
91 <param name="step" type="integer" label="Step" value="10">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
92 <validator type="in_range" max="1000" min="5" message="step is out of range, step has to be between 5 to 1000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
93 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
94 <param name="saturation" type="float" label="Saturation" value="0.01" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
95 <param name="upstrm" type="integer" label="Upstream" value="500">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
96 <validator type="in_range" max="10000" min="100" message="Upstream is out of range, Upstream has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
97 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
98 <param name="dnstrm" type="integer" label="Downstream" value="500">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
99 <validator type="in_range" max="10000" min="100" message="Downstream is out of range, Downstream has to be between 100 to 10000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
100 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
101 <param name="fontsize" type="integer" label="Image fontsize. (better not change)" value="1" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
102 <param name="colors" type="text" size="100" label="colorRamp for the legend of heatmap, from low value to high, use ','to split" value="053061,2166AC,4393C3,92C5DE,D1E5F0,F7F7F7,FDDBC7,F4A582,D6604D,B2182B,67001F" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
103 <param name="pic_width" type="integer" label="Heatmap width" value="1920">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
104 <validator type="in_range" max="16000" min="1600" message="Heatmap wodth is out of range, width has to be between 1600 to 16000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
105 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
106 <param name="pic_height" type="integer" label="Heatmap height" value="1440">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
107 <validator type="in_range" max="12000" min="1200" message="Heatmap height is out of range, height has to be between 1200 to 12000" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
108 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
109 <param name="zmin" type="text" label="minimum value in image" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
110 <param name="zmax" type="text" label="maximum value in image" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
111 <param name="horizontal_line" type="boolean" label="Plot classified lines?" checked="no" truevalue="-z" falsevalue=" " />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
112 <param name="vertical_line" type="boolean" label="Plot vertical line?" checked="no" truevalue="-v" falsevalue=" " />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
113 <param name="dir" type="boolean" label="consider the direction (+/-) while profiling" checked="no" truevalue="--dir" falsevalue=" " />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
114 <param name="set_seed" type="boolean" label="Set seed to make result reproducible (for developers)" checked="no" truevalue="--set-seed" falsevalue=" " />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
115 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
116 <when value="no" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
117 </conditional>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
118 </inputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
119 <outputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
120 <data format="png" name="outputpng" label="Heatmap image" from_work_dir="output_r.heatmap.png"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
121 <data format="txt" name="outputr" label="Heatmapr R script" from_work_dir="output_kmeans.r"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
122 <data format="tabular" name="outputbed" label="Heatmap k-means classified regions" from_work_dir="output_peak_classid"/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
123 <data format="txt" name="log" label="Heatmap log" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
124 </outputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
125 <expand macro="stdio" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
126 <tests>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
127 <test>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
128 <param name="wfile" value="treatment.wig" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
129 <param name="bfile" value="peak.bed" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
130 <param name="title" value="title" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
131 <param name="xlabel" value="xlabel" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
132 <param name="ylabel" value="ylabel" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
133 <param name="methodadvopt_select" value="kmeans" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
134 <param name="kmeans" value="5" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
135 <param name="advopt_select" value="yes" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
136 <param name="k_wigindex" value="1" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
137 <param name="step" value="10" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
138 <param name="upstrm" value="500" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
139 <param name="dnstrm" value="400" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
140 <param name="fontsize" value="2" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
141 <param name="colors" value="053061,2166AC,4393C3,92C5DE,D1E5F0,F7F7F7,FDDBC7,F4A582,D6604D,B2182B,67001F" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
142 <param name="zmin" value="" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
143 <param name="zmax" value="" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
144 <param name="pic_width" value="1600" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
145 <param name="pic_height" value="1200" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
146 <param name="horizontal_line" value="-z" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
147 <param name="vertical_line" value="-v" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
148 <param name="dir" value=" " />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
149 <param name="set_seed" value="--set-seed" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
150 <output name="outputbed">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
151 <assert_contents>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
152 <has_text_matching expression="1\tchr19\t58470227\t58470701\tMACS_peak_9625\t113.34" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
153 </assert_contents>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
154 </output>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
155 </test>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
156 </tests>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
157 <help>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
158 This tool draws the scores heatmap near a given interval set..It's
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
159 based on sitrpro script in Hyunjin Shin's library. Original code is
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
160 written by Jian Ma. It uses
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
161 R module for kmeans clustering and draw the heatmap.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
162
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
163 .. class:: warningmark
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
164
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
165 **NEED IMPROVEMENT**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
166
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
167 -----
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
168
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
169 **Parameters**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
170
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
171 - **BED file** contains the regions to extract the scores from WIGGLE
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
172 - **K-means (Advanced)** defines the number of classes in k-means
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
173 clustering.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
174 files.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
175 - **WIGGLE file** contains the scores for heatmap.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
176 - **More WIGGLE file** click the *Add new More WIGGLE files* to add
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
177 more. All the heatmap for the WIGGLE files will be aligned and
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
178 clutered together.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
179 - **Advanced Options** to turn on advanced settings. You will lose
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
180 advanced settings and go back to default parameters when you choose
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
181 'No'.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
182 - **Upstream/Downstream (Advanced)** size around regions in BED file.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
183 - **Step (Advanced)** is the profiling resolution in bps.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
184 - **Saturation** before the script use the score data to draw heatmap,
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
185 it will saturate the data to a narrow scale. For example, if you set
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
186 the option to 0.1, The data smaller than 10% of the data or bigger
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
187 than 90% of the data will be saturated to 10% or 90% of the data.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
188 - **col_low/col_high** is the color of legend for images.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
189 - **pic_width/pic_height** is the size of heatmap image.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
190 - **zmin/zmax** is the max value and min value for the legend bar.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
191 - **horizontal_line** lines in black to separate the clusters.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
192
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
193 -----
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
194
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
195 **Outputs**
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
196
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
197 - *PNG file* is the heatmap image
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
198 - *clustering result file* Contain the clustering results from the
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
199 tool. The 'Score' column (5th column) contains the cluster indices.
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
200 - *Log* for job log. If you see errors, please attached this in
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
201 the bug report
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
202
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
203 </help>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
204
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
205 </tool>