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.
- checksums.yaml +4 -4
- data/bin/ba_prodigal +1 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5515eba9f5210f5ab1ec8d32ec6c88f3ef1579b9
|
4
|
+
data.tar.gz: eb6abf3a4b876c8078c5dfb3c1e19ed9a17dc76e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]}")
|