viral_seq 1.8.1.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -0
- data/bin/tcs +7 -1
- data/bin/tcs_sdrm +87 -131
- data/lib/viral_seq/drm_region_config.rb +83 -0
- data/lib/viral_seq/drm_version.rb +120 -0
- data/lib/viral_seq/hivdr.rb +206 -2
- data/lib/viral_seq/sdrm.rb +34 -99
- data/lib/viral_seq/sequence.rb +26 -1
- data/lib/viral_seq/tcs_core.rb +1 -1
- data/lib/viral_seq/tcs_dr.rb +87 -5
- data/lib/viral_seq/util/drm_list.json +684 -0
- data/lib/viral_seq/util/drm_versions_config.json +114 -0
- data/lib/viral_seq/version.rb +2 -2
- data/lib/viral_seq.rb +3 -0
- metadata +7 -3
@@ -0,0 +1,114 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"version": "v3",
|
4
|
+
"DRM_range": {
|
5
|
+
"CAI": [56,57, 66, 67, 70, 74, 105, 107],
|
6
|
+
"PI": [23, 24, 30, 32, 46, 47, 48, 50, 53, 54, 73, 76, 82, 83, 84, 88, 90],
|
7
|
+
"NRTI": [41, 65, 67, 69, 70, 74, 75, 77, 115, 116, 151, 184, 210, 215, 219],
|
8
|
+
"NNRTI": [98, 100, 101, 103, 106, 138, 179, 181, 188, 190],
|
9
|
+
"INSTI": [95, 97, 121, 140, 143, 147, 148, 155, 263]
|
10
|
+
},
|
11
|
+
"seq_coord": {
|
12
|
+
"CA": {
|
13
|
+
"minimum": 1196,
|
14
|
+
"maximum": 1725,
|
15
|
+
"gap": {
|
16
|
+
"minimum": 1466,
|
17
|
+
"maximum": 1471
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"PR": {
|
21
|
+
"minimum": 2253,
|
22
|
+
"maximum": 2549
|
23
|
+
},
|
24
|
+
"RT": {
|
25
|
+
"minimum": 2648,
|
26
|
+
"maximum": 3209,
|
27
|
+
"gap": {
|
28
|
+
"minimum": 2915,
|
29
|
+
"maximum": 2949
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"IN": {
|
33
|
+
"minimum": 4509,
|
34
|
+
"maximum": 5048,
|
35
|
+
"gap": {
|
36
|
+
"minimum": 4780,
|
37
|
+
"maximum": 4782
|
38
|
+
}
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"seq_drm_correlation": {
|
42
|
+
"CA": ["CAI"],
|
43
|
+
"RT": ["NRTI", "NNRTI"],
|
44
|
+
"PR": ["PI"],
|
45
|
+
"IN": ["INSTI"]
|
46
|
+
},
|
47
|
+
"ref_info": {
|
48
|
+
"ref_type": "HXB2",
|
49
|
+
"ref_coord": {
|
50
|
+
"CA": [1186,1878],
|
51
|
+
"PR": [2253,2549],
|
52
|
+
"RT": [2550,3869],
|
53
|
+
"IN": [4230,5096]
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"version": "v1",
|
60
|
+
"DRM_range": {
|
61
|
+
"CAI": [56,57, 66, 67, 70, 74, 105, 107],
|
62
|
+
"PI": [23, 24, 30, 32, 46, 47, 48, 50, 53, 54, 73, 76, 82, 83, 84, 88, 90],
|
63
|
+
"NRTI": [41, 65, 67, 69, 70, 74, 75, 77, 115, 116, 151, 184, 210, 215, 219],
|
64
|
+
"NNRTI": [98, 100, 101, 103, 106, 179, 181, 188, 190, 225, 230],
|
65
|
+
"INSTI": [66, 74, 92, 95, 97, 121, 140, 143, 147, 148, 155]
|
66
|
+
},
|
67
|
+
"seq_coord": {
|
68
|
+
"CA": {
|
69
|
+
"minimum": 1196,
|
70
|
+
"maximum": 1725,
|
71
|
+
"gap": {
|
72
|
+
"minimum": 1466,
|
73
|
+
"maximum": 1471
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"PR": {
|
77
|
+
"minimum": 2253,
|
78
|
+
"maximum": 2549
|
79
|
+
},
|
80
|
+
"RT": {
|
81
|
+
"minimum": 2648,
|
82
|
+
"maximum": 3257,
|
83
|
+
"gap": {
|
84
|
+
"minimum": 2915,
|
85
|
+
"maximum": 3000
|
86
|
+
}
|
87
|
+
},
|
88
|
+
"IN": {
|
89
|
+
"minimum": 4384,
|
90
|
+
"maximum": 4751
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"seq_drm_correlation": {
|
94
|
+
"CA": ["CAI"],
|
95
|
+
"RT": ["NRTI", "NNRTI"],
|
96
|
+
"PR": ["PI"],
|
97
|
+
"IN": ["INSTI"]
|
98
|
+
},
|
99
|
+
"ref_info": {
|
100
|
+
"ref_type": "HXB2",
|
101
|
+
"ref_coord": {
|
102
|
+
"CA": [1186,1878],
|
103
|
+
"PR": [2253,2549],
|
104
|
+
"RT": [2550,3869],
|
105
|
+
"IN": [4230,5096]
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
]
|
114
|
+
|
data/lib/viral_seq/version.rb
CHANGED
data/lib/viral_seq.rb
CHANGED
@@ -44,9 +44,12 @@ require_relative "viral_seq/sdrm"
|
|
44
44
|
require_relative "viral_seq/recency"
|
45
45
|
require_relative "viral_seq/R"
|
46
46
|
require_relative "viral_seq/recency_report"
|
47
|
+
require_relative "viral_seq/drm_region_config.rb"
|
48
|
+
require_relative "viral_seq/drm_version.rb"
|
47
49
|
|
48
50
|
|
49
51
|
require "muscle_bio"
|
50
52
|
require "json"
|
51
53
|
require "securerandom"
|
52
54
|
require "prawn"
|
55
|
+
require "colorize"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viral_seq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shuntai Zhou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -176,6 +176,8 @@ files:
|
|
176
176
|
- lib/viral_seq.rb
|
177
177
|
- lib/viral_seq/R.rb
|
178
178
|
- lib/viral_seq/constant.rb
|
179
|
+
- lib/viral_seq/drm_region_config.rb
|
180
|
+
- lib/viral_seq/drm_version.rb
|
179
181
|
- lib/viral_seq/enumerable.rb
|
180
182
|
- lib/viral_seq/hash.rb
|
181
183
|
- lib/viral_seq/hivdr.rb
|
@@ -196,6 +198,8 @@ files:
|
|
196
198
|
- lib/viral_seq/tcs_dr.rb
|
197
199
|
- lib/viral_seq/tcs_json.rb
|
198
200
|
- lib/viral_seq/util/check_env.r
|
201
|
+
- lib/viral_seq/util/drm_list.json
|
202
|
+
- lib/viral_seq/util/drm_versions_config.json
|
199
203
|
- lib/viral_seq/util/recency_model/rt_only_fit.Rdata
|
200
204
|
- lib/viral_seq/util/recency_model/rt_v1v3_fit.Rdata
|
201
205
|
- lib/viral_seq/util/recency_model/v1v3_only_fit.Rdata
|
@@ -222,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
226
|
version: 1.3.6
|
223
227
|
requirements:
|
224
228
|
- R required for some functions
|
225
|
-
rubygems_version: 3.5.
|
229
|
+
rubygems_version: 3.5.11
|
226
230
|
signing_key:
|
227
231
|
specification_version: 4
|
228
232
|
summary: A Ruby Gem containing bioinformatics tools for processing viral NGS data.
|