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, options = [])
  @program = program
  @hmmfile = hmmfile
  @seqfile = seqfile
  @output  = ''
  
  begin
    @options = options.to_ary
  rescue NameError #NoMethodError
    # backward compatibility
    @options = Shellwords.shellwords(options)
  end
end