bacterial-annotator 0.1.4 → 0.1.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ba_prodigal +1 -15
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35daa78965e345c7989b43cdd020075f923ea6e3
4
- data.tar.gz: e4e6b3a695f113d93f7d2a9922b065cebf43daba
3
+ metadata.gz: 5515eba9f5210f5ab1ec8d32ec6c88f3ef1579b9
4
+ data.tar.gz: eb6abf3a4b876c8078c5dfb3c1e19ed9a17dc76e
5
5
  SHA512:
6
- metadata.gz: a761119f830c438235ab2bd36e3547277d70fe1652e3f3c4c13137213dddb7e9e8ca7a607bf6185bdccd7f5f8c2fcced53074ebf7e63e69d5e37403a5180a701
7
- data.tar.gz: b77ecffa01a1d32f36c4c3fd7f0c4c81be356fcb30fa62410b80e572f43ae78005d4822e487214a1d6b3b7be6e4ff2bd2786e79fc86b7917787b999133a6192d
6
+ metadata.gz: 4c55bca9cea54aaf3104a0b1bf7d34e3390b3971b234391f39ad95b043d1320ee2abbb0092a3a387d87b7ed258cd2be4bbc65ed37bf24811f434ca878f99ea60
7
+ data.tar.gz: b33840baec3794e1a9509026c1da43f3ac27438cd7c53be1cd4373548c22f9c760efab4f48a54e77c9e6341143d2c47834a26223afcb7fe38fe1cfcccd02d9af
data/bin/ba_prodigal CHANGED
@@ -15,16 +15,6 @@ ROOT_path = File.dirname(__FILE__)
15
15
  # Install prodigal on the user system
16
16
  def installProdigal
17
17
 
18
- # begin
19
- # resp = open("https://github.com/hyattpd/Prodigal/releases/download/v2.6.2/prodigal.linux")
20
- # open("#{ROOT_path}/prodigal.linux", "wb") do |file|
21
- # file.write(resp.read)
22
- # end
23
- # File.chmod(0755, "#{ROOT_path}/prodigal.linux")
24
- # rescue
25
- # abort "Problem installing Prodigal, aborting"
26
- # end
27
-
28
18
  begin
29
19
  resp = open("https://github.com/hyattpd/Prodigal/archive/v2.6.2.tar.gz")
30
20
  open("#{ROOT_path}/v2.6.2.tar.gz", "wb") do |file|
@@ -52,11 +42,7 @@ if ! File.exists? "#{ROOT_path}/prodigal.linux"
52
42
  puts "See https://github.com/hyattpd/Prodigal"
53
43
  puts "The Licence is GPLv3"
54
44
  installProdigal
55
- puts "Prodigal successfully installed"
45
+ puts "Prodigal successfully installed in #{ROOT_path}/Prodigal-2.6.2"
56
46
  puts ""
57
47
 
58
48
  end
59
-
60
- # Main
61
- # Dir.mkdir("Prodigal-Output") if ! File.exists? "Prodigal-Output"
62
- # system("#{ROOT_path}/prodigal.linux -a Prodigal-Output/Proteins.fa -d Prodigal-Output/Genes.fa -o Prodigal-Output/Genbanks.gbk -i #{ARGV[0]}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bacterial-annotator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxime Deraspe