viral_seq 1.9.0 → 1.9.1

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: 5817b0c1bb2887e02c101dd1032ad1a5523d7390caa00c785050ad05e4bb77e7
4
- data.tar.gz: 0e9e8c40625122a932f7e06062b4e129712d433dbf11dcd0b4b51d51ce80b514
3
+ metadata.gz: 23960c6236e1230176c5517c4063bf1aa279597582915fca88b0e6ba9d649c75
4
+ data.tar.gz: 33965e6d03949d97be5fc5df871c355135c5cbe7124d5ec179f0e17ca4afe30b
5
5
  SHA512:
6
- metadata.gz: 6abfc477dea09519649614f8300d17be470a2511f79d7ed33b794ba96ab721584a488b71c01040e6c55e92e9e22c5282afedbdf02b6889acfdb7fb6fcddecb0d
7
- data.tar.gz: 861e6ff9b55be29357b677c270ea7c1cc20ff49960cd8f3429ceb323751c3ddd6a7c9a773a9c383da5abb5e8f99a5172cd74cb2a70d54a674eba2d1406d904ea
6
+ metadata.gz: 7cb163ef4f6fa0ccc486c39fdb34241228611a5ed7c4195ce982936cefbafb041713abcad3688bf8bf88fa326ba679e1f8eed7b8682d1e76ad527f755f71227a
7
+ data.tar.gz: de5f313ba3e76e987e1093dcb3d00bcb212fd5d0dd5118b2022c49807cc1a7ed8f4c92bbf9c2903dbcf7a6df5f654df52a19c21293eaa83709f72b7d30383e18
data/README.md CHANGED
@@ -187,6 +187,10 @@ qc_seqhash.sdrm_hiv_pr(cut_off)
187
187
 
188
188
  ## Updates
189
189
 
190
+ ### Version-1.9.1-12022024
191
+
192
+ 1. Fixed a bug in the `tcs_sdrm` pipeline.
193
+
190
194
  ### Version-1.9.0-11132024
191
195
 
192
196
  1. `ViralSeq::TcsCore::validate_file_name` will not report errors when non-sequence data in the folder, instead these files will be ignored.
data/bin/tcs_sdrm CHANGED
@@ -215,8 +215,8 @@ libs.each do |lib|
215
215
  tag = data[0].split("_")[-1].gsub(/\W/,"")
216
216
  summary_hash[tag] += "," + data[1].to_f.round(4).to_s + "," + data[2].to_f.round(4).to_s
217
217
  end
218
- regions << "V1V3"
219
- regions.each do |region|
218
+ regions_for_summary = regions.dup.push("V1V3")
219
+ regions_for_summary.each do |region|
220
220
  next unless summary_hash[region]
221
221
  seq_summary_out.puts region.to_s + "," + summary_hash[region]
222
222
  end
data/lib/viral_seq/pid.rb CHANGED
@@ -14,10 +14,7 @@ module ViralSeq
14
14
  nt = ['A','T','C','G']
15
15
  pid_pool = ['A','T','C','G']
16
16
  (l-1).times do
17
- pid_pool = pid_pool.product(nt)
18
- pid_pool.collect! do |v|
19
- v.join("")
20
- end
17
+ pid_pool = pid_pool.product(nt).map(&:join)
21
18
  end
22
19
  return pid_pool
23
20
  end # end of .generate_primer_id_pool
@@ -2,6 +2,6 @@
2
2
  # version info and histroy
3
3
 
4
4
  module ViralSeq
5
- VERSION = "1.9.0"
6
- TCS_VERSION = "2.7.0"
5
+ VERSION = "1.9.1"
6
+ TCS_VERSION = "2.7.1"
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.9.0
4
+ version: 1.9.1
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-11-13 00:00:00.000000000 Z
12
+ date: 2024-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler