标签边际,博主发现软件给的教程和网上的教程感觉越来越不一样了,不知道怎么回事,不过博主还是要测试一些不知道的参数,按照软件的教程运行程序,至于网上的教程给个名字吧:
<<include 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 = hs1;hs2;hs3:0-100;hs4:100-150
chromosomes_scale = hs1:0.5;hs2:1;hs3:4;hs4:8 #设定染色体的大小比例
chromosomes_display_default = no
<<include etc/housekeeping.conf>>
ticks的配置文件:
show_ticks = yes
show_tick_labels = yes
<ticks>
radius = dims(ideogram,radius_outer)
multiplier = 1e-6
label_offset = 5p #offset算是明白一些了,就是距离圈圈边际的长度
thickness = 3p
size = 20p
tick_separation = 2p
label_separation = 5p #和上一节的内容一样,都是在显示全部的基础上,如果小于5p的范围就不显示
<tick>
spacing = 0.5u
color = red
show_label = yes
label_size = 14p
label_offset = 0p
format = %.1f
</tick>
<tick>
spacing = 1u
color = blue
show_label = yes
label_size = 16p
label_offset = 0p
format = %d
</tick>
<tick>
spacing = 5u
color = green
show_label = yes
label_size = 20p
label_offset = 0p
format = %d
</tick>
<tick>
spacing = 10u
color = black
show_label = yes
label_size = 24p
label_offset = 5p
format = %d
</tick>
</ticks>