bio-samtools 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +1 -0
  2. data/README.rdoc +12 -4
  3. data/VERSION +1 -1
  4. data/bio-samtools.gemspec +5 -2
  5. metadata +26 -15
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
  gem "ffi"
6
+ gem "bio", ">= 1.4.1"
6
7
 
7
8
  # Add dependencies to develop your gem here.
8
9
  # Include everything needed to run rake, tests, features, etc.
data/README.rdoc CHANGED
@@ -58,11 +58,8 @@ Ricardo dot Ramirez-Gonzalez at bbsrc dot ac dot uk
58
58
  -Operating system independent, DONE ( test needed)
59
59
 
60
60
  == IMPORTANT NOTE
61
- -Libraries are compiled for 64 bit machines
62
- -The gem/archive comes with preinstalled library .a and dylib, .dll is missing I didn't compile it.
61
+ -Libraries are downloaded, compiled and installed inside the gem at install time on the host system
63
62
  -Library .a, I didn't check if it works on linux (test needed)
64
- -Library libbam.so.1, The library is simply compiled with make dylib without any special parameter on
65
- CentOS5.5 x86_64, gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48).
66
63
  $ openssl dgst libbam.so.1
67
64
  MD5(libbam.so.1)= c45cfccfb41ffeb2730ee4b227d244c4
68
65
 
@@ -78,6 +75,17 @@ MD5(libbam.so.1)= c45cfccfb41ffeb2730ee4b227d244c4
78
75
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
79
76
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
80
77
 
78
+ === Important Notes for developers
79
+
80
+ Remember that you must compile and install the right libbam library for you host system. In order to do that there are three possible solutions:
81
+ * download, compile and install the library in bioruby-samtools-your_clone/lib/bio/db/sam/external/libbam.xxxxx by yourself
82
+ * install the gem and then grab the compiled library cp `locate libbam.1.dylib` bioruby-samtools-your_clone/lib/bio/db/sam/external (library name is an example)
83
+ * in your bioruby-samtools-your_clone create the Rakefile typing "cd ext; ruby mkrf_conf.rb; rake -f Rakefile"
84
+
85
+ The latest I think is the easiest way, cause you are replicating the automatic process.
86
+
87
+ For testing just run `rake test`. Tests must be improved.
88
+
81
89
  == Copyright
82
90
 
