bio-svgenes 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.document +5 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +22 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/bio-svgenes.gemspec +83 -0
- data/examples/.DS_Store +0 -0
- data/examples/annotate_snps.rb +86 -0
- data/examples/data.txt +192 -0
- data/examples/draw_from_json.rb +36 -0
- data/examples/drawn_from_json.svg +269 -0
- data/examples/drawn_from_json2.svg +467 -0
- data/examples/example.rb +291 -0
- data/examples/example.svg +301 -0
- data/examples/example_config.json +49 -0
- data/examples/gene.gff +4 -0
- data/examples/get_coverage_in_windows.rb +176 -0
- data/examples/transcripts.gff +16 -0
- data/lib/.DS_Store +0 -0
- data/lib/bio-svgenes.rb +17 -0
- data/lib/bio/.DS_Store +0 -0
- data/lib/bio/graphics/glyph.rb +241 -0
- data/lib/bio/graphics/mini_feature.rb +13 -0
- data/lib/bio/graphics/page.rb +265 -0
- data/lib/bio/graphics/primitive.rb +17 -0
- data/lib/bio/graphics/svgee.rb +129 -0
- data/lib/bio/graphics/track.rb +49 -0
- data/test/helper.rb +18 -0
- data/test/test_bio-svgenes.rb +7 -0
- metadata +138 -0
data/test/helper.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'test/unit'
|
11
|
+
require 'shoulda'
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
+
require 'bio-svgenes'
|
16
|
+
|
17
|
+
class Test::Unit::TestCase
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bio-svgenes
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Dan MacLean
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: shoulda
|
16
|
+
requirement: &70210599098300 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70210599098300
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bundler
|
27
|
+
requirement: &70210599097720 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70210599097720
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: jeweler
|
38
|
+
requirement: &70210599113460 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.6.4
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70210599113460
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rcov
|
49
|
+
requirement: &70210599112780 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70210599112780
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: bio
|
60
|
+
requirement: &70210599112100 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.4.2
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70210599112100
|
69
|
+
description: This bio-gem facilitates the creation of pretty, publication quality
|
70
|
+
SVG images from feature data.
|
71
|
+
email: maclean.daniel@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files:
|
75
|
+
- LICENSE.txt
|
76
|
+
- README.rdoc
|
77
|
+
files:
|
78
|
+
- .DS_Store
|
79
|
+
- .document
|
80
|
+
- Gemfile
|
81
|
+
- Gemfile.lock
|
82
|
+
- LICENSE.txt
|
83
|
+
- README.rdoc
|
84
|
+
- Rakefile
|
85
|
+
- VERSION
|
86
|
+
- bio-svgenes.gemspec
|
87
|
+
- examples/.DS_Store
|
88
|
+
- examples/annotate_snps.rb
|
89
|
+
- examples/data.txt
|
90
|
+
- examples/draw_from_json.rb
|
91
|
+
- examples/drawn_from_json.svg
|
92
|
+
- examples/drawn_from_json2.svg
|
93
|
+
- examples/example.rb
|
94
|
+
- examples/example.svg
|
95
|
+
- examples/example_config.json
|
96
|
+
- examples/gene.gff
|
97
|
+
- examples/get_coverage_in_windows.rb
|
98
|
+
- examples/transcripts.gff
|
99
|
+
- lib/.DS_Store
|
100
|
+
- lib/bio-svgenes.rb
|
101
|
+
- lib/bio/.DS_Store
|
102
|
+
- lib/bio/graphics/glyph.rb
|
103
|
+
- lib/bio/graphics/mini_feature.rb
|
104
|
+
- lib/bio/graphics/page.rb
|
105
|
+
- lib/bio/graphics/primitive.rb
|
106
|
+
- lib/bio/graphics/svgee.rb
|
107
|
+
- lib/bio/graphics/track.rb
|
108
|
+
- test/helper.rb
|
109
|
+
- test/test_bio-svgenes.rb
|
110
|
+
homepage: http://github.com/danmaclean/bioruby-svgenes
|
111
|
+
licenses:
|
112
|
+
- MIT
|
113
|
+
post_install_message:
|
114
|
+
rdoc_options: []
|
115
|
+
require_paths:
|
116
|
+
- lib
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
hash: 2824846248775866676
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 1.8.10
|
135
|
+
signing_key:
|
136
|
+
specification_version: 3
|
137
|
+
summary: Create pretty SVG-format images of features, gene models and data tracks
|
138
|
+
test_files: []
|