File: circos.conf

package info (click to toggle)
circos 0.69.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 65,120 kB
  • sloc: perl: 15,905; sh: 57; makefile: 9
file content (267 lines) | stat: -rw-r--r-- 4,759 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267

show_links      = yes
show_highlights = yes
show_text       = yes
show_heatmaps   = yes
show_scatter    = yes
show_histogram  = yes

<<include karyotype.and.layout.conf>>

### links
<links>

show          = conf(show_links)
ribbon        = yes
flat          = yes
radius        = 0.45r-55p
bezier_radius = 0r
color         = black_a5

<link>
file = data/rn.bundle.txt
<<include link.rules.conf>>
</link>

<link>
file = data/mm.bundle.txt
<<include link.rules.conf>>
</link>

</links>

### plots

<plots>

<<include highlights.conf>>

# some large human genes (list contains genes > 250kb in size)

<plot>
show   = conf(show_text)
type   = text
file   = data/genes.txt
color  = black
r1     = 0.73r
r0     = 0.415r
label_size   = 9p
label_font   = condensed
rpadding     = 0r
padding      = 0r

label_snuggle        = yes
max_snuggle_distance = 1r
snuggle_sampling     = 1
snuggle_tolerance    = 0.25r

show_links     = yes
link_dims      = 4p,2p,5p,2p,2p
link_thickness = 2p
link_color     = grey

<rules>
<rule>
condition  = var(value) =~ /omim/
color      = blue 
flow       = continue
</rule>
<rule>
condition  = var(value) =~ /cancer/
color      = red
label_font = bold
flow       = continue
</rule>
<rule>
# remove trailing _.* from label
condition  = 1
value      = eval(replace(var(value),qr/_.*/,""))
</rule>
</rules>

</plot>

# human->mouse and human->rat chain heatmaps

<plot>
show   = conf(show_heatmaps)
type   = heatmap
file   = data/heatmap.hs.mm.20e6.txt
# this is a 9-color Brewer blues sequential palette
# see etc/colors.brewer.lists.conf for color list definitions and
# etc/colors.brewer.conf for Brewer color RGB definitions
color  = blues-9-seq
min    = 0
max    = .20e6
r0     = 0.765r
r1     = 0.785r
stroke_color     = white
stroke_thickness = 1p
</plot>

<plot>
show   = conf(show_heatmaps)
type   = heatmap
file   = data/heatmap.hs.rn.20e6.txt
# this is a 9-color Brewer reds sequential palette
color  = reds-9-seq
min    = 0
max    = .20e6
r0     = 0.79r
r1     = 0.81r
stroke_color     = white
stroke_thickness = 1p
</plot>

<plot>
show   = conf(show_heatmaps)
type   = heatmap
file   = data/heatmap.hs.mm.10e6.txt
color  = blues-9-seq
min    = 0
max    = .10e6
r0     = 0.895r
r1     = 0.915r
stroke_color     = white
stroke_thickness = 1p
</plot>

<plot>
show   = conf(show_heatmaps)
type   = heatmap
file   = data/heatmap.hs.rn.10e6.txt
color  = reds-9-seq
min    = 0
max    = .10e6
r0     = 0.92r
r1     = 0.94r
stroke_color     = white
stroke_thickness = 1p
</plot>

<<include mmchain.heatmap.allchrs.conf>>
<<include rnchain.heatmap.allchrs.conf>>

<<include rnchain.scatter.allchrs.conf>>
<<include mmchain.scatter.allchrs.conf>>

################################################################
# histograms on human chromosomes

# total mouse chain, with scatter plot
# oriented outward
<plot>
show = conf(show_histogram)
type = histogram
file = data/heatmap.hs.mm.20e6.txt
min  = 0
max  = .5e6
fill_under = yes
# 4th color in 5-color blues sequential palette with
# transparency (_aN means N/6% transparency (5/6 = 83%).
fill_color = blues-5-seq-4_a5
r0 = 1r
r1 = 1r+180p
orientation = out

<backgrounds>
show  = data
<background>
color = vvlgrey
y0    = 0.4r
y1    = 0.6r
</background>
</backgrounds>

<axes>
show      = data
thickness = 1
<axis>
spacing       = 0.05r
color         = vlgrey
position_skip = 0.25r,0.35r
</axis>
<axis>
spacing   = 0.1r
y0        = 0.3r
y1        = 0.7r
color     = grey
</axis>
<axis>
position  = .3e6,0.55r
color     = red
thickness = 2
</axis>
</axes>

</plot>

<plot>
show = conf(show_scatter)
type = scatter
file = data/heatmap.hs.mm.5e6.txt
r1   = 1r+180p
r0   = 1r
max  = .5e6
min  = 0
glyph      = square
glyph_size = 6
color            = undef
stroke_color     = blues-5-seq-5
stroke_thickness = 1

</plot>

# total rat chain, with scatter plot
# oriented inward
<plot>
show = conf(show_histogram)
type = histogram
file = data/heatmap.hs.rn.20e6.txt
r1   = 1r+180p
r0   = 1r
max  = .5e6
min  = 0
fill_under = yes
fill_color = reds-5-seq-4_a5
orientation = in
</plot>

<plot>
show  = conf(show_scatter)
type  = scatter
file  = data/heatmap.hs.rn.5e6.txt
r1    = 1r+180p
r0    = 1r
max   = .5e6
min   = 0
glyph       = triangle
glyph_size  = 8
color       = reds-5-seq-5
orientation = in

</plot>

</plots>

<<include ideogram.conf>>
<<include ticks.conf>>

<image>
<<include image.conf>>
</image>

# includes colors.conf
#          fonts.conf
#          patterns.conf
<<include colors_fonts_patterns.conf>>

# system and debug settings
<<include housekeeping.conf>>
data_out_of_range* = trim

# If you experience strange artefacts in the image (spurious squares),
# turn anti aliasing off. This behaviour is due to a bug in some
# versions of libgd.
#anti_aliasing*     = no