bin/neurohmmer in neurohmmer-0.1.1 vs bin/neurohmmer in neurohmmer-0.1.2
- old
+ new
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby
require 'optparse'
+require 'English'
require 'neurohmmer'
require 'neurohmmer/version'
opt = {}
@@ -34,11 +35,11 @@
opts.on('-s', '--signalp_path path',
'The full path to signalp executable') do |s|
opt[:signalp_path] = s
end
- opts.on('-b', '--hmmer_bin_path path',
+ opts.on('-H', '--hmmer_bin_path path',
'The full path to hmmer binaries directory') do |h|
opt[:hmmer_path] = h
end
opt[:num_threads] = 1
@@ -68,10 +69,10 @@
elsif ARGV.length == 0
$stderr.puts optparse
exit 1
end
rescue OptionParser::ParseError
- $stderr.print 'Error: ' + $ERROR_INFO.to_s + '\n'
+ $stderr.print 'Error: ' + $ERROR_INFO.to_s + "\n"
exit 1
end
opt[:input_file] = ARGV[0]