minimap2 0.2.24.1 → 0.2.24.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bbe7130374c248e008183b82ffa9feb7af9738184d654c8a14c7963b96f5c09
4
- data.tar.gz: ddae428827a8e1f8e7c9cc8684f44aa266ec1d73d32e8d6a65e64a459d509292
3
+ metadata.gz: c497bf613541579aa33f7700c02caf1f0a37cd487cb323f904322a6c205c3ea5
4
+ data.tar.gz: 6c1a7988b56816930d4f7807efcaf48e0c05289bef816b0539029d63f92e1e71
5
5
  SHA512:
6
- metadata.gz: 8f1caa66a874a45f4df9b0971f55cb0f436351c62f6d2bb4ba07e2d8cfe1485e391e58c952cdcaa5f256a9fa9e26376b865cd919ff53d374ea32666ae486de24
7
- data.tar.gz: bef5486385f7a52d37566a866776791eec9eda5bf1d707e253f7845f5f87689c4258076874dcff44852f09b39d51522ab2ecf8ebbbe675b2ce98c2f87b60df76
6
+ metadata.gz: 297be5f2e5cf27941b622f8c26ee960c503ff7d3369d7f178baa748834cd163fd2da5d84e0648f2f702bd42950a1f208925548bb9c7ce09ceee729e21b0d6a5e
7
+ data.tar.gz: c28bb935b443b5394ae5c62ebded5d3ab084fcc646562a849fbda1cf1ee4d3c2183bcf9eba1dca5bad3b5dda0a08003f6e0a3cc1a648113a9926db599e1ef2d3
data/README.md CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  [![Gem Version](https://img.shields.io/gem/v/minimap2?color=brightgreen)](https://rubygems.org/gems/minimap2)
4
4
  [![CI](https://github.com/kojix2/ruby-minimap2/workflows/CI/badge.svg)](https://github.com/kojix2/ruby-minimap2/actions)
5
+ [![Docs Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://rubydoc.info/gems/minimap2)
6
+ [![Docs Latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://kojix2.github.io/ruby-minimap2/)
5
7
  [![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.txt)
6
- [![Docs Latest](https://img.shields.io/badge/docs-stable-blue.svg)](https://rubydoc.info/gems/minimap2)
7
8
  [![DOI](https://zenodo.org/badge/325711305.svg)](https://zenodo.org/badge/latestdoi/325711305)
8
9
 
9
10
  :dna: [minimap2](https://github.com/lh3/minimap2) - the long-read mapper - for [Ruby](https://github.com/ruby/ruby)
@@ -107,7 +108,7 @@ pp hits
107
108
 
108
109
  * API is based on [Mappy](https://github.com/lh3/minimap2/tree/master/python), the official Python binding for Minimap2.
109
110
  * `Aligner#map` has been changed to `align`, because `map` means iterator in Ruby.
110
- * See [RubyDoc](https://rubydoc.info/gems/minimap2/) for details.
111
+ * See [documentation](https://kojix2.github.io/ruby-minimap2/) for details.
111
112
 
112
113
  <details>
113
114
  <summary><b>C Structures and Functions</b></summary>
@@ -174,6 +175,10 @@ ruby-minimap2 is a library under development and there are many points to be imp
174
175
 
175
176
  Please feel free to report [bugs](https://github.com/kojix2/ruby-minimap2/issues) and [pull requests](https://github.com/kojix2/ruby-minimap2/pulls)!
176
177
 
178
+ Do you need commit rights to my repository?
179
+ Do you want to get admin rights and take over the project?
180
+ If so, please feel free to contact me @kojix2.
181
+
177
182
  ## License
178
183
 
179
184
  [MIT License](https://opensource.org/licenses/MIT).
@@ -135,9 +135,9 @@ module Minimap2
135
135
  :pe_bonus, :int,
136
136
  :mid_occ_frac, :float, # only used by mm_mapopt_update(); see below
137
137
  :q_occ_frac, :float,
138
- :min_mid_occ, :int32_t,
139
- :mid_occ, :int32_t, # ignore seeds with occurrences above this threshold
140
- :max_occ, :int32_t,
138
+ :min_mid_occ, :int32,
139
+ :mid_occ, :int32, # ignore seeds with occurrences above this threshold
140
+ :max_occ, :int32,
141
141
  :mini_batch_size, :int64_t, # size of a batch of query bases to process in parallel
142
142
  :max_sw_mat, :int64_t,
143
143
  :cap_kalloc, :int64_t,
@@ -149,19 +149,19 @@ module Minimap2
149
149
  layout \
150
150
  :name, :string, # name of the db sequence
151
151
  :offset, :uint64_t, # offset in mm_idx_t::S
152
- :len, :uint32_t, # length
153
- :is_alt, :uint32_t
152
+ :len, :uint32, # length
153
+ :is_alt, :uint32
154
154
  end
155
155
 
156
156
  class Idx < ::FFI::Struct
157
157
  layout \
158
- :b, :int32_t,
159
- :w, :int32_t,
160
- :k, :int32_t,
161
- :flag, :int32_t,
162
- :n_seq, :uint32_t, # number of reference sequences
163
- :index, :int32_t,
164
- :n_alt, :int32_t,
158
+ :b, :int32,
159
+ :w, :int32,
160
+ :k, :int32,
161
+ :flag, :int32,
162
+ :n_seq, :uint32, # number of reference sequences
163
+ :index, :int32,
164
+ :n_alt, :int32,
165
165
  :seq, IdxSeq.ptr, # sequence name, length and offset
166
166
  :S, :pointer, # 4-bit packed sequence
167
167
  :B, :pointer, # index (hidden)
@@ -203,23 +203,23 @@ module Minimap2
203
203
 
204
204
  class Reg1 < ::FFI::BitStruct
205
205
  layout \
206
- :id, :int32_t, # ID for internal uses (see also parent below)
207
- :cnt, :int32_t, # number of minimizers; if on the reverse strand
208
- :rid, :int32_t, # reference index; if this is an alignment from inversion rescue
209
- :score, :int32_t, # DP alignment score
210
- :qs, :int32_t, # query start
211
- :qe, :int32_t, # query end
212
- :rs, :int32_t, # reference start
213
- :re, :int32_t, # reference end
214
- :parent, :int32_t, # parent==id if primary
215
- :subsc, :int32_t, # best alternate mapping score
216
- :as, :int32_t, # offset in the a[] array (for internal uses only)
217
- :mlen, :int32_t, # seeded exact match length
218
- :blen, :int32_t, # seeded alignment block length
219
- :n_sub, :int32_t, # number of suboptimal mappings
220
- :score0, :int32_t, # initial chaining score (before chain merging/spliting)
221
- :fields, :uint32_t,
222
- :hash, :uint32_t,
206
+ :id, :int32, # ID for internal uses (see also parent below)
207
+ :cnt, :int32, # number of minimizers; if on the reverse strand
208
+ :rid, :int32, # reference index; if this is an alignment from inversion rescue
209
+ :score, :int32, # DP alignment score
210
+ :qs, :int32, # query start
211
+ :qe, :int32, # query end
212
+ :rs, :int32, # reference start
213
+ :re, :int32, # reference end
214
+ :parent, :int32, # parent==id if primary
215
+ :subsc, :int32, # best alternate mapping score
216
+ :as, :int32, # offset in the a[] array (for internal uses only)
217
+ :mlen, :int32, # seeded exact match length
218
+ :blen, :int32, # seeded alignment block length
219
+ :n_sub, :int32, # number of suboptimal mappings
220
+ :score0, :int32, # initial chaining score (before chain merging/spliting)
221
+ :fields, :uint32,
222
+ :hash, :uint32,
223
223
  :div, :float,
224
224
  :p, Extra.ptr
225
225
 
@@ -7,20 +7,20 @@ module Minimap2
7
7
  class Hit < ::FFI::Struct
8
8
  layout \
9
9
  :ctg, :string,
10
- :ctg_start, :int32_t,
11
- :ctg_end, :int32_t,
12
- :qry_start, :int32_t,
13
- :qry_end, :int32_t,
14
- :blen, :int32_t,
15
- :mlen, :int32_t,
16
- :NM, :int32_t,
17
- :ctg_len, :int32_t,
10
+ :ctg_start, :int32,
11
+ :ctg_end, :int32,
12
+ :qry_start, :int32,
13
+ :qry_end, :int32,
14
+ :blen, :int32,
15
+ :mlen, :int32,
16
+ :NM, :int32,
17
+ :ctg_len, :int32,
18
18
  :mapq, :uint8_t,
19
19
  :is_primary, :uint8_t,
20
20
  :strand, :int8_t,
21
21
  :trans_strand, :int8_t,
22
- :seg_id, :int32_t,
23
- :n_cigar32, :int32_t,
22
+ :seg_id, :int32,
23
+ :n_cigar32, :int32,
24
24
  :cigar32, :pointer
25
25
  end
26
26
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Minimap2
4
4
  # Minimap2-2.23 (r1111)
5
- VERSION = "0.2.24.1"
5
+ VERSION = "0.2.24.2"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimap2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.24.1
4
+ version: 0.2.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-29 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.3.3
167
+ rubygems_version: 3.3.7
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: minimap2