美文网首页
记录一下circos配置文件

记录一下circos配置文件

作者: 夹竹桃的下午 | 来源:发表于2024-05-07 15:55 被阅读0次
<<include etc/colors_fonts_patterns.conf>>

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

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

#karyotype =karyotype.human.txt
karyotype = circos_plot/karyotype.human_chr.txt
chromosomes_units           = 1000000
chromosomes_display_default = yes
chromosomes_color   = hs1=red,hs2=orange,hs3=yellow,hs4=green,hs5=blue,hs6=dpurple,hs7=red,hs8=orange,hs9=yellow,hs10=green,hs11=blue,hs12=dpurple,hs13=red,hs14=orange,hs15=yellow,hs16=green,hs17=blue,hs18=dpurple,hs19=red,hs20=orange,hs21=yellow,hs22=green
#show_ticks = yes
<ideogram>
  show_ticks = no
  radius = 0.9r
  label_radius = 1.05r
#  label_padding = 2p
   label_size = 25
  <spacing>
    default = 0.005r
  </spacing>
  thickness = 40p
  fill      = yes
  stroke_color = black

</ideogram>

<links>
<link>
file = ./links_data.txt
radius = 0.2r
bezier_radius = 0r
thickness = 2
color = grey
</link>

<link>
file = ./links_data2.txt
radius = 0.2r
bezier_radius = 0r
thickness = 2
color = red
</link>

</links>
<plots>

# Data out of bounds should be hidden. Otherwise the
# default is to clip the data to range min/max.
#range = hide
<plot>
type =histogram
file =  ./sample.cnv_sample_filter.txt
r0   = 0.2r
r1   = 0.38r
min  = -1
max  = 1
glyph = circle
glyph_size = 8
color = vlpurple_a5
thickness = 3
spacing = 0.02r
<axes>
<axis>
color   =lpurple
thickness = 1
spacing   = 0.3r
#fill_color = vdgrey_a3
</axis>
</axes>
<backgrounds>
<background>
color = vlpurple_a5
</background>
</backgrounds>
<rules>
<rule>
condition  = var(value) > 0.05
color=dred
fill_color   = dred_a1
#glyph_size = eval( 6 + 4*abs(var(value)))
#flow       = continue
</rule>
<rule>
condition  = var(value) < -0.05
color=dblue
fill_color   = dblue_a1

</rule>
</rules>
</plot>



<plot>
type = line
#file = sample
file = ./sample.cnv.txt
r0   = 0.4r
r1   = 0.58r
min  = -1
max  = 1
glyph = circle
glyph_size = 8
color = blue
thickness = 5
<axes>
<axis>
color   =lblue
thickness = 1
spacing   = 0.3r
fill_color = vdgrey_a3
</axis>
</axes>
<backgrounds>
<background>
color = vlblue_a5
</background>
</backgrounds>

<rules>
<rule>
condition  = var(value) <1
#glyph_size = eval( 6 + 4*abs(var(value)))
flow       = continue
</rule>
<rule>
condition  = var(value) < 1
stroke_color = black
stroke_thickness = 2
</rule>
</rules>
</plot>



# scatter plot for values [-3,3]
<plot>
type = line
#file = cancer
file = Cnv_cancer.cnv.txt
r0   = 0.6r
r1   = 0.78r
min  = -0.6
max  = 0.6
glyph = circle
glyph_size = 8
color = red
thickness = 5
<axes>
<axis>
color     = lred
thickness = 1
spacing   = 0.3r
fill_color = vdgrey_a3
</axis>
</axes>

<backgrounds>
<background>
color = vlred_a5
</background>
</backgrounds>

<rules>
<rule>
condition  = var(value) <1
#glyph_size = eval( 6 + 4*abs(var(value)))
flow       = continue
</rule>
<rule>
condition  = var(value) < 1
stroke_color = black
stroke_thickness = 2
</rule>
</rules>
</plot>

# scatter plot for values [-3,3]
<plot>
type = line
#file = data/8/13/data.cnv.txt
file =  Cnv_Healthy.cnv.txt
r0   = 0.80r
r1   = 0.98r
min  = -1
max  = 1
glyph = circle
glyph_size = 18
color = green
thickness = 5   ###cnv line 的粗细
<axes>
<axis>
color     = lgreen
thickness = 1   ##外圈
spacing   = 0.3r
</axis>
</axes>

<backgrounds>
<rules>
<rule>
condition  = 1
glyph_size = eval( 6 + 4*abs(var(value)))
flow       = continue
</rule>
<rule>
condition    = var(value) < 3
stroke_color =  lgreen
stroke_thickness = 10
</rule>
</rules>

</plot>
</plots>


<<include etc/housekeeping.conf>>

相关文章

  • R 数据可视化 —— circlize 简单介绍

    介绍 圆形布局图非常适合表示复杂信息,其中最有名的软件当属 Circos,我们也介绍过 Circos 的配置文件方...

  • circos 配置文件解析

    Circos 的核心就是配置文件的编写,在配置文件中,包含两个方面的内容: 数据 参数 作为一款可视化工具,毫无疑...

  • circos使用笔记

    circos是用来展示数据的绘图工具,其数据展示方式主要通过配置文件来决定。不同的展示方式可通过不同的配置文件来进...

  • circos 可视化手册- fonts 篇

    在circos中,fonts, colors, patterns这3个系统内置的block, 通过同一个配置文件引...

  • Circos安装记录

    在实验室一个Ubuntu系统的服务器中安装Circos-0.67 首先检查Perl版本是否高于5.22,如果Per...

  • circos 可视化手册- images 篇

    image这个block是circos内置的block之一,其配置文件为软件安装目录下的etc/image.con...

  • 【可视化】circos图之自制核型

    在小华同学那里学得自制circos图核型,图虽小,用处却大,细节易忘,于是不经想动手记录下来。 这个circos图...

  • circos 可视化手册- colors 篇

    颜色属性是circos中使用频率最高的属性,由colors这个block进行设置,默认的配置文件为etc/circ...

  • Odoo的配置文件

    解压版的Odoo,配置文件网上搜一下,全是;这里记录一下源码安装的配置文件。 注:Mac主机,Odoo 10.0 ...

  • Circos简易安装与使用

    Circos是使用Perl写的程序,主要通过输入配置文件来作图。 安装 安装好后,检查依赖的模块是否安装好 若安装...

网友评论

      本文标题:记录一下circos配置文件

      本文链接:https://www.haomeiwen.com/subject/igzrfjtx.html