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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d940e5f465cba40def34166fe50e0a21b1c62a1fff8e0be8abdabb7b4c4aab77
4
- data.tar.gz: 7e4be6ec82d9081a1ea3130eed49dcaac080608e481c7520b43c2e58a50e379d
3
+ metadata.gz: 280f17e2219e2ddeccc8ba9904289c71339e5a956be850fc80bc63ad89f39a33
4
+ data.tar.gz: 07efd4b233f28e8d19cd31b588b1b5d430fbdbccaddae0ffccf6b32b9419de75
5
5
  SHA512:
6
- metadata.gz: 15805b09c96b6d1bff023a82948f23ceb584c60ffb21b85e59d6f4ddc2e2394045a29788a7c5811c714afedfae6405c36b88e0bcadce0d1408068418c497e596
7
- data.tar.gz: '0871676e5ee49fa14f84ec3c109172d964efac18f3f104ec38ad52daa69b9ef85a935c35ca2377d261b38edc5d8d438469b2360ec791a902116f60c8daeef5c2'
6
+ metadata.gz: 83b0fdee89ea5a75227fcdc5e5e58bad83102f27ac29506f81be71785a61caf0815bdc75d488253c0f88392df8e5ed9d43ea480d5d1b2333365088d023da756b
7
+ data.tar.gz: 90af1682bc4718be2261fdca138bdf445af38d35785b4b7d291107b4e07b1c75a6cdc75db83e17eee129f7a6113687ef822c42eb783515b9f9653df26c726d19
data/.gitignore CHANGED
@@ -11,3 +11,5 @@
11
11
 
12
12
  # gem files
13
13
  *.gem
14
+
15
+ .DS_Store
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- viral_seq (1.10.1)
4
+ viral_seq (1.10.0)
5
5
  colorize (~> 0.1)
6
6
  combine_pdf (~> 1.0, >= 1.0.0)
7
7
  muscle_bio (= 0.4)
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.1
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.
@@ -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)
@@ -65,7 +65,7 @@ module ViralSeq
65
65
  :TCS_QC=>true,
66
66
  :ref_genome=>"HXB2",
67
67
  :ref_start=>6585,
68
- :ref_end=>7205..7210,
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=>7205..7210,
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=>7205..7210,
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=>7205..7210,
310
+ :ref_end=>7208,
311
311
  :indel=>true,
312
312
  :trim=>false},
313
313
  {:region=>"CA",
@@ -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 posiiton range, 0 if no need to match this end \n> "
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 posiiton range: 0 if no need to match this end \n> "
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> "
@@ -2,6 +2,6 @@
2
2
  # version info and histroy
3
3
 
4
4
  module ViralSeq
5
- VERSION = "1.10.0"
6
- TCS_VERSION = "2.7.2"
5
+ VERSION = "1.10.2"
6
+ TCS_VERSION = "2.7.3"
7
7
  end
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.10.0
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shuntai Zhou