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