annotate report_clonality/circos/parse-table.conf @ 33:6603110e5be3 draft

Uploaded
author davidvanzessen
date Tue, 28 Mar 2017 08:38:58 -0400
parents afe85eb6572e
children 124b7fd92a3e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
2 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
3 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
4 # This is a fairly complicated configuration file. Take your time in
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
5 # experimenting and adjust one thing at a time :)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
6 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
7 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
8
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
9 max_col_num = 200
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
10 max_row_num = 200
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
11
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
12 # skip this many rows before reading in header and data
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
13 skip_rows = 0
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
14
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
15 # is there a header line that identifies the columns?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
16 header = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
17
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
18 # is there a row that specifies the order of columns in the image?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
19 # - if so, this must be the first line of the header
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
20 # - if the line exists (col_order_row=yes), employ the use_col_order_row to toggle whether it is used
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
21 col_order_row = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
22 use_col_order_row = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
23
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
24 # is there a row that specifies the size of columns in the image?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
25 # - if so, this must be the next line of the header
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
26 # - if the line exists (col_size_row=yes), employ the use_col_size_row to toggle whether it is used
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
27 col_size_row = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
28 use_col_size_row = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
29
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
30 # is there a row that specifies the color of each column segment in the image?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
31 # - if so, this must be the next line of the header
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
32 # - if the line exists (col_color_row=yes), employ the use_col_color_row to toggle whether it is used
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
33 col_color_row = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
34 use_col_color_row = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
35
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
36 # is there a column that specifies the order of rows in the image?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
37 # - if so, this must be the first column
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
38 # - if the line exists (row_order_col=yes), employ the use_row_order_col to toggle whether it is used
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
39 row_order_col = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
40 use_row_order_col = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
41
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
42 # is there a column that specifies the color of each row segment in the image?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
43 # - if so, this must be the second column
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
44 # - if the line exists (row_color_col=yes), employ the use_row_color_col to toggle whether it is used
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
45 row_color_col = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
46 use_row_color_col = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
47
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
48 # if you do not have a column/row that explicitly defines order
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
49 # of segments in the image, you can set this here. Use one (or more) of
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
50 # these values to specify how segments should be ordered.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
51 # - row_major (row segments first, then column)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
52 # - col_major (col segments first, then row)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
53 # - ascii (asciibetic order)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
54 # - row_size (total of rows for the segment - useful if the segment has both row and column contributions)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
55 # - col_size (total of colums for the segment - useful if the segment has both row and column contributions)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
56 # - row_to_col_ratio (ratio of total of rows to columns for the segment)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
57 # - col_to_row_ratio (ratio of total of rows to columns for the segment)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
58 # - size_asc (size, in ascending order)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
59 # - size_desc (size, in descending order)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
60
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
61 #segment_order = row_to_col_ratio,size_desc # col_major,size_desc
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
62 #segment_order = size_desc
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
63 segment_order = row_major,size_desc
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
64 #segment_order = ascii
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
65 #segment_order = file:etc/order-by-table-remapped.txt
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
66 #segment_order = size_desc,row_to_col_ratio
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
67 segment_color_order = row_major,size_desc
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
68
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
69 # values for segments can be normalized if the use_segment_normalization is set to yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
70 use_segment_normalization = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
71
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
72 # the normalization function can be one of the following, and is applied to
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
73 # all values that correspond to the segment's label
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
74 # total - sum of cell values for the segment label (row and col)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
75 # average - average of cell values for the segment label (row and col)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
76 # row_total, row_average - sum or average for cell values for the segment row
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
77 # col_total, col_average - sum or average for cell values for the segment col
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
78 # row_size, col_size, total_size - based on the optional size column (see col_size_row and row_size_col above)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
79 # VALUE - segments are scaled to a constant VALUE (e.g. 1000)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
80 segment_normalization_function = 1000
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
81
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
82 # normalization can be performed by either altering the actual data values or
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
83 # by applying a visual scaling of the segments. When 'value' is used, the data
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
84 # is changed. When 'visual' is used, then a chromosomes_scale line is reported
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
85 # by this script which you must include in circos.conf for the scaling to be applied
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
86 segment_normalization_scheme = value
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
87
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
88 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
89 # placement of cell ribbons on row/column segments
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
90 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
91 # for segments that share both column and row ribbons, the
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
92 # order of ribbon position can be adjusted with placement_order
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
93
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
94 placement_order = row,col # col,row or row,col
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
95
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
96 # within the row/column ribbon bundle for each segment,
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
97 # ribbon_bundle_order determines how the ribbons will be
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
98 # ordered
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
99 # - size - by value of the cell
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
100 # - ascii - sorted by destination label
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
101 # - native - sorted by order of destination segment
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
102
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
103 ribbon_bundle_order = native # size, ascii, native
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
104
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
105 # reverse the position of links in table/row segments?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
106
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
107 reverse_rows = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
108 reverse_columns = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
109
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
110 # values for cells with the same row/column name can be treated
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
111 # independently. You can
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
112 # show - show these cells and not filter them at all
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
113 # hide - hide these cells from the image, but not resize the row/columns
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
114 # remove - entirely remove these cells from the data set (equivalent to setting cells to missing value)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
115 intra_cell_handling = show
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
116
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
117 # ribbon layering - order in which the ribbons are drawn on the image
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
118 # size_asc - ascending by ribbon size (small ribbons drawn first, therefore large ribbons will be at front)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
119 # size_desc - descending by ribbon size (large ribbons drawn first, therefore small ribbons will be at front)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
120
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
121 ribbon_layer_order = size_asc
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
122
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
123 # if both (A,B)=x and (B,A)=y cells exist, you can choose to have the ribbon
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
124 # ends sized variably so that ribbon at A has width x and at B has width y
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
125
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
126 ribbon_variable = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
127 ribbon_variable_intra_collapse = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
128
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
129 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
130 # cell value mapping allows you to remap the cell values using
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
131 # any Perl expression that uses X as the cell value. For example,
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
132 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
133 # cell_remap_formula = log(X)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
134 # = sqrt(X)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
135 # = X/10
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
136 # = X ? log(X) : 0
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
137 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
138 # This remapping takes place before any filters or scaling is applied. Its effect
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
139 # is the same as remapping the cell values in the input file.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
140
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
141 use_cell_remap = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
142 cell_remap_formula = round(10*X)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
143
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
144 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
145 # scale your values with a power rule (useful if the range of values
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
146 # is very large) to
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
147 # - atten_large: attenuate large values and maintain visibility
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
148 # of ribbons corresponding to small values, or
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
149 # - atten_small: attenuate small values to increase visibility
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
150 # of ribbons corresponding to large values
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
151 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
152 # given a value, v, and a maximum, m
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
153 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
154 # atten_small:
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
155 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
156 # v_new = m * ( exp(scale_factor * v / m) - 1 ) / ( exp(scale_factor) - 1 )
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
157 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
158 # atten_large:
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
159 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
160 # v_new = m * ( log(scale_factor * v ) ) / ( log(scale_factor * m ) )
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
161 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
162 # essentially the values are remapped to a log-type scale
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
163 # with the range 0..m
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
164
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
165 use_scaling = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
166 scaling_type = atten_large
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
167 scale_factor = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
168
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
169 blank_means_missing = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
170 missing_cell_value = -
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
171
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
172 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
173 # Value cutoffs for cell values and ribbon formatting.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
174 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
175 # You can toggle the visibility of ribbons for cells outside
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
176 # a min/max range. You can define one or more of these cutoffs.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
177 # The cutoffs are applied to unscaled cell values.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
178
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
179 #cell_min_value = 10
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
180 #cell_min_percentile = 10
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
181 #cell_max_value = 100
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
182 #cell_max_percentile = 100
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
183
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
184 # For cell values that do not pass the min/max filters above,
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
185 # you can specify whether they are hidden or removed. If the
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
186 # parameter is not defined, "hide" will be assumed.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
187 # hide - cell values won't be shown, but row/col will not be resized
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
188 # remove - entirely remove these cells from the data set (equivalent to setting cells to missing value)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
189
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
190 cutoff_cell_handling = hide
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
191
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
192 # The color of ribbons is by default the color of the row segment from
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
193 # which they originate. The block below allows you to remap the color
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
194 # of the ribbons based on cell percentile values. There are two ways
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
195 # to remap colors
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
196 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
197 # - color_remap=yes, color_autoremap=no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
198 # Uses <percentile> blocks to define the percentile values and associated
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
199 # color/stroke_color characteristics for ribbons. Percentile value defined
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
200 # in the block (e.g. <percentile 55>) is the max percentile value for
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
201 # cells associated with this block.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
202 # - color_remap=yes, color_autoremap=yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
203 # Uses colors associated with each percentile window of size
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
204 # percentile_sampling for each cell
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
205
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
206 <linkcolor>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
207 color_source = row
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
208 percentile_source = larger
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
209 color_transparency = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
210 color_remap = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
211 color_autoremap = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
212
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
213 <percentile 50>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
214 color = dgrey
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
215 transparency = 5
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
216 </percentile>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
217
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
218 <percentile 60>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
219 color = dgrey
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
220 transparency = 5
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
221 </percentile>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
222
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
223 <percentile 70>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
224 transparency = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
225 </percentile>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
226
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
227 <percentile 80>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
228 transparency = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
229 </percentile>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
230
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
231 <percentile 90>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
232 transparency = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
233 stroke_color = black
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
234 stroke_thickness = 1p
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
235 </percentile>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
236
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
237 <percentile 100>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
238 transparency = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
239 stroke_color = black
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
240 stroke_thickness = 3p
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
241 </percentile>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
242
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
243 </linkcolor>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
244
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
245 <linkparam>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
246 color = vdgrey
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
247 #stroke_color = black
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
248 #stroke_thickness = 1p
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
249 </linkparam>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
250
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
251 # If you are using color_autoremap=yes above, then
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
252 # define the percentile sampling window and
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
253 # the start/end HSV color values. Percentile window
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
254 # colors are interpolated between this HSV pair.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
255 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
256 # HSV = (hue saturation value)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
257 # hue=(0..360) saturation=(0..1) value=(0..1)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
258
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
259 percentile_sampling = 5
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
260
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
261 # count - percentile based on counts
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
262 # value - percentile based on value
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
263
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
264 percentile_method = count
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
265
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
266 # use all values or only unique values when
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
267 # calculating percentiles
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
268 percentile_unique_only = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
269
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
270 # use a function, f(X), to remap cell values when calculating percentiles
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
271 # for the purpose of color mapping. This allows you to apply a remapping to how
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
272 # colors are calculated, without actually changing the values. The remap
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
273 # applies only if percentile_method=value
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
274
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
275 # percentile_remap = sqrt(X)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
276
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
277 # Which cell value set to use for percentile color mapping
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
278 # raw - original values
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
279 # filtered - values that pass min/max filters
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
280 # scaled - filtered values that have been scaled if use_scaling is set
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
281 percentile_data_domain = raw
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
282
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
283 <colors>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
284 h0 = 0
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
285 s0 = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
286 v0 = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
287 h1 = 300
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
288 s1 = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
289 v1 = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
290 </colors>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
291
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
292 # You can control the color and stroke of ribbons for each
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
293 # quartile (q1, q2, q3, q4). Any values defined here will
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
294 # overwrite colors determined by remapping.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
295 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
296 # For example, if you have a lot of cells and wish to attenuate
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
297 # the visibility of ribbons associated with small values, you can
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
298 # set cell_q1_color=vvlgrey,cell_q1_nostroke=yes to fade the
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
299 # ribbons into the background.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
300
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
301 #cell_q1_color = vvlgrey
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
302 #cell_q2_color = vlgrey
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
303 #cell_q3_color = lgrey
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
304 #cell_q4_color = red
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
305 #cell_q1_nostroke = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
306 #cell_q2_nostroke = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
307 #cell_q3_nostroke = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
308 #cell_q4_nostroke = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
309
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
310 # cell value multiplier, required when all data is small (e.g. <1), in which
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
311 # case set the multiplier to something like 1000 because Circos
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
312 # works only with integer scales
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
313
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
314 data_mult = 1
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
315
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
316 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
317 # Segment labels can be optionally set to a size that is
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
318 # proportional to the size of the segment. Set min/max size
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
319 # values here. If this line is commented out, then the label
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
320 # size is determined by the circos.conf file used to draw the image
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
321
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
322 #segment_label_size_range = 60,60
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
323
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
324 # progression controls how fast the label size changes from
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
325 # min to max (larger value of progression means values close to max
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
326 # are achieved for smaller segments)
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
327
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
328 segment_label_size_progression = 4
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
329
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
330 segment_label_uppercase = no
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
331
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
332 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
333 # Segment colors can be specified in the data file (in this
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
334 # case use row_color_col and col_color_row), otherwise colors
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
335 # are interpolated within an HSV range. Color interpolation can be
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
336 # done in two ways: based on segment index (interpolation steps through
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
337 # colors uniformly for each segment) and total size (interpolation
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
338 # steps through colors in proportion to segment size).
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
339
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
340 <segment_colors>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
341 interpolate_type = size # size or count
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
342 h0 = 0
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
343 s0 = 0.8
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
344 v0 = 0.9
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
345 h1 = 300
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
346 s1 = 0.8
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
347 v1 = 0.9
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
348 </segment_colors>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
349
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
350 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
351 # Shorten the labels of segments. Specify whether to do this
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
352 # with shorten_text=yes|no parameter and provide regular
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
353 # expressions in string_replace which define the text to
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
354 # replace.
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
355
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
356 shorten_text = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
357
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
358 <string_replace>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
359 IGH =
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
360 </string_replace>
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
361
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
362 # exit on any error
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
363 strict_sanity = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
364
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
365 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
366 # if the segment_prefix is set, then rows and columns will be
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
367 # renamed to internal fields segment_prefix + DIGIT
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
368
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
369 #segment_prefix = id
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
370 color_prefix = color
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
371
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
372 ################################################################
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
373 # Delimiters
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
374
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
375 # field delimiter regular expression
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
376 # if this is not defined, any whitespace will be considered a delimiter
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
377 field_delim = \s
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
378
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
379 # collapse adjacent delimiters?
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
380 field_delim_collapse = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
381
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
382 # remove any leading space in the input file
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
383 # by default, this is on - if you set this to "no", make sure that you don't have any leading spaces in your table!
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
384 strip_leading_space = yes
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
385
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
386 # remove quotes and thousand separators - concatenate characters to remove
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
387 #
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
388 # e.g. to remove characters a b c set remove_cell_rx=abc
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
389 # e.g. to remove characters " ' , set remove_cell_rx="',
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
390 remove_cell_rx = "',
afe85eb6572e Uploaded
davidvanzessen
parents:
diff changeset
391