bio-twobit 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/bio/twobit/2bit.c +1 -1
- data/lib/bio/twobit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05f7fcb23695ca12dee11ef4b2127d7ebe24c2861d886b416f57634464aca3c1
|
4
|
+
data.tar.gz: 12b615e5b3f0f9fc0c1cc8a9d5024047e8ccd8cc174f1eda407534ae91135a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250f6991320e4c97dd8cfe2361ed1a26665b4266b415ed70a39ead4a2082eea1f437edd0b19fa3502d63929cf6d9189ee0e8e01fb0597dcafb21b839cd717d4e
|
7
|
+
data.tar.gz: cab53356e0cf1b777c3d21fe0dc95a49bb5ffa705357b8e83d4295bad0eae63bf6d3aeb1c604d9b50df430c60569c898f83a2d4acf55ddd43dc1fe9ca7b91889
|
data/ext/bio/twobit/2bit.c
CHANGED
@@ -69,7 +69,7 @@ void bytes2bases(char *seq, uint8_t *byte, uint32_t sz, int offset) {
|
|
69
69
|
|
70
70
|
// Deal with the first partial byte
|
71
71
|
if(offset != 0) {
|
72
|
-
while(offset < 4) {
|
72
|
+
while(offset < 4 && pos < sz) {
|
73
73
|
seq[pos++] = byte2base(foo, offset++);
|
74
74
|
}
|
75
75
|
if(pos >= sz) return;
|
data/lib/bio/twobit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bio-twobit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kojix2
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This is a Ruby binding for lib2bit(https://github.com/dpryan79/lib2bit),
|
14
14
|
which provides high-speed access to genomic data in 2bit file format.
|