bio-svgenes 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/README.md +88 -0
  2. data/VERSION +1 -1
  3. data/bio-svgenes.gemspec +131 -8
  4. data/doc/classes/Bio.html +131 -0
  5. data/doc/classes/Bio/Graphics.html +142 -0
  6. data/doc/classes/Bio/Graphics/Glyph.html +987 -0
  7. data/doc/classes/Bio/Graphics/Glyph.src/M000001.html +26 -0
  8. data/doc/classes/Bio/Graphics/Glyph.src/M000002.html +27 -0
  9. data/doc/classes/Bio/Graphics/Glyph.src/M000003.html +32 -0
  10. data/doc/classes/Bio/Graphics/Glyph.src/M000004.html +27 -0
  11. data/doc/classes/Bio/Graphics/Glyph.src/M000005.html +25 -0
  12. data/doc/classes/Bio/Graphics/Glyph.src/M000006.html +29 -0
  13. data/doc/classes/Bio/Graphics/Glyph.src/M000007.html +107 -0
  14. data/doc/classes/Bio/Graphics/Glyph.src/M000008.html +51 -0
  15. data/doc/classes/Bio/Graphics/Glyph.src/M000009.html +23 -0
  16. data/doc/classes/Bio/Graphics/Glyph.src/M000010.html +18 -0
  17. data/doc/classes/Bio/Graphics/Glyph.src/M000011.html +75 -0
  18. data/doc/classes/Bio/Graphics/Glyph.src/M000012.html +51 -0
  19. data/doc/classes/Bio/Graphics/Glyph.src/M000013.html +23 -0
  20. data/doc/classes/Bio/Graphics/Glyph.src/M000014.html +26 -0
  21. data/doc/classes/Bio/Graphics/Glyph.src/M000015.html +27 -0
  22. data/doc/classes/Bio/Graphics/Glyph.src/M000016.html +32 -0
  23. data/doc/classes/Bio/Graphics/Glyph.src/M000017.html +27 -0
  24. data/doc/classes/Bio/Graphics/Glyph.src/M000018.html +25 -0
  25. data/doc/classes/Bio/Graphics/Glyph.src/M000019.html +29 -0
  26. data/doc/classes/Bio/Graphics/Glyph.src/M000020.html +107 -0
  27. data/doc/classes/Bio/Graphics/Glyph.src/M000021.html +51 -0
  28. data/doc/classes/Bio/Graphics/Glyph.src/M000022.html +23 -0
  29. data/doc/classes/Bio/Graphics/Glyph.src/M000023.html +18 -0
  30. data/doc/classes/Bio/Graphics/Glyph.src/M000024.html +75 -0
  31. data/doc/classes/Bio/Graphics/MiniFeature.html +243 -0
  32. data/doc/classes/Bio/Graphics/MiniFeature.src/M000001.html +25 -0
  33. data/doc/classes/Bio/Graphics/MiniFeature.src/M000003.html +25 -0
  34. data/doc/classes/Bio/Graphics/MiniFeature.src/M000024.html +25 -0
  35. data/doc/classes/Bio/Graphics/Page.html +705 -0
  36. data/doc/classes/Bio/Graphics/Page.src/M000010.html +35 -0
  37. data/doc/classes/Bio/Graphics/Page.src/M000011.html +83 -0
  38. data/doc/classes/Bio/Graphics/Page.src/M000012.html +24 -0
  39. data/doc/classes/Bio/Graphics/Page.src/M000013.html +29 -0
  40. data/doc/classes/Bio/Graphics/Page.src/M000014.html +24 -0
  41. data/doc/classes/Bio/Graphics/Page.src/M000015.html +20 -0
  42. data/doc/classes/Bio/Graphics/Page.src/M000016.html +20 -0
  43. data/doc/classes/Bio/Graphics/Page.src/M000017.html +18 -0
  44. data/doc/classes/Bio/Graphics/Page.src/M000018.html +18 -0
  45. data/doc/classes/Bio/Graphics/Page.src/M000019.html +18 -0
  46. data/doc/classes/Bio/Graphics/Page.src/M000020.html +18 -0
  47. data/doc/classes/Bio/Graphics/Page.src/M000021.html +18 -0
  48. data/doc/classes/Bio/Graphics/Page.src/M000022.html +18 -0
  49. data/doc/classes/Bio/Graphics/Page.src/M000023.html +18 -0
  50. data/doc/classes/Bio/Graphics/Page.src/M000024.html +18 -0
  51. data/doc/classes/Bio/Graphics/Page.src/M000025.html +35 -0
  52. data/doc/classes/Bio/Graphics/Page.src/M000026.html +83 -0
  53. data/doc/classes/Bio/Graphics/Page.src/M000027.html +24 -0
  54. data/doc/classes/Bio/Graphics/Page.src/M000028.html +29 -0
  55. data/doc/classes/Bio/Graphics/Page.src/M000029.html +24 -0
  56. data/doc/classes/Bio/Graphics/Page.src/M000030.html +20 -0
  57. data/doc/classes/Bio/Graphics/Page.src/M000031.html +20 -0
  58. data/doc/classes/Bio/Graphics/Page.src/M000032.html +18 -0
  59. data/doc/classes/Bio/Graphics/Page.src/M000033.html +18 -0
  60. data/doc/classes/Bio/Graphics/Page.src/M000034.html +18 -0
  61. data/doc/classes/Bio/Graphics/Page.src/M000035.html +18 -0
  62. data/doc/classes/Bio/Graphics/Page.src/M000036.html +18 -0
  63. data/doc/classes/Bio/Graphics/Page.src/M000037.html +18 -0
  64. data/doc/classes/Bio/Graphics/Page.src/M000038.html +18 -0
  65. data/doc/classes/Bio/Graphics/Page.src/M000039.html +18 -0
  66. data/doc/classes/Bio/Graphics/Page.src/M000040.html +107 -0
  67. data/doc/classes/Bio/Graphics/Page.src/M000041.html +18 -0
  68. data/doc/classes/Bio/Graphics/Page.src/M000042.html +23 -0
  69. data/doc/classes/Bio/Graphics/Page.src/M000043.html +18 -0
  70. data/doc/classes/Bio/Graphics/Page.src/M000044.html +18 -0
  71. data/doc/classes/Bio/Graphics/Primitive.html +204 -0
  72. data/doc/classes/Bio/Graphics/Primitive.src/M000001.html +21 -0
  73. data/doc/classes/Bio/Graphics/Primitive.src/M000002.html +20 -0
  74. data/doc/classes/Bio/Graphics/Primitive.src/M000008.html +21 -0
  75. data/doc/classes/Bio/Graphics/Primitive.src/M000009.html +20 -0
  76. data/doc/classes/Bio/Graphics/Primitive.src/M000022.html +21 -0
  77. data/doc/classes/Bio/Graphics/Primitive.src/M000023.html +20 -0
  78. data/doc/classes/Bio/Graphics/SVGEE.html +290 -0
  79. data/doc/classes/Bio/Graphics/SVGEE.src/M000002.html +24 -0
  80. data/doc/classes/Bio/Graphics/SVGEE.src/M000003.html +18 -0
  81. data/doc/classes/Bio/Graphics/SVGEE.src/M000004.html +24 -0
  82. data/doc/classes/Bio/Graphics/SVGEE.src/M000005.html +18 -0
  83. data/doc/classes/Bio/Graphics/SVGEE.src/M000006.html +18 -0
  84. data/doc/classes/Bio/Graphics/SVGEE.src/M000007.html +21 -0
  85. data/doc/classes/Bio/Graphics/SVGEE.src/M000008.html +27 -0
  86. data/doc/classes/Bio/Graphics/SVGEE.src/M000009.html +23 -0
  87. data/doc/classes/Bio/Graphics/SVGEE.src/M000016.html +24 -0
  88. data/doc/classes/Bio/Graphics/SVGEE.src/M000017.html +18 -0
  89. data/doc/classes/Bio/Graphics/SVGEE.src/M000018.html +18 -0
  90. data/doc/classes/Bio/Graphics/SVGEE.src/M000019.html +21 -0
  91. data/doc/classes/Bio/Graphics/SVGEE.src/M000020.html +27 -0
  92. data/doc/classes/Bio/Graphics/SVGEE.src/M000021.html +23 -0
  93. data/doc/classes/Bio/Graphics/Track.html +473 -0
  94. data/doc/classes/Bio/Graphics/Track.src/M000001.html +35 -0
  95. data/doc/classes/Bio/Graphics/Track.src/M000002.html +18 -0
  96. data/doc/classes/Bio/Graphics/Track.src/M000003.html +28 -0
  97. data/doc/classes/Bio/Graphics/Track.src/M000004.html +18 -0
  98. data/doc/classes/Bio/Graphics/Track.src/M000010.html +35 -0
  99. data/doc/classes/Bio/Graphics/Track.src/M000011.html +18 -0
  100. data/doc/classes/Bio/Graphics/Track.src/M000012.html +28 -0
  101. data/doc/classes/Bio/Graphics/Track.src/M000013.html +18 -0
  102. data/doc/created.rid +1 -9
  103. data/doc/files/lib/bio-svgenes_rb.html +131 -0
  104. data/doc/files/lib/bio/graphics/glyph_rb.html +101 -0
  105. data/doc/files/lib/bio/graphics/mini_feature_rb.html +101 -0
  106. data/doc/files/lib/bio/graphics/page_rb.html +111 -0
  107. data/doc/files/lib/bio/graphics/primitive_rb.html +101 -0
  108. data/doc/files/lib/bio/graphics/svgee_rb.html +101 -0
  109. data/doc/files/lib/bio/graphics/track_rb.html +101 -0
  110. data/doc/fr_class_index.html +34 -0
  111. data/doc/fr_file_index.html +33 -0
  112. data/doc/fr_method_index.html +70 -0
  113. data/doc/index.html +21 -91
  114. data/doc/manual/bootstrap/css/bootstrap-responsive.css +1109 -0
  115. data/doc/manual/bootstrap/css/bootstrap-responsive.min.css +9 -0
  116. data/doc/manual/bootstrap/css/bootstrap.css +6158 -0
  117. data/doc/manual/bootstrap/css/bootstrap.min.css +9 -0
  118. data/doc/manual/bootstrap/img/glyphicons-halflings-white.png +0 -0
  119. data/doc/manual/bootstrap/img/glyphicons-halflings.png +0 -0
  120. data/doc/manual/bootstrap/js/bootstrap.js +2276 -0
  121. data/doc/manual/bootstrap/js/bootstrap.min.js +6 -0
  122. data/doc/manual/img/circle.png +0 -0
  123. data/doc/manual/img/directed.png +0 -0
  124. data/doc/manual/img/down_triangle.png +0 -0
  125. data/doc/manual/img/histogram.png +0 -0
  126. data/doc/manual/img/span.png +0 -0
  127. data/doc/manual/img/transcript.png +0 -0
  128. data/doc/manual/img/up_triangle.png +0 -0
  129. data/doc/manual/manual.html +360 -0
  130. data/doc/manual/manual.md +307 -0
  131. data/doc/rdoc-style.css +208 -0
  132. data/examples/example.rb +12 -8
  133. data/examples/{make_example.rb → example2.rb} +5 -16
  134. data/lib/bio/graphics/glyph.rb +293 -126
  135. data/lib/bio/graphics/mini_feature.rb +24 -17
  136. data/lib/bio/graphics/page.rb +112 -54
  137. data/lib/bio/graphics/primitive.rb +12 -9
  138. data/lib/bio/graphics/svgee.rb +9 -11
  139. data/lib/bio/graphics/track.rb +92 -10
  140. metadata +132 -9
  141. data/README.rdoc +0 -19
  142. data/examples/annotate_snps.rb +0 -86
  143. data/examples/eg2.rb +0 -40
  144. data/examples/get_coverage_in_windows.rb +0 -176
