Method: Bio::Sim4::Report::Hit#initialize

Defined in:
lib/bio/appl/sim4/report.rb

#initialize(str) ⇒ Hit

Parses part of sim4 result text and creates a new Hit object. It is designed to be called internally from Bio::Sim4::Report class. Users shall not use it directly.



273
274
275
276
# File 'lib/bio/appl/sim4/report.rb', line 273

def initialize(str)
  @data = str.split(/\n(?:\r?\n)+/)
  parse_seqdesc
end