viral_seq 1.2.8 → 1.2.9
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 +5 -0
- data/bin/tcs +2 -2
- data/lib/viral_seq/math.rb +1 -1
- 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: 2ccdd3f318deb458540b703ae00afcbdd195a92145c22dfb6c95ad14ac366146
|
|
4
|
+
data.tar.gz: 4f131cd69fef8548c1a466c2e23be008b08bed50ca78ef12195e4d4b39e052eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cb44299c0061794b8c32c23c850cd9c53eb9245d7124ed75d35367225e600e2c630df9853d13a8003a8a1c6c793edea58a188871f328866043132585846e825
|
|
7
|
+
data.tar.gz: 92594266725b7691c5203cd478e84a0fea7fc6d08124efad6311a4e2bdcc7dbd0d6218a54e5b63d19e3c3a8ad789c49906388bac7ff59611bc5810e1c614d8ef
|
data/README.md
CHANGED
|
@@ -179,6 +179,11 @@ qc_seqhash.sdrm_hiv_pr(cut_off)
|
|
|
179
179
|
|
|
180
180
|
## Updates
|
|
181
181
|
|
|
182
|
+
### Version 1.2.9-08022021
|
|
183
|
+
|
|
184
|
+
1. Fixed a bug when reading the input primer sequences in lowercases.
|
|
185
|
+
2. Fix a bug in the method ViralSeq::Math::RandomGaussian
|
|
186
|
+
|
|
182
187
|
### Version 1.2.8-07292021
|
|
183
188
|
|
|
184
189
|
1. Fixed an issue when reading .fastq files containing blank_lines.
|
data/bin/tcs
CHANGED
|
@@ -152,8 +152,8 @@ begin
|
|
|
152
152
|
primer[:region] ? region = primer[:region] : region = "region"
|
|
153
153
|
summary_json[:primer_set_name] = region
|
|
154
154
|
|
|
155
|
-
cdna_primer = primer[:cdna]
|
|
156
|
-
forward_primer = primer[:forward]
|
|
155
|
+
cdna_primer = primer[:cdna].upcase
|
|
156
|
+
forward_primer = primer[:forward].upcase
|
|
157
157
|
|
|
158
158
|
export_raw = primer[:export_raw]
|
|
159
159
|
limit_raw = primer[:limit_raw]
|
data/lib/viral_seq/math.rb
CHANGED
|
@@ -31,7 +31,7 @@ module ViralSeq
|
|
|
31
31
|
def rand
|
|
32
32
|
if (@compute_next_pair = !@compute_next_pair)
|
|
33
33
|
theta = 2 * ::Math::PI * @rng.call
|
|
34
|
-
scale = @sd * ::Math.sqrt(-2 * Math.log(1 - @rng.call))
|
|
34
|
+
scale = @sd * ::Math.sqrt(-2 * ::Math.log(1 - @rng.call))
|
|
35
35
|
@g1 = @mean + scale * ::Math.sin(theta)
|
|
36
36
|
@g0 = @mean + scale * ::Math.cos(theta)
|
|
37
37
|
else
|
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.2.
|
|
4
|
+
version: 1.2.9
|
|
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: 2021-
|
|
12
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|