CIRCOS教程翻译 5.6——Rule

主配置文件:

<<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_display_default = no
chromosomes       = hs1;hs2;hs3

<links>

z      = 0
radius = 0.90r
crest  = 1
color  = vvlgrey
bezier_radius        = 0r
bezier_radius_purity = 0.50
thickness    = 2

<link>

file         = data/5/segdup.txt

<rules>

<rule> #相同染色体1M以内的links不显示
condition     = var(intrachr)
condition     = abs(var(pos1) - var(pos2)) < 1Mb
show          = no
</rule>

<rule> #相同染色体50M以内的格式变化(见第二节内容)
condition     = var(intrachr)
condition     = abs(var(pos1) - var(pos2)) < 50Mb
bezier_radius = 1.1r
bezier_radius_purity = 0.25
color         = dblue_a2
</rule>

<rule>
condition     = var(intrachr)
condition     = abs(var(pos1) - var(pos2)) < 100Mb
bezier_radius = 0.75r
crest         = 2
bezier_radius_purity = 0.25
color         = dgreen_a2
</rule>

<rule>
condition  = var(intrachr)
show       = no
</rule>

<rule>
condition  = var(interchr)
condition  = ( from(hs2) && var(start1) > 65Mb && var(start1) < 75Mb ) || ( to(hs2) && var(start2) > 65Mb && var(start2) < 75Mb )
z          = 60
color      = red_a1
thickness  = 5
radius     = 1r
</rule>

<rule>
condition  = max(var(size1),var(size2)) > 40kb
z          = 50
color      = black
thickness  = 5
</rule>

<rule>
condition  = max(var(size1),var(size2)) > 10kb
z          = 45
color      = dgrey
thickness  = 4
</rule>

<rule>
condition  = max(var(size1),var(size2)) > 5kb
z          = 40
color      = grey
thickness  = 3
</rule>

<rule>
condition  = max(var(size1),var(size2)) > 1kb
z          = 35
color      = lgrey
thickness  = 2
</rule>

</rules>

</link>

</links>

<<include etc/housekeeping.conf>>

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值