gbrowse图形显示配置

Gbrowse图谱可以分为三部分,overview,region,details,每一部分都可以显示0到多个的映描(track),对于trace的定义,可以分为以下几部分:

  •  track显示的内容,显示什么样的数据
  •  track显示为什么样子,具体的样式
  •  track有关的文字描述
  •  track有关的行为,比如冒泡提示,点击或者经过时的行为,启动的链接

更为复杂的主题包括:

  •  显示样式、内容的动态话
  •  多种来源、多种类型的数据组合
  •  不同缩放比例,显示不同的样式
  •  对于显示数据内容数目的限制
  •  track的层级分类,一个track下可以分为多个不同的下级track
  •  密度图、频率图显示
  •  不同用户的权限管理

图示

gbrowse图形显示配置-图片1

配置示例

  1. [Density:overview]在overview区域显示
  2. feature       = density feature的类型,可以是多个,也可以使用来源进行限制
  3. glyph         = xyplot Track显示的图形样式
  4. graph_type    = boxes 下面都是选择xyplot后,设定的相应的参数
  5. max_score     = 60
  6. min_score     = 0
  7. scale         = none
  8. bgcolor       = red
  9. fgcolor       = red
  10. height        = 20
  11. label         = 0 每一feature是否显示标题
  12. key           = Density histograms /10k Track的标题
  13.  
  14. [GC:region] Region取显示
  15. glyph        = dna
  16. global feature = 1
  17. height       = 40
  18. do_gc        = 1
  19. gc_window    = auto
  20. strand       = both
  21. fgcolor      = red
  22. axis_color   = blue
  23. key          = DNA/GC Content
  24.  
  25. [Genes] details区显示
  26. feature      = gene
  27. glyph        = so_transcript
  28. bgcolor      = yellow
  29. forwardcolor = yellow
  30. reversecolor = turquoise
  31. label        = sub { my $f = shift;
  32.                      my $name = $f->display_name;
  33.                      my @aliases = $f->attributes('Alias');
  34.                      $name .= " (@aliases)" if @aliases;
  35.              $name;
  36.   }
  37. height       = 6
  38. description  = 0
  39. key          = Named gene
  40.  
  41. [mRNA]
  42. feature      = exon
  43. glyph        = transcript
  44. description  = 1
  45. height       = 10
  46. sixframe     = 1
  47. label        = sub {shift->name . " reading frame"}
  48. key          = mRNA
  49.  
  50. [CDS]
  51. feature      = CDS
  52. glyph        = transcript2
  53. height       = 10
  54. connector    = 1
  55. connector_color =black
  56. strand_arrow =1
  57. key          = CDS
  58.  
  59. [tRNAs]
  60. feature       = tRNA
  61. glyph         = generic
  62. bgcolor       = lightgray
  63. fgcolor       = black
  64. height        = 4
  65. stranded      = 1
  66. description   = 1
  67. key           = tRNAs
  68.  
  69. [rRNA]
  70. feature       = rRNA
  71. fgcolor       = orange
  72. glyph         = generic
  73. description   = 1
  74. key           = rRNAs
  75.  
  76. [pseudogene]
  77. feature       = pseudogene
  78. glyph        = gene
  79. bgcolor       = lightgray
  80. fgcolor       = black
  81. height        = 4
  82. key           = pseudogene
  83.  
  84. [pseudogenic region]
  85. feature       = pseudogenic_region
  86. glyph         = segments
  87. bgcolor       = lightgray
  88. fgcolor       = black
  89. height        = 4
  90. key           = pseudogenic region
  91. description   = 0
  92.  
  93. [mobile element]
  94. feature       = mobile_element
  95. glyph         = segments
  96. bgcolor       = lightgray
  97. fgcolor       = black
  98. height        = 4
  99. description   = 0
  100. key           = mobile element
  101.  
  102. [processed transcript]
  103. feature       = processed_transcript
  104. glyph         = generic
  105. bgcolor       = lightgray
  106. fgcolor       = black
  107. height        = 4
  108. description   = 0
  109. key           = processed transcript

glyph支持的类型

