neurohmmerapp 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/neurohmmerapp +1 -2
- data/lib/neurohmmerapp.rb +0 -13
- data/lib/neurohmmerapp/config.rb +1 -1
- data/lib/neurohmmerapp/exceptions.rb +0 -7
- data/lib/neurohmmerapp/neurohmmer.rb +2 -2
- data/lib/neurohmmerapp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6fc147c4ef2c0987b6bccebb9a66725dad4397f
|
4
|
+
data.tar.gz: 9d2ad094a7c2734fae1adc40811eece6f48206c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbedf3a40c6d5ad0bdfd34b1bea1186cd995fb750ef2d20fd73d9f3b7c3a6066be19af8e3a49c81ce97f4c6a3c573f0f2ab63408cec31502f38521718bb96f5d
|
7
|
+
data.tar.gz: eee89fb56a2106682cd946c90603f2435abe2a3532fb56c2c9a05121299abec6a96bc2a3f8bf1bc1653e75df46ec5a0b4407d6018de659be9c6d0986cb873a94
|
data/bin/neurohmmerapp
CHANGED
@@ -12,7 +12,7 @@ begin
|
|
12
12
|
Slop.parse!(strict: true, help: true) do
|
13
13
|
banner <<BANNER
|
14
14
|
SUMMARY:
|
15
|
-
NeuroHmmer - Identify Neuropeptide Precursors
|
15
|
+
NeuroHmmer - Identify Neuropeptide Precursors
|
16
16
|
|
17
17
|
USAGE:
|
18
18
|
$ neurohmmerapp [options]
|
@@ -115,7 +115,6 @@ BANNER
|
|
115
115
|
|
116
116
|
exit!
|
117
117
|
|
118
|
-
|
119
118
|
rescue NeuroHmmerApp::NUM_THREADS_INCORRECT => e
|
120
119
|
|
121
120
|
puts e
|
data/lib/neurohmmerapp.rb
CHANGED
@@ -36,8 +36,6 @@ module NeuroHmmerApp
|
|
36
36
|
|
37
37
|
init_binaries
|
38
38
|
init_dirs
|
39
|
-
|
40
|
-
load_extension
|
41
39
|
check_num_threads
|
42
40
|
check_max_characters
|
43
41
|
self
|
@@ -109,17 +107,6 @@ module NeuroHmmerApp
|
|
109
107
|
assert_mafft_installed
|
110
108
|
end
|
111
109
|
|
112
|
-
def load_extension
|
113
|
-
return unless config[:require]
|
114
|
-
config[:require] = File.expand_path config[:require]
|
115
|
-
unless File.exist?(config[:require]) && File.file?(config[:require])
|
116
|
-
fail EXTENSION_FILE_NOT_FOUND, config[:require]
|
117
|
-
end
|
118
|
-
|
119
|
-
logger.debug("Loading extension: #{config[:require]}")
|
120
|
-
require config[:require]
|
121
|
-
end
|
122
|
-
|
123
110
|
def check_num_threads
|
124
111
|
num_threads = Integer(config[:num_threads])
|
125
112
|
fail NUM_THREADS_INCORRECT unless num_threads > 0
|
data/lib/neurohmmerapp/config.rb
CHANGED
@@ -59,13 +59,6 @@ MSG
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
-
# Raised if extension file set, but does not exist.
|
63
|
-
class EXTENSION_FILE_NOT_FOUND < ENOENT
|
64
|
-
def initialize(ent)
|
65
|
-
super 'extension file', ent
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
62
|
## NUM THREADS ##
|
70
63
|
|
71
64
|
# Raised if num_threads set by the user is incorrect.
|
@@ -27,7 +27,7 @@ module NeuroHmmerApp
|
|
27
27
|
attr_reader :gv_dir, :input_file, :xml_file, :raw_seq, :unique_id, :params
|
28
28
|
|
29
29
|
# Setting the scene
|
30
|
-
def init(
|
30
|
+
def init(_base_url, params)
|
31
31
|
create_unique_id
|
32
32
|
create_run_dir
|
33
33
|
@params = params
|
@@ -156,4 +156,4 @@ module NeuroHmmerApp
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
end
|
159
|
-
end
|
159
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neurohmmerapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ismail Moghul
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-11-
|
12
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|