viral_seq 1.10.0 → 1.10.2
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 +4 -4
- data/.gitignore +2 -0
- data/Gemfile.lock +1 -1
- data/README.md +5 -1
- data/lib/viral_seq/seq_hash.rb +3 -1
- data/lib/viral_seq/tcs_dr.rb +4 -4
- data/lib/viral_seq/tcs_json.rb +2 -2
- data/lib/viral_seq/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 280f17e2219e2ddeccc8ba9904289c71339e5a956be850fc80bc63ad89f39a33
|
4
|
+
data.tar.gz: 07efd4b233f28e8d19cd31b588b1b5d430fbdbccaddae0ffccf6b32b9419de75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83b0fdee89ea5a75227fcdc5e5e58bad83102f27ac29506f81be71785a61caf0815bdc75d488253c0f88392df8e5ed9d43ea480d5d1b2333365088d023da756b
|
7
|
+
data.tar.gz: 90af1682bc4718be2261fdca138bdf445af38d35785b4b7d291107b4e07b1c75a6cdc75db83e17eee129f7a6113687ef822c42eb783515b9f9653df26c726d19
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -191,7 +191,11 @@ qc_seqhash.sdrm_hiv_pr(cut_off)
|
|
191
191
|
|
192
192
|
## Updates
|
193
193
|
|
194
|
-
### Version-1.10.
|
194
|
+
### Version-1.10.2-07210225
|
195
|
+
|
196
|
+
1. Fixed a bug processing parameters for HIV sequence QC.
|
197
|
+
|
198
|
+
### Version-1.10.1-05012025
|
195
199
|
|
196
200
|
1. Added quality filter for Illumina 2-color sequencing platforms (filter poly-G and poly-C)
|
197
201
|
2. Replaced `MuscleBio` with [`VirustLocator`]("https://github.com/ViralSeq/virust-locator-ruby") for faster and more accurate pairwise alignment.
|
data/lib/viral_seq/seq_hash.rb
CHANGED
@@ -1440,8 +1440,10 @@ module ViralSeq
|
|
1440
1440
|
def position_helper(position)
|
1441
1441
|
if position.is_a?(Range)
|
1442
1442
|
return position
|
1443
|
-
elsif position.is_a?(Integer)
|
1443
|
+
elsif position.is_a?(Integer) && position > 0
|
1444
1444
|
return position..position
|
1445
|
+
elsif position.is_a?(Integer) && position == 0
|
1446
|
+
return 0..1000000
|
1445
1447
|
elsif position.is_a?(String)
|
1446
1448
|
return position.to_i..position.to_i
|
1447
1449
|
elsif position.is_a?(Array)
|
data/lib/viral_seq/tcs_dr.rb
CHANGED
@@ -65,7 +65,7 @@ module ViralSeq
|
|
65
65
|
:TCS_QC=>true,
|
66
66
|
:ref_genome=>"HXB2",
|
67
67
|
:ref_start=>6585,
|
68
|
-
:ref_end=>
|
68
|
+
:ref_end=>7208,
|
69
69
|
:indel=>true,
|
70
70
|
:trim=>false},
|
71
71
|
{:region=>"CA",
|
@@ -146,7 +146,7 @@ module ViralSeq
|
|
146
146
|
:TCS_QC=>true,
|
147
147
|
:ref_genome=>"HXB2",
|
148
148
|
:ref_start=>6585,
|
149
|
-
:ref_end=>
|
149
|
+
:ref_end=>7208,
|
150
150
|
:indel=>true,
|
151
151
|
:trim=>false},
|
152
152
|
{:region=>"CA",
|
@@ -226,7 +226,7 @@ module ViralSeq
|
|
226
226
|
:TCS_QC=>true,
|
227
227
|
:ref_genome=>"HXB2",
|
228
228
|
:ref_start=>6585,
|
229
|
-
:ref_end=>
|
229
|
+
:ref_end=>7208,
|
230
230
|
:indel=>true,
|
231
231
|
:trim=>false},
|
232
232
|
{:region=>"CA",
|
@@ -307,7 +307,7 @@ module ViralSeq
|
|
307
307
|
:TCS_QC=>true,
|
308
308
|
:ref_genome=>"HXB2",
|
309
309
|
:ref_start=>6585,
|
310
|
-
:ref_end=>
|
310
|
+
:ref_end=>7208,
|
311
311
|
:indel=>true,
|
312
312
|
:trim=>false},
|
313
313
|
{:region=>"CA",
|
data/lib/viral_seq/tcs_json.rb
CHANGED
@@ -101,10 +101,10 @@ module ViralSeq
|
|
101
101
|
|
102
102
|
data[:ref_genome] = get_ref
|
103
103
|
|
104
|
-
print "reference 5'end ref position or
|
104
|
+
print "reference 5'end ref position or position range, 0 if no need to match this end \n> "
|
105
105
|
data[:ref_start] = gets.chomp.rstrip.to_i
|
106
106
|
|
107
|
-
print "reference 3'end ref position or
|
107
|
+
print "reference 3'end ref position or position range: 0 if no need to match this end \n> "
|
108
108
|
data[:ref_end] = gets.chomp.rstrip.to_i
|
109
109
|
|
110
110
|
print "allow indels? (default as yes) Y/N \n> "
|
data/lib/viral_seq/version.rb
CHANGED