现在根据上一篇对染色体的控制,这篇讲的是染色体自己内部的控制,主配置文件和breaks文件如下:
<<include etc/colors_fonts_patterns.conf>>
<<include ideogram.conf>>
<<include ticks.conf>>
<image>
<<include etc/image.conf>>
</image>
karyotype = data/karyotype/karyotype.human.txt
chromosomes_units = 1000000
chromosomes_display_default = no
chromosomes = hs1:0-100;hs2:0-100;hs3:0-100;hs4:0-100;hs5;hs6;hs7;hs8 #-代表多少范围内,0-100就是显示前100M区域的基因
chromosomes_breaks = -hs1:25-75;-hs2:25-75;-hs3:25-75;-hs4:25-75;-hs5:75-);-hs6:0-10,75-);-hs7:75-);-hs8:75-) #染色体前加-代表不显示,)括号代表显示到最后;breaks指的是断裂的区域
axis_break_at_edge = yes #边缘位置显示断点
axis_break = yes
axis_break_style = 2 #断点模式
<break_style 1>
stroke_color = black
fill_color = blue
thickness = 0.25r
stroke_thickness = 2p
</break_style>
<break_style 2>
stroke_color = black
stroke_thickness = 5p
thickness = 2r
</break_style>