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 +4 -4
- data/README.md +4 -0
- data/bin/tcs_sdrm +2 -2
- data/lib/viral_seq/pid.rb +1 -4
- data/lib/viral_seq/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23960c6236e1230176c5517c4063bf1aa279597582915fca88b0e6ba9d649c75
|
4
|
+
data.tar.gz: 33965e6d03949d97be5fc5df871c355135c5cbe7124d5ec179f0e17ca4afe30b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
219
|
-
|
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
|
data/lib/viral_seq/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|