glyph指定的类型,实际上画图调用的是 Bio::Graphics相应的方法,而具体画图可以设定的变量以及相应的意义,也可以通过查看 Bio::Graphics 模块的文档获得。支持的类型包括:

  1. Bio::Graphics::Glyph::Factory
  2. Bio::Graphics::Glyph::alignment
  3. Bio::Graphics::Glyph::anchored_arrow
  4. Bio::Graphics::Glyph::arrow
  5. Bio::Graphics::Glyph::box
  6. Bio::Graphics::Glyph::broken_line
  7. Bio::Graphics::Glyph::cds
  8. Bio::Graphics::Glyph::christmas_arrow
  9. Bio::Graphics::Glyph::crossbox
  10. Bio::Graphics::Glyph::dashed_line 虚线
  11. Bio::Graphics::Glyph::diamond 菱形
  12. Bio::Graphics::Glyph::dna
  13. Bio::Graphics::Glyph::dot
  14. Bio::Graphics::Glyph::dumbbell 哑铃
  15. Bio::Graphics::Glyph::ellipse 椭圆
  16. Bio::Graphics::Glyph::ex
  17. Bio::Graphics::Glyph::extending_arrow
  18. Bio::Graphics::Glyph::flag 旗帜
  19. Bio::Graphics::Glyph::gene
  20. Bio::Graphics::Glyph::generic
  21. Bio::Graphics::Glyph::graded_segments 精细的
  22. Bio::Graphics::Glyph::group
  23. Bio::Graphics::Glyph::heterogeneous_segments 混杂的
  24. Bio::Graphics::Glyph::image
  25. Bio::Graphics::Glyph::lightning 闪电
  26. Bio::Graphics::Glyph::line
  27. Bio::Graphics::Glyph::merge_parts 合并
  28. Bio::Graphics::Glyph::merged_alignment
  29. Bio::Graphics::Glyph::minmax
  30. Bio::Graphics::Glyph::oval 椭圆
  31. Bio::Graphics::Glyph::pentagram 五角星
  32. Bio::Graphics::Glyph::pinsertion
  33. Bio::Graphics::Glyph::primers
  34. Bio::Graphics::Glyph::processed_transcript
  35. Bio::Graphics::Glyph::protein
  36. Bio::Graphics::Glyph::ragged_ends 凹凸不平的
  37. Bio::Graphics::Glyph::redgreen_box
  38. Bio::Graphics::Glyph::redgreen_segment
  39. Bio::Graphics::Glyph::repeating_shape
  40. Bio::Graphics::Glyph::rndrect
  41. Bio::Graphics::Glyph::ruler_arrow
  42. Bio::Graphics::Glyph::saw_teeth
  43. Bio::Graphics::Glyph::segmented_keyglyph
  44. Bio::Graphics::Glyph::segments
  45. Bio::Graphics::Glyph::so_transcript
  46. Bio::Graphics::Glyph::span
  47. Bio::Graphics::Glyph::splice_site
  48. Bio::Graphics::Glyph::stackedplot 堆积线
  49. Bio::Graphics::Glyph::ternary_plot 三重曲线
  50. Bio::Graphics::Glyph::text_in_box
  51. Bio::Graphics::Glyph::three_letters 三个字母
  52. Bio::Graphics::Glyph::tic_tac_toe
  53. Bio::Graphics::Glyph::toomany
  54. Bio::Graphics::Glyph::track
  55. Bio::Graphics::Glyph::transcript
  56. Bio::Graphics::Glyph::transcript2
  57. Bio::Graphics::Glyph::translation
  58. Bio::Graphics::Glyph::triangle 三角形
  59. Bio::Graphics::Glyph::two_bolts
  60. Bio::Graphics::Glyph::wave 波浪
  61. Bio::Graphics::Glyph::weighted_arrow
  62. Bio::Graphics::Glyph::whiskerplot 细微的曲线
  63. Bio::Graphics::Glyph::xyplot

图形的收集与展示

只有想不到的,没有做不到的,后面会收集与展示GBrowse丰富的track展示截图。

SNP展示

gbrowse图形显示配置-图片2

频率图

gbrowse图形显示配置-图片3

转录组数据展示91e6b2720dd7cf27ab145a6f2bb8d478

比较基因组
MAL11

原文来自:http://boyun.sh.cn/bio/?p=1798

发表评论

匿名网友

拖动滑块以完成验证
加载失败