跟上篇几乎一样,主配置文件有变化,其他无变化:
karyotype = data/karyotype/karyotype.human.txt
chromosomes_units = 1000000
chromosomes_display_default = no
chromosomes = /hs[1234]$/
<colors>
chr1* = red
chr2* = orange
chr3* = green
chr4* = blue
</colors>
chromosomes_reverse = /hs[234]/
chromosomes_scale = hs1=0.5r,/hs[234]/=0.5rn
<plots>
<plot>
type = histogram #设定plot类型
file = data/5/segdup.hs1234.hist.txt
r1 = 0.88r #限定直方图最高和最低位置
r0 = 0.81r.
fill_color = vdgrey #直方图有fill和outline两种模式,其这种outline模式默认1px black,如果想关闭outline,令thickness = 0p
extend_bin = no #去掉直方图的底部的连接线
<rule>
condition = on(hs1) #不显示1号染色体上的相关直方图数据
show = no
</rule>
</plot>
<plot>
type = histogram
file = data/5/segdup.hs1234.stacked.txt
r1 = 0.99r
r0 = 0.92r
fill_color = hs1,hs2,hs3,hs4 #由于该数据每行有4个值,那么将四个值分别填充染色体的颜色
orientation = in #直方图方向朝向圆心
extend_bin = no
</plot>
</plots>
<links>
<link>
file = data/5/segdup.txt
radius = 0.8r
bezier_radius = 0r
color = black_a4
thickness = 2
<rules>
<rule>
condition = var(intrachr)
show = no
</rule>
<rule>
condition = 1
color = eval(var(chr2))
flow = continue
</rule>
<rule>
condition = from(hs1)
radius1 = 0.99r
</rule>
<rule>
condition = to(hs1)
radius2 = 0.99r
</rule>
</rules>
</link>
</links>
<<include ideogram.conf>>
<<include ticks.conf>>
<image>
<<include etc/image.conf>>
</image>
<<include etc/colors_fonts_patterns.conf>>
<<include etc/housekeeping.conf>>