viral_seq 1.5.0 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c678fb3b1c37bd996ccf65f1b062a044e60eee32c01b0d75f7c9b7859c3136dd
4
- data.tar.gz: 7e42acba2e2ae0e3f17a2786cfa1b5b4a376e0b5723c73ed83d32e9d93509c34
3
+ metadata.gz: ed86467ec77cdce9b1175604528937233fb2d3e91081a294b8a9aed2e5ca2b68
4
+ data.tar.gz: 3c9eef94e3252e5f486ee82b69b45e584810281d50c7d7ceaad0d51ec87ba890
5
5
  SHA512:
6
- metadata.gz: 527894489a0f2d899c449b802a6986f9ebad74fb324339c29a523f6a39cc2ce9d8639f39b837e32881e977e05ea639b4a3681d0b5cbdf87650f5749cfdc72b64
7
- data.tar.gz: c6418b6b395fdc52e9ed53c4e26531f4baac0cf61356db83aa9089e3e37a348edc8f12d2ca1a6b9cc8d5609f1ff0bfd9ba3e98025c0e4d71d80702d662ecbaa6
6
+ metadata.gz: cf23bedc3bc4be082eeb1e1a512fa5ae4777ca2d7b7d425348e2f95cc934fe6a1aed5875998fd5236f1485ed86797d3b2fed1d416a4cca6442e4dfa35967dd3b
7
+ data.tar.gz: 4958b976b7d97d1c7f052b0341bdbf9eee66db86cabf6aada972afb081a4766d20af3cc0c13e0c14a01b4a1e831c62c49e03ffd6131a21f8215b66fc19cee61b
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- viral_seq (1.3.0)
4
+ viral_seq (1.6.2)
5
5
  colorize (~> 0.1)
6
6
  combine_pdf (~> 1.0, >= 1.0.0)
7
- muscle_bio (~> 0.4)
7
+ muscle_bio (~> 0.5)
8
8
  prawn (~> 2.3, >= 2.3.0)
9
9
  prawn-table (~> 0.2, >= 0.2.0)
10
10
 
@@ -15,7 +15,7 @@ GEM
15
15
  combine_pdf (1.0.21)
16
16
  ruby-rc4 (>= 0.1.5)
17
17
  diff-lcs (1.3)
18
- muscle_bio (0.4.0)
18
+ muscle_bio (0.5.0)
19
19
  pdf-core (0.9.0)
20
20
  prawn (2.4.0)
21
21
  pdf-core (~> 0.9.0)
data/README.md CHANGED
@@ -55,7 +55,7 @@ Example commands:
55
55
  ---
56
56
  ### `tcs_log`
57
57
 
58
- Use `tcs_log` script to pool run logs and TCS fasta files after one batch of `tcs` jobs.
58
+ Use `tcs_log` script to pool run logs and TCS fasta files after one batch of `tcs` jobs. This command generates log.html to visualize the sequencing runs.
59
59
 
60
60
 
61
61
  Example file structure:
@@ -179,6 +179,22 @@ qc_seqhash.sdrm_hiv_pr(cut_off)
179
179
 
180
180
  ## Updates
181
181
 
182
+ ### Version-1.6.3-02052022
183
+
184
+ 1. Updated on `ViralSeq::Muscle` module along with the update of `muscle` from version 3.8.1 to 5.1.
185
+ 2. Optimized the `locator` algorithm based on `muscle` v5.1.
186
+ 3. Optimized the `tcs_sdrm` pipeline based on `muscle` v5.1.
187
+
188
+ ### Version-1.6.1-02022022
189
+
190
+ 1. Fixed the `nav bar` in tcs_log html file.
191
+ 2. Fixed a typo in `tcs`.
192
+
193
+ ### Version 1.6.0-01042022
194
+
195
+ 1. Update the `ViralSeq::TcsCore::detection_limit` with pre-calculated values to save processing time.
196
+ 2. Update `tcs` pipeline to v2.5.0. HTML report will generated after running `tcs_log` script after `tcs` pipeline.
197
+
182
198
  ### Version 1.5.0-01042022
183
199
 
184
200
  1. Added a function to calcute detection limit/sensitivity for minority variants (R required). `ViralSeq::TcsCore::detection_limit`
data/bin/tcs CHANGED
@@ -32,9 +32,18 @@ require 'optparse'
32
32
 
33
33
  options = {}
34
34
 
35
- banner = '-'*50 + "\n" +
36
- '| The TCS Pipeline ' + "Version #{ViralSeq::TCS_VERSION}".red.bold + " by " + "Shuntai Zhou".blue.bold + ' |' + "\n" +
37
- '-'*50 + "\n"
35
+ # banner = '-'*50 + "\n" +
36
+ # '| The TCS Pipeline ' + "Version #{ViralSeq::TCS_VERSION}".red.bold + " by " + "Shuntai Zhou".blue.bold + ' |' + "\n" +
37
+ # '-'*50 + "\n"
38
+
39
+ banner = "\n" +
40
+ "████████ ██████ ███████ ██████ ██ ██████ ███████ ██ ██ ███ ██ ███████\n".light_red +
41
+ " ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██\n".light_yellow +
42
+ " ██ ██ ███████ ██████ ██ ██████ █████ ██ ██ ██ ██ ██ █████\n".light_green +
43
+ " ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██\n".light_cyan +
44
+ " ██ ██████ ███████ ██ ██ ██ ███████ ███████ ██ ██ ████ ███████\n".light_magenta
45
+
46
+ banner += "\nVersion #{ViralSeq::TCS_VERSION}".red.bold + " by " + "Shuntai Zhou".blue.bold + "\n\n"
38
47
 
39
48
  OptionParser.new do |opts|
40
49
  opts.banner = banner + "Usage: tcs -j"
@@ -164,7 +173,7 @@ begin
164
173
  unless forward_primer
165
174
  log.puts Time.now.to_s + "\t" + region + " does not have forward primer sequence. #{region} skipped."
166
175
  end
167
- summary_json[:cdan_primer] = cdna_primer
176
+ summary_json[:cdna_primer] = cdna_primer
168
177
  summary_json[:forward_primer] = forward_primer
169
178
 
170
179
  primer[:majority] ? majority_cut_off = primer[:majority] : majority_cut_off = 0