minimap2 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -3
- data/lib/minimap2/ffi/constants.rb +5 -4
- data/lib/minimap2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5ef413b53423059804163320f8d5cd9ca0366fa7473603b06a857c109b99395
|
4
|
+
data.tar.gz: 64cdc52d1961e793f9dc0a966c9f63f357aa3992c4cf8f3341d1cd64c0eea01a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
48
|
+
```ruby
|
43
49
|
seq = aligner.seq("MT_human", 100, 200)
|
50
|
+
```
|
44
51
|
|
45
|
-
|
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
|
data/lib/minimap2/version.rb
CHANGED
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.
|
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-
|
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.
|
134
|
+
rubygems_version: 3.2.15
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: minimap2
|