Method: Bio::Sim4::Report::SegmentPair#initialize

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

#initialize(seq1, seq2, midline = nil, percent_identity = nil, direction = nil) ⇒ SegmentPair

Creates a new SegmentPair object. It is designed to be called internally from Bio::Sim4::Report::Hit object. Users shall not use it directly.



139
140
141
142
143
144
145
146
# File 'lib/bio/appl/sim4/report.rb', line 139

def initialize(seq1, seq2, midline = nil,
               percent_identity = nil, direction = nil)
  @seq1 = seq1
  @seq2 = seq2
  @midline = midline
  @percent_identity = percent_identity
  @direction = direction
end