@@ -0,0 +1,88 @@
1
+ # bio-svgenes
2
+
3
+ SVGenes is a Ruby-language library that uses SVG primitives to render typical genomic glyphs through a simple and flexible Ruby interface.
4
+
5
+ The library implements a simple Page object that spaces and contains horizontal Track objects that in turn style,colour and positions features within them. Tracks are the level at which visual information is supplied providing the full styling capability of the SVG standard. Genomic entities like genes, transcripts and histograms are modelled in Glyph objects that are attached to a track and take advantage of SVG primitives to render the genomic features in a track as any of a selection of defined glyphs. The feature model within SVGenes is simple but flexible and not dependent on particular existing gene feature formats meaning graphics for any existing datasets can easily be created without need for conversion.
6
+
7
+ ## Installation and Basic Use
8
+
9
+ This should be easy - the package is available as a gem. If you have an internet connection try:
10
+
11
+ gem install bio-svgenes
12
+
13
+ If this doesn't work try,
14
+
15
+ sudo gem install bio-svgenes
16
+
17
+ ### Workflow
18
+
19
+ #### Loading the gem
20
+ Basic use is straightforward. First, load in the gem
21
+
22
+ require 'bio-svgenes'
23
+
24
+ #### Set up the page object
25
+ The first thing we need to do is set up the page object, a `Bio::Graphics::Page` instance. This defines the attributes of the page into which our glyphs will be drawn.
26
+
27
+ p = Bio::Graphics::Page.new(
28
+ :width => 800,
29
+ :height => 200,
30
+ :number_of_intervals => 10
31
+ )
32
+
33
+ The `:width` attribute specifies the minimum width of the page and the `:height` attribute specifies the minimum height. Each of these will be increased if successful rendering requires more room than specified. The `:number_of_intervals` attributes specifies the number of segments to divide the scale into. A scale is always drawn.
34
+
35
+ #### Add a track to the page
36
+ Next, we need to add a track to the page. We do this with the `Bio::Graphics::Page#add_track` method. Glyphs are rendered within tracks and tracks define how those glyphs will be styled. In this example we create a `generic` block glyph.
37
+
38
+ generic_track = p.add_track(
39
+ :glyph => :generic,
40
+ :name => 'generic_features',
41
+ :label => true
42
+ )
43
+
44
+ The `:name` attribute allows us to define a name for the track and the `:label` attribute explicitly states whether the name should be written onto the track.
45
+
46
+ #### Create a MiniFeature object
47
+ Each of the features is represented by a `Bio::Graphics::MiniFeature` object. This is easily created:
48
+
49
+ mini_feature = Bio::Graphics::MiniFeature.new(
50
+ :start => 923,
51
+ :end => 2212,
52
+ :strand => '+',
53
+ :id => "MyFeature"
54
+ )
55
+
56
+ The minimum information you need to provide for a feature is the start and end. In this example, we add a strand and an id for the feature.
57
+
58
+ #### Add the feature to the track
59
+
60
+ The feature now needs to be added to the track object to be considered during rendering, we use `Bio::Graphics::Track#add` for this.
61
+
62
+ generic_track.add(mini_feature)
63
+
64
+ This process is repeated for all the features and tracks you want to show in the final rendered figure. We then tell the page to render itself to a file.
65
+
66
+ p.write("output.svg")
67
+
68
+ See the RDOC in the packages doc directory for more information.
69
+
70
+
71
+
72
+
73
+
74
+
75
+ ### Contributing to bio-svgenes
76
+
77
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
78
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
79
+ * Fork the project
80
+ * Start a feature/bugfix branch
81
+ * Commit and push until you are happy with your contribution
82
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
83
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or it is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
84
+
85
+ ## Copyright
86
+
87
+ Copyright (c) 2012 Dan MacLean. See LICENSE.txt for further details.
88
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,23 +5,23 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bio-svgenes"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan MacLean"]
12
- s.date = "2013-03-05"
12
+ s.date = "2013-04-10"
13
13
  s.description = "This bio-gem facilitates the creation of pretty, publication quality SVG images from feature data."
