bio-ucsc-api 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/ChangeLog.md +2 -0
- data/README.md +6 -5
- data/VERSION +1 -1
- data/bio-ucsc-api.gemspec +3 -3
- data/lib/bio-ucsc/file/twobit.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGJjNjI0YTcyMTAzYjYzMTdmNDBmYjkwNTYzMzc2MmE5ZDJiZTdkZQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDc3NTA3Mjc1MjMzNjVjMjc5MTI5Mjc1MThiMmVkMGYxNjgyYmViNg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NWQ3MWI1MDM4ZWZkZDM2MzgzYjdlMWRlYjZhM2QxODFlYmRkMTVkODU3MWY2
|
|
10
|
+
MTcwZWNiYmI5NDYxMGQyODYwM2Q5NTNkNWUxN2FjYTlkZTQxNTFkNzY5YWFl
|
|
11
|
+
ZWViMWQwNGJkYmIyNjY4ZTIyZmU5Yjk1OTQ1YWM3MDZmODBhMzE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzZlZjA3NDMzYTAyYTkwNmMwMThiMTllNmE3YzgwMjk4YTMzYmMwZWNiZjUz
|
|
14
|
+
YTZlM2ZjY2MyMTAyNjY2NzFlMzUzZTJjMDgxZmFhYTczNzNiZGU2Nzg0ODY0
|
|
15
|
+
ZjM0ZjA2MDFmNmEyYTUxZjhjMmQ0ZjU0YjdmYjBmZjNhYzQzOWU=
|
data/ChangeLog.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
#Change Log
|
|
2
|
+
* **BUG-FIX** (v.0.6.2) NoMemoryError in Bio::Ucsc::File::Twobit.open. Now internally File.open is used instead of Kernel.open.
|
|
3
|
+
* **UPDATE** (v.0.6.1) Support new human hg38 reference. Newer tables after this release will be supported in later varsions.
|
|
2
4
|
* **NEW** (v0.6.0): Support ActiveRecord v4.0 (a part of Ruby on Ralils v4.0). Other related library dependencies are also updated. To Supress deprecation warnings for using dynamic finders such as 'find_by_name_and_chrom', use `ActiveSupport::Deprecation.silenced = true`. Because ActiveRecord v4.0 does not support Ruby v1.8.7 and earlier, Ruby UCSC API no longer supports these older Rubies.
|
|
3
5
|
* **UPDATE** (v0.6.0): Ruby UCSC API is now licensed under the MIT License. See also the LICENSE.txt file.
|
|
4
6
|
* **BUG-FIX** (v 0.5.3): Support ActiveRecord/ActiveSupport version 3 only.
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# bio-ucsc-api version 0.6.
|
|
1
|
+
# bio-ucsc-api version 0.6.2
|
|
2
2
|
|
|
3
3
|
**The Ruby UCSC API**: accessing the UCSC Genome Database using Ruby.
|
|
4
4
|
|
|
@@ -72,9 +72,10 @@ See also:
|
|
|
72
72
|
* UCSCBin library - https://github.com/misshie/UCSCBin
|
|
73
73
|
|
|
74
74
|
# Change Log
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
* **BUG-FIX** (v.0.6.2) NoMemoryError in Bio::Ucsc::File::Twobit.open. Now internally File.open is used instead of Kernel.open.
|
|
76
|
+
* **UPDATE** (v.0.6.1) Support new human hg38 reference. Newer tables after this release will be supported in later varsions.
|
|
77
|
+
* **NEW** (v0.6.0): Support ActiveRecord v4.0 (a part of Ruby on Ralils v4.0). Other related library dependencies are also updated. To Supress deprecation warnings for using dynamic finders such as 'find_by_name_and_chrom', use `ActiveSupport::Deprecation.silenced = true`. Because ActiveRecord v4.0 does not support Ruby v1.8.7 and earlier, Ruby UCSC API no longer supports these older Rubies.
|
|
78
|
+
* **UPDATE** (v0.6.0): Ruby UCSC API is now licensed under the MIT License. See also the LICENSE.txt file.
|
|
78
79
|
|
|
79
80
|
See 'ChangeLog.md' for older changes.
|
|
80
81
|
|
|
@@ -255,6 +256,6 @@ puts Bio::Ucsc::Hg19::Snp138.find_by_name("rs242").snp138Seq.first.file_offset
|
|
|
255
256
|
```
|
|
256
257
|
|
|
257
258
|
# Copyright
|
|
258
|
-
**Copyright**: (c) 2011-
|
|
259
|
+
**Copyright**: (c) 2011-2014 MISHIMA, Hiroyuki (hmishima at nagasaki-u.ac.jp / Twitter: @mishima_eng (in English) and @mishimahryk (in Japanese)
|
|
259
260
|
**Copyright**: (c) 2010 Jan Aerts
|
|
260
261
|
**License**: The MIT license. See LICENSE.txt for further details..
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.2
|
data/bio-ucsc-api.gemspec
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: bio-ucsc-api 0.6.
|
|
5
|
+
# stub: bio-ucsc-api 0.6.2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "bio-ucsc-api"
|
|
9
|
-
s.version = "0.6.
|
|
9
|
+
s.version = "0.6.2"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.authors = ["Hiroyuki Mishima", "Jan Aerts"]
|
|
13
|
-
s.date = "2014-03-
|
|
13
|
+
s.date = "2014-03-26"
|
|
14
14
|
s.description = "Ruby UCSC API: accessing the UCSC Genome Database using Ruby"
|
|
15
15
|
s.email = "missy@be.to"
|
|
16
16
|
s.extra_rdoc_files = [
|
data/lib/bio-ucsc/file/twobit.rb
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
# = twobit.rb
|
|
3
3
|
# handle UCSC's 2bit file (locally stored) to retrieve the reference sequence
|
|
4
4
|
#
|
|
5
|
-
# Copyright:: Copyright (C) 2011, 2012
|
|
5
|
+
# Copyright:: Copyright (C) 2011, 2012, 2014
|
|
6
6
|
# MISHIMA, Hiroyuki <missy at be.to / hmishima at nagasaki-u.ac.jp>
|
|
7
|
-
# License::
|
|
7
|
+
# License:: The MIT license
|
|
8
8
|
|
|
9
9
|
module Bio
|
|
10
10
|
module Ucsc
|
|
@@ -34,7 +34,7 @@ module Bio
|
|
|
34
34
|
|
|
35
35
|
def self.load(filename)
|
|
36
36
|
two_bit = nil
|
|
37
|
-
|
|
37
|
+
::File.open(filename, 'rb') {|f|two_bit = f.read}
|
|
38
38
|
tbq = Bio::Ucsc::File::ByteQueue.new(two_bit)
|
|
39
39
|
|
|
40
40
|
twobit_header = TwoBitHeader.new
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bio-ucsc-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroyuki Mishima
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-03-
|
|
12
|
+
date: 2014-03-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|