class Bio::Sim4::Report::Segment
Segment informations of a segment pair.
Attributes
start position of the segment (the first position is 1)
sequence (with gaps) of the segment
end position of the segment (including its position)
Public Class Methods
Source
# File lib/bio/appl/sim4/report.rb 253 def initialize(pos_st, pos_ed, seq = nil) 254 @from = pos_st.to_i 255 @to = pos_ed.to_i 256 @seq = seq 257 end
Creates a new Segment object. It is designed to be called internally from Bio::Sim4::Report::SegmentPair class. Users shall not use it directly.