minimap2 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c74321430e1bfb742b2717a27967cc9a801ac2d65308831cecb7824ca7553b8
4
- data.tar.gz: 92950765d1d18ca0855ee5de981e56e33be4499015e7a1e28ee52409d68845e5
3
+ metadata.gz: c5ef413b53423059804163320f8d5cd9ca0366fa7473603b06a857c109b99395
4
+ data.tar.gz: 64cdc52d1961e793f9dc0a966c9f63f357aa3992c4cf8f3341d1cd64c0eea01a
5
5
  SHA512:
6
- metadata.gz: 339fa71b957f497298422d4c5f21554e9cf7ea01036ba64c7b34fadc44e16ecb34125f5ec92aca91eb0e103a443a349b78d4613f07a7e94f35f2a5e745ab17d5
7
- data.tar.gz: 0230b2e2b1bea4aebf9611012de44781a56bd94e42a5208604e64c7892df9547a6e67d5db4547f546e227abc4d9010a393d6d0d8506e2e8162e1099172edecd1
6
+ metadata.gz: cf3a7c4294279f7a79a6f931f50c243f72b17658a69f4e6eec13e8584b61d503a6da164be3b01ca81cb52679d893efd903ac41387ec418f43c016e392d027ed4
7
+ data.tar.gz: 4cac45c87e639ec4b698990e80e9a64aad902a368f44e35223a31ce162eeafa46137b06faa99b345f8e57a99cce4b9e39bb2959dd29d8a5c09d746439431df21
data/README.md CHANGED
@@ -35,14 +35,23 @@ Ruby-minimap2 is tested on Ubuntu and macOS.
35
35
 
36
36
  ```ruby
37
37
  require "minimap2"
38
+ ```
39
+
40
+ create aligner
38
41
 
39
- # load or build index
42
+ ```ruby
40
43
  aligner = Minimap2::Aligner.new("minimap2/test/MT-human.fa")
44
+ ```
45
+
46
+ retrieve a subsequence from the index
41
47
 
42
- # retrieve a subsequence from the index
48
+ ```ruby
43
49
  seq = aligner.seq("MT_human", 100, 200)
50
+ ```
44
51
 
45
- # mapping
52
+ mapping
53
+
54
+ ```ruby
46
55
  hits = aligner.align(seq)
47
56
  pp hits[0].to_h
48
57
  # {:ctg => "MT_human",
@@ -77,6 +77,7 @@ module Minimap2
77
77
  :sdust_thres, :int, # score threshold for SDUST; 0 to disable
78
78
  :max_qlen, :int, # max query length
79
79
  :bw, :int, # bandwidth
80
+ :bw_long, :int,
80
81
  :max_gap, :int, # break a chain if there are no minimizers in a max_gap window
81
82
  :max_gap_ref, :int,
82
83
  :max_frag_len, :int,
@@ -85,14 +86,14 @@ module Minimap2
85
86
  :min_cnt, :int, # min number of minimizers on each chain
86
87
  :min_chain_score, :int, # min chaining score
87
88
  :chain_gap_scale, :float,
89
+ :rmq_size_cap, :int,
90
+ :rmq_inner_dist, :int,
91
+ :rmq_rescue_size, :int,
92
+ :rmq_rescue_ratio, :float,
88
93
  :mask_level, :float,
89
94
  :mask_len, :int,
90
95
  :pri_ratio, :float,
91
96
  :best_n, :int, # top best_n chains are subjected to DP alignment
92
- :max_join_long, :int,
93
- :max_join_short, :int,
94
- :min_join_flank_sc, :int,
95
- :min_join_flank_ratio, :float,
96
97
  :alt_drop, :float,
97
98
  :a, :int, # matching score
98
99
  :b, :int, # mismatch
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Minimap2
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  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.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.2.3
134
+ rubygems_version: 3.2.15
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: minimap2