83
91
  Copyright (c) 2011 Raoul J.P. Bonnal. See LICENSE.txt for
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/bio-samtools.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bio-samtools}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ricardo Ramirez-Gonzalez", "Dan MacLean", "Raoul J.P. Bonnal"]
12
- s.date = %q{2011-05-23}
12
+ s.date = %q{2011-05-27}
13
13
  s.description = %q{Binder of samtools for ruby, on the top of FFI.
14
14
 
15
15
  This project was born from the need to add support of BAM files to
@@ -77,6 +77,7 @@ Gem::Specification.new do |s|
77
77
 
78
78
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
79
79
  s.add_runtime_dependency(%q<ffi>, [">= 0"])
80
+ s.add_runtime_dependency(%q<bio>, [">= 1.4.1"])
80
81
  s.add_development_dependency(%q<shoulda>, [">= 0"])
81
82
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
82
83
  s.add_development_dependency(%q<jeweler>, [">= 0"])
@@ -85,6 +86,7 @@ Gem::Specification.new do |s|
85
86
  s.add_development_dependency(%q<ffi>, [">= 0"])
86
87
  else
87
88
  s.add_dependency(%q<ffi>, [">= 0"])
89
+ s.add_dependency(%q<bio>, [">= 1.4.1"])
88
90
  s.add_dependency(%q<shoulda>, [">= 0"])
89
91
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
90
92
  s.add_dependency(%q<jeweler>, [">= 0"])
@@ -94,6 +96,7 @@ Gem::Specification.new do |s|
94
96
  end
95
97
  else
96
98
  s.add_dependency(%q<ffi>, [">= 0"])
99
+ s.add_dependency(%q<bio>, [">= 1.4.1"])
97
100
  s.add_dependency(%q<shoulda>, [">= 0"])
98
101
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
99
102
  s.add_dependency(%q<jeweler>, [">= 0"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bio-samtools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ricardo Ramirez-Gonzalez
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-05-23 00:00:00 +02:00
15
+ date: 2011-05-27 00:00:00 +02:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -27,8 +27,19 @@ dependencies:
27
27
  prerelease: false
28
28
  version_requirements: *id001
29
29
  - !ruby/object:Gem::Dependency
30
- name: shoulda
30
+ name: bio
31
31
  requirement: &id002 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.4.1
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: *id002
40
+ - !ruby/object:Gem::Dependency
41
+ name: shoulda
42
+ requirement: &id003 !ruby/object:Gem::Requirement
32
43
  none: false
33
44
  requirements:
34
45
  - - ">="
@@ -36,10 +47,10 @@ dependencies:
36
47
  version: "0"
37
48
  type: :development
38
49
  prerelease: false
39
- version_requirements: *id002
50
+ version_requirements: *id003
40
51
  - !ruby/object:Gem::Dependency
41
52
  name: bundler
42
- requirement: &id003 !ruby/object:Gem::Requirement
53
+ requirement: &id004 !ruby/object:Gem::Requirement
43
54
  none: false
44
55
  requirements:
45
56
  - - ~>
@@ -47,10 +58,10 @@ dependencies:
47
58
  version: 1.0.0
48
59
  type: :development
49
60
  prerelease: false
50
- version_requirements: *id003
61
+ version_requirements: *id004
51
62
  - !ruby/object:Gem::Dependency
52
63
  name: jeweler
53
- requirement: &id004 !ruby/object:Gem::Requirement
64
+ requirement: &id005 !ruby/object:Gem::Requirement
54
65
  none: false
55
66
  requirements:
56
67
  - - ">="
@@ -58,10 +69,10 @@ dependencies:
58
69
  version: "0"
59
70
  type: :development
60
71
  prerelease: false
61
- version_requirements: *id004
72
+ version_requirements: *id005
62
73
  - !ruby/object:Gem::Dependency
63
74
  name: rcov
64
- requirement: &id005 !ruby/object:Gem::Requirement
75
+ requirement: &id006 !ruby/object:Gem::Requirement
65
76
  none: false
66
77
  requirements:
67
78
  - - ">="
@@ -69,10 +80,10 @@ dependencies:
69
80
  version: "0"
70
81
  type: :development
71
82
  prerelease: false
72
- version_requirements: *id005
83
+ version_requirements: *id006
73
84
  - !ruby/object:Gem::Dependency
74
85
  name: bio
75
- requirement: &id006 !ruby/object:Gem::Requirement
86
+ requirement: &id007 !ruby/object:Gem::Requirement
76
87
  none: false
77
88
  requirements:
78
89
  - - ">="
@@ -80,10 +91,10 @@ dependencies:
80
91
  version: 1.4.1
81
92
  type: :development
82
93
  prerelease: false
83
- version_requirements: *id006
94
+ version_requirements: *id007
84
95
  - !ruby/object:Gem::Dependency
85
96
  name: ffi
86
- requirement: &id007 !ruby/object:Gem::Requirement
97
+ requirement: &id008 !ruby/object:Gem::Requirement
87
98
  none: false
88
99
  requirements:
89
100
  - - ">="
@@ -91,7 +102,7 @@ dependencies:
91
102
  version: "0"
92
103
  type: :development
93
104
  prerelease: false
94
- version_requirements: *id007
105
+ version_requirements: *id008
95
106
  description: |-
96
107
  Binder of samtools for ruby, on the top of FFI.
97
108
 
@@ -164,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
175
  requirements:
165
176
  - - ">="
166
177
  - !ruby/object:Gem::Version
167
- hash: -2254602407450598476
178
+ hash: -1847812567454850000
168
179
  segments:
169
180
  - 0
170
181
  version: "0"