viral_seq 1.0.3 → 1.0.4

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: 8dc2629a651cb1b97551ef09e0a9657afdc27343a2d5d663e488bbed44a368ec
4
- data.tar.gz: 2921f3c1789fefcd9238f5470b5bbf56dcffca68099a8e78f25f670bbbb70fd4
3
+ metadata.gz: 7f54bac7de0e2ffe1b4eac99b6f325b039a3be19d832926ebf1b280154cd0ad2
4
+ data.tar.gz: f5c5fe62299ec5253c4b8b395816a9158e8d60f428b757161daf209da70b0c0e
5
5
  SHA512:
6
- metadata.gz: 422a8ab890034b2e9142cbd22ab3c550d9a3f8e17590ef64c78ac972d744170faf01bd8376732270bac90044d35cad8db8d79fa38066c4f524fe3d6b5a282f6d
7
- data.tar.gz: 84295ff2054e93bc3713dd843b0f0ccf40d234fb31a8329776f5b21ce11ff13cc63251a058d813a3d023f762f8b0cbfe0e7616cff2a5357f8757ddb9310c6ad0
6
+ metadata.gz: 5c9b7767cbd000c253c7a6f98432e6230adfb6736cf39ced62815443f82f1cee7f446ebabf7791c67675bf37e664f7f4ac9570350894a871ac0310c36844213e
7
+ data.tar.gz: '049d8b2fc82f09ab618d777a2dc6d20922dd6e4c9af8f6c47ca734b8caa46c4fcee10617247404b6ac85c3e31e3d47353c7162b7c6f1df17ec6ce9efb94829a5'
data/README.md CHANGED
@@ -47,6 +47,11 @@ Examine for drug resistance mutations for HIV PR region
47
47
 
48
48
  ## Updates
49
49
 
50
+ Version 1.0.4-07102019:
51
+
52
+ 1. Use home directory (Dir.home) instead of the directory of the script file for temp MUSCLE file.
53
+ 2. Fix bugs in bin `locator`
54
+
50
55
  Version 1.0.3-07102019:
51
56
 
52
57
  1. Bug fix.
data/bin/locator CHANGED
@@ -52,7 +52,7 @@ def myparser
52
52
  return options
53
53
  end
54
54
 
55
- puts "\nSequence Locator (RubyGem::ViralSeq) v1.0.1 by Shuntai Zhou"
55
+ puts "\nSequence Locator (RubyGem::ViralSeq) #{ViralSeq::VERSION} by Shuntai Zhou"
56
56
  puts "See details at https://github.com/ViralSeq/viral_seq\n"
57
57
  puts "Resembling Sequence Locator from LANL (https://www.hiv.lanl.gov/content/sequence/LOCATE/locate.html)\n\n"
58
58
 
@@ -38,7 +38,7 @@ module ViralSeq
38
38
  # => ["AAGGCGTAGGAC-", "-AAGCTTAGGACG"]
39
39
 
40
40
  def self.align(ref_seq = "", test_seq = "", path_to_muscle = false)
41
- temp_dir=File.dirname($0)
41
+ temp_dir = Dir.home
42
42
  temp_file = temp_dir + "/_temp_muscle_in"
43
43
  temp_aln = temp_dir + "/_temp_muscle_aln"
44
44
  name = ">test"
@@ -2,5 +2,5 @@
2
2
  # version info and histroy
3
3
 
4
4
  module ViralSeq
5
- VERSION = "1.0.3"
5
+ VERSION = "1.0.4"
6
6
  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.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shuntai Zhou