記錄一下circos配置文件

<<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 的粗細(xì)
<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>>

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末霍殴,一起剝皮案震驚了整個(gè)濱河市长窄,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌氢拥,老刑警劉巖宝与,帶你破解...
    沈念sama閱讀 216,324評(píng)論 6 498
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件知残,死亡現(xiàn)場離奇詭異甩苛,居然都是意外死亡苞七,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,356評(píng)論 3 392
  • 文/潘曉璐 我一進(jìn)店門夺衍,熙熙樓的掌柜王于貴愁眉苦臉地迎上來狈谊,“玉大人,你說我怎么就攤上這事沟沙『尤埃” “怎么了?”我有些...
    開封第一講書人閱讀 162,328評(píng)論 0 353
  • 文/不壞的土叔 我叫張陵矛紫,是天一觀的道長赎瞎。 經(jīng)常有香客問我,道長颊咬,這世上最難降的妖魔是什么务甥? 我笑而不...
    開封第一講書人閱讀 58,147評(píng)論 1 292
  • 正文 為了忘掉前任,我火速辦了婚禮喳篇,結(jié)果婚禮上敞临,老公的妹妹穿的比我還像新娘。我一直安慰自己麸澜,他們只是感情好挺尿,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,160評(píng)論 6 388
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著炊邦,像睡著了一般编矾。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上馁害,一...
    開封第一講書人閱讀 51,115評(píng)論 1 296
  • 那天窄俏,我揣著相機(jī)與錄音,去河邊找鬼碘菜。 笑死凹蜈,一個(gè)胖子當(dāng)著我的面吹牛限寞,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播踪区,決...
    沈念sama閱讀 40,025評(píng)論 3 417
  • 文/蒼蘭香墨 我猛地睜開眼昆烁,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了缎岗?” 一聲冷哼從身側(cè)響起静尼,我...
    開封第一講書人閱讀 38,867評(píng)論 0 274
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎传泊,沒想到半個(gè)月后鼠渺,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,307評(píng)論 1 310
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡眷细,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,528評(píng)論 2 332
  • 正文 我和宋清朗相戀三年拦盹,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片溪椎。...
    茶點(diǎn)故事閱讀 39,688評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡普舆,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出校读,到底是詐尸還是另有隱情沼侣,我是刑警寧澤,帶...
    沈念sama閱讀 35,409評(píng)論 5 343
  • 正文 年R本政府宣布歉秫,位于F島的核電站蛾洛,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏雁芙。R本人自食惡果不足惜轧膘,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,001評(píng)論 3 325
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望兔甘。 院中可真熱鬧谎碍,春花似錦、人聲如沸裂明。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,657評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽闽晦。三九已至,卻和暖如春提岔,著一層夾襖步出監(jiān)牢的瞬間仙蛉,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,811評(píng)論 1 268
  • 我被黑心中介騙來泰國打工碱蒙, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留荠瘪,地道東北人夯巷。 一個(gè)月前我還...
    沈念sama閱讀 47,685評(píng)論 2 368
  • 正文 我出身青樓,卻偏偏與公主長得像哀墓,于是被迫代替她去往敵國和親趁餐。 傳聞我的和親對象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,573評(píng)論 2 353