14
14
  s.email = "maclean.daniel@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.rdoc"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
21
  "Gemfile",
22
22
  "Gemfile.lock",
23
23
  "LICENSE.txt",
24
- "README.rdoc",
24
+ "README.md",
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "bio-svgenes.gemspec",
@@ -34,7 +34,115 @@ Gem::Specification.new do |s|
34
34
  "doc/Bio/Graphics/SVGEE.html",
35
35
  "doc/Bio/Graphics/Track.html",
36
36
  "doc/LICENSE_txt.html",
37
+ "doc/classes/Bio.html",
38
+ "doc/classes/Bio/Graphics.html",
39
+ "doc/classes/Bio/Graphics/Glyph.html",
40
+ "doc/classes/Bio/Graphics/Glyph.src/M000001.html",
41
+ "doc/classes/Bio/Graphics/Glyph.src/M000002.html",
42
+ "doc/classes/Bio/Graphics/Glyph.src/M000003.html",
43
+ "doc/classes/Bio/Graphics/Glyph.src/M000004.html",
44
+ "doc/classes/Bio/Graphics/Glyph.src/M000005.html",
45
+ "doc/classes/Bio/Graphics/Glyph.src/M000006.html",
46
+ "doc/classes/Bio/Graphics/Glyph.src/M000007.html",
47
+ "doc/classes/Bio/Graphics/Glyph.src/M000008.html",
48
+ "doc/classes/Bio/Graphics/Glyph.src/M000009.html",
49
+ "doc/classes/Bio/Graphics/Glyph.src/M000010.html",
50
+ "doc/classes/Bio/Graphics/Glyph.src/M000011.html",
51
+ "doc/classes/Bio/Graphics/Glyph.src/M000012.html",
52
+ "doc/classes/Bio/Graphics/Glyph.src/M000013.html",
53
+ "doc/classes/Bio/Graphics/Glyph.src/M000014.html",
54
+ "doc/classes/Bio/Graphics/Glyph.src/M000015.html",
55
+ "doc/classes/Bio/Graphics/Glyph.src/M000016.html",
56
+ "doc/classes/Bio/Graphics/Glyph.src/M000017.html",
57
+ "doc/classes/Bio/Graphics/Glyph.src/M000018.html",
58
+ "doc/classes/Bio/Graphics/Glyph.src/M000019.html",
59
+ "doc/classes/Bio/Graphics/Glyph.src/M000020.html",
60
+ "doc/classes/Bio/Graphics/Glyph.src/M000021.html",
61
+ "doc/classes/Bio/Graphics/Glyph.src/M000022.html",
62
+ "doc/classes/Bio/Graphics/Glyph.src/M000023.html",
63
+ "doc/classes/Bio/Graphics/Glyph.src/M000024.html",
64
+ "doc/classes/Bio/Graphics/MiniFeature.html",
65
+ "doc/classes/Bio/Graphics/MiniFeature.src/M000001.html",
66
+ "doc/classes/Bio/Graphics/MiniFeature.src/M000003.html",
67
+ "doc/classes/Bio/Graphics/MiniFeature.src/M000024.html",
68
+ "doc/classes/Bio/Graphics/Page.html",
69
+ "doc/classes/Bio/Graphics/Page.src/M000010.html",
70
+ "doc/classes/Bio/Graphics/Page.src/M000011.html",
71
+ "doc/classes/Bio/Graphics/Page.src/M000012.html",
72
+ "doc/classes/Bio/Graphics/Page.src/M000013.html",
73
+ "doc/classes/Bio/Graphics/Page.src/M000014.html",
74
+ "doc/classes/Bio/Graphics/Page.src/M000015.html",
75
+ "doc/classes/Bio/Graphics/Page.src/M000016.html",
76
+ "doc/classes/Bio/Graphics/Page.src/M000017.html",
77
+ "doc/classes/Bio/Graphics/Page.src/M000018.html",
78
+ "doc/classes/Bio/Graphics/Page.src/M000019.html",
79
+ "doc/classes/Bio/Graphics/Page.src/M000020.html",
80
+ "doc/classes/Bio/Graphics/Page.src/M000021.html",
81
+ "doc/classes/Bio/Graphics/Page.src/M000022.html",
82
+ "doc/classes/Bio/Graphics/Page.src/M000023.html",
83
+ "doc/classes/Bio/Graphics/Page.src/M000024.html",
84
+ "doc/classes/Bio/Graphics/Page.src/M000025.html",
85
+ "doc/classes/Bio/Graphics/Page.src/M000026.html",
86
+ "doc/classes/Bio/Graphics/Page.src/M000027.html",
87
+ "doc/classes/Bio/Graphics/Page.src/M000028.html",
88
+ "doc/classes/Bio/Graphics/Page.src/M000029.html",
89
+ "doc/classes/Bio/Graphics/Page.src/M000030.html",
90
+ "doc/classes/Bio/Graphics/Page.src/M000031.html",
91
+ "doc/classes/Bio/Graphics/Page.src/M000032.html",
92
+ "doc/classes/Bio/Graphics/Page.src/M000033.html",
93
+ "doc/classes/Bio/Graphics/Page.src/M000034.html",
94
+ "doc/classes/Bio/Graphics/Page.src/M000035.html",
95
+ "doc/classes/Bio/Graphics/Page.src/M000036.html",
96
+ "doc/classes/Bio/Graphics/Page.src/M000037.html",
97
+ "doc/classes/Bio/Graphics/Page.src/M000038.html",
98
+ "doc/classes/Bio/Graphics/Page.src/M000039.html",
99
+ "doc/classes/Bio/Graphics/Page.src/M000040.html",
100
+ "doc/classes/Bio/Graphics/Page.src/M000041.html",
101
+ "doc/classes/Bio/Graphics/Page.src/M000042.html",
102
+ "doc/classes/Bio/Graphics/Page.src/M000043.html",
103
+ "doc/classes/Bio/Graphics/Page.src/M000044.html",
104
+ "doc/classes/Bio/Graphics/Primitive.html",
105
+ "doc/classes/Bio/Graphics/Primitive.src/M000001.html",
106
+ "doc/classes/Bio/Graphics/Primitive.src/M000002.html",
107
+ "doc/classes/Bio/Graphics/Primitive.src/M000008.html",
108
+ "doc/classes/Bio/Graphics/Primitive.src/M000009.html",
109
+ "doc/classes/Bio/Graphics/Primitive.src/M000022.html",
110
+ "doc/classes/Bio/Graphics/Primitive.src/M000023.html",
111
+ "doc/classes/Bio/Graphics/SVGEE.html",
112
+ "doc/classes/Bio/Graphics/SVGEE.src/M000002.html",
113
+ "doc/classes/Bio/Graphics/SVGEE.src/M000003.html",
114
+ "doc/classes/Bio/Graphics/SVGEE.src/M000004.html",
115
+ "doc/classes/Bio/Graphics/SVGEE.src/M000005.html",
116
+ "doc/classes/Bio/Graphics/SVGEE.src/M000006.html",
117
+ "doc/classes/Bio/Graphics/SVGEE.src/M000007.html",
118
+ "doc/classes/Bio/Graphics/SVGEE.src/M000008.html",
119
+ "doc/classes/Bio/Graphics/SVGEE.src/M000009.html",
120
+ "doc/classes/Bio/Graphics/SVGEE.src/M000016.html",
121
+ "doc/classes/Bio/Graphics/SVGEE.src/M000017.html",
122
+ "doc/classes/Bio/Graphics/SVGEE.src/M000018.html",
123
+ "doc/classes/Bio/Graphics/SVGEE.src/M000019.html",
124
+ "doc/classes/Bio/Graphics/SVGEE.src/M000020.html",
125
+ "doc/classes/Bio/Graphics/SVGEE.src/M000021.html",
126
+ "doc/classes/Bio/Graphics/Track.html",
127
+ "doc/classes/Bio/Graphics/Track.src/M000001.html",
128
+ "doc/classes/Bio/Graphics/Track.src/M000002.html",
129
+ "doc/classes/Bio/Graphics/Track.src/M000003.html",
130
+ "doc/classes/Bio/Graphics/Track.src/M000004.html",
131
+ "doc/classes/Bio/Graphics/Track.src/M000010.html",
132
+ "doc/classes/Bio/Graphics/Track.src/M000011.html",
133
+ "doc/classes/Bio/Graphics/Track.src/M000012.html",
134
+ "doc/classes/Bio/Graphics/Track.src/M000013.html",
37
135
  "doc/created.rid",
