Method: Bio::HMMER#initialize
- Defined in:
- lib/bio/appl/hmmer.rb
#initialize(program, hmmfile, seqfile, options = []) ⇒ HMMER
Sets a program name, a profile hmm file name, a query sequence file name and options in string.
Program names: hmmsearch, hmmpfam
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/bio/appl/hmmer.rb', line 60 def initialize(program, hmmfile, seqfile, = []) @program = program @hmmfile = hmmfile @seqfile = seqfile @output = '' begin = .to_ary rescue NameError #NoMethodError # backward compatibility = Shellwords.shellwords() end end |