136
+ "doc/files/lib/bio-svgenes_rb.html",
137
+ "doc/files/lib/bio/graphics/glyph_rb.html",
138
+ "doc/files/lib/bio/graphics/mini_feature_rb.html",
139
+ "doc/files/lib/bio/graphics/page_rb.html",
140
+ "doc/files/lib/bio/graphics/primitive_rb.html",
141
+ "doc/files/lib/bio/graphics/svgee_rb.html",
142
+ "doc/files/lib/bio/graphics/track_rb.html",
143
+ "doc/fr_class_index.html",
144
+ "doc/fr_file_index.html",
145
+ "doc/fr_method_index.html",
38
146
  "doc/images/add.png",
39
147
  "doc/images/arrow_up.png",
40
148
  "doc/images/brick.png",
@@ -67,18 +175,33 @@ Gem::Specification.new do |s|
67
175
  "doc/js/search.js",
68
176
  "doc/js/search_index.js",
69
177
  "doc/js/searcher.js",
178
+ "doc/manual/bootstrap/css/bootstrap-responsive.css",
179
+ "doc/manual/bootstrap/css/bootstrap-responsive.min.css",
180
+ "doc/manual/bootstrap/css/bootstrap.css",
181
+ "doc/manual/bootstrap/css/bootstrap.min.css",
182
+ "doc/manual/bootstrap/img/glyphicons-halflings-white.png",
183
+ "doc/manual/bootstrap/img/glyphicons-halflings.png",
184
+ "doc/manual/bootstrap/js/bootstrap.js",
185
+ "doc/manual/bootstrap/js/bootstrap.min.js",
186
+ "doc/manual/img/circle.png",
187
+ "doc/manual/img/directed.png",
188
+ "doc/manual/img/down_triangle.png",
189
+ "doc/manual/img/histogram.png",
190
+ "doc/manual/img/span.png",
191
+ "doc/manual/img/transcript.png",
192
+ "doc/manual/img/up_triangle.png",
193
+ "doc/manual/manual.html",
194
+ "doc/manual/manual.md",
195
+ "doc/rdoc-style.css",
70
196
  "doc/rdoc.css",
71
197
  "doc/table_of_contents.html",
72
- "examples/annotate_snps.rb",
73
198
  "examples/data.txt",
74
199
  "examples/draw_from_json.rb",
75
- "examples/eg2.rb",
76
200
  "examples/example.rb",
77
201
  "examples/example.svg",
202
+ "examples/example2.rb",
78
203
  "examples/example_config.json",
79
204
  "examples/gene.gff",
80
- "examples/get_coverage_in_windows.rb",
81
- "examples/make_example.rb",
82
205
  "examples/transcripts.gff",
83
206
  "lib/bio-svgenes.rb",
84
207
  "lib/bio/graphics/glyph.rb",
@@ -0,0 +1,131 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Bio</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Bio</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/bio/graphics/glyph_rb.html">
59
+ lib/bio/graphics/glyph.rb
60
+ </a>
61
+ <br />
62
+ <a href="../files/lib/bio/graphics/mini_feature_rb.html">
63
+ lib/bio/graphics/mini_feature.rb
64
+ </a>
65
+ <br />
66
+ <a href="../files/lib/bio/graphics/page_rb.html">
67
+ lib/bio/graphics/page.rb
68
+ </a>
69
+ <br />
70
+ <a href="../files/lib/bio/graphics/primitive_rb.html">
71
+ lib/bio/graphics/primitive.rb
72
+ </a>
73
+ <br />
74
+ <a href="../files/lib/bio/graphics/svgee_rb.html">
75
+ lib/bio/graphics/svgee.rb
76
+ </a>
77
+ <br />
78
+ <a href="../files/lib/bio/graphics/track_rb.html">
79
+ lib/bio/graphics/track.rb
80
+ </a>
81
+ <br />
82
+ </td>
83
+ </tr>
84
+
85
+ </table>
86
+ </div>
87
+ <!-- banner header -->
88
+
89
+ <div id="bodyContent">
90
+
91
+
92
+
93
+ <div id="contextContent">
94
+
95
+
96
+
97
+ </div>
98
+
99
+
100
+ </div>
101
+
102
+
103
+ <!-- if includes -->
104
+
105
+ <div id="section">
106
+
107
+ <div id="class-list">
108
+ <h3 class="section-bar">Classes and Modules</h3>
109
+
110
+ Class <a href="Bio/Graphics.html" class="link">Bio::Graphics</a><br />
111
+
112
+ </div>
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+ <!-- if method_list -->
121
+
122
+
123
+ </div>
124
+
125
+
126
+ <div id="validator-badges">
127
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
128
+ </div>
129
+
130
+ </body>
131
+ </html>
@@ -0,0 +1,142 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Bio::Graphics</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Bio::Graphics</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/bio/graphics/glyph_rb.html">
59
+ lib/bio/graphics/glyph.rb
60
+ </a>
61
+ <br />
62
+ <a href="../../files/lib/bio/graphics/mini_feature_rb.html">
63
+ lib/bio/graphics/mini_feature.rb
64
+ </a>
65
+ <br />
66
+ <a href="../../files/lib/bio/graphics/page_rb.html">
67
+ lib/bio/graphics/page.rb
68
+ </a>
69
+ <br />
70
+ <a href="../../files/lib/bio/graphics/primitive_rb.html">
71
+ lib/bio/graphics/primitive.rb
72
+ </a>
73
+ <br />
74
+ <a href="../../files/lib/bio/graphics/svgee_rb.html">
75
+ lib/bio/graphics/svgee.rb
76
+ </a>
77
+ <br />
78
+ <a href="../../files/lib/bio/graphics/track_rb.html">
79
+ lib/bio/graphics/track.rb
80
+ </a>
81
+ <br />
82
+ </td>
83
+ </tr>
84
+
85
+ <tr class="top-aligned-row">
86
+ <td><strong>Parent:</strong></td>
87
+ <td>
88
+ Object
89
+ </td>
90
+ </tr>
91
+ </table>
92
+ </div>
93
+ <!-- banner header -->
94
+
95
+ <div id="bodyContent">
96
+
97
+
98
+
99
+ <div id="contextContent">
100
+
101
+
102
+
103
+ </div>
104
+
105
+
106
+ </div>
107
+
108
+
109
+ <!-- if includes -->
110
+
111
+ <div id="section">
112
+
113
+ <div id="class-list">
114
+ <h3 class="section-bar">Classes and Modules</h3>
115
+
116
+ Class <a href="Graphics/Glyph.html" class="link">Bio::Graphics::Glyph</a><br />
117
+ Class <a href="Graphics/MiniFeature.html" class="link">Bio::Graphics::MiniFeature</a><br />
118
+ Class <a href="Graphics/Page.html" class="link">Bio::Graphics::Page</a><br />
119
+ Class <a href="Graphics/Primitive.html" class="link">Bio::Graphics::Primitive</a><br />
120
+ Class <a href="Graphics/SVGEE.html" class="link">Bio::Graphics::SVGEE</a><br />
121
+ Class <a href="Graphics/Track.html" class="link">Bio::Graphics::Track</a><br />
122
+
123
+ </div>
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ <!-- if method_list -->
132
+
133
+
134
+ </div>
135
+
136
+
137
+ <div id="validator-badges">
138
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
139
+ </div>
140
+
141
+ </body>
142
+ </html>