Method: Bio::Sim4::Report::Segment#initialize
- Defined in:
- lib/bio/appl/sim4/report.rb
#initialize(pos_st, pos_ed, seq = nil) ⇒ Segment
Creates a new Segment object. It is designed to be called internally from Bio::Sim4::Report::SegmentPair class. Users shall not use it directly.
242 243 244 245 246 |
# File 'lib/bio/appl/sim4/report.rb', line 242 def initialize(pos_st, pos_ed, seq = nil) @from = pos_st.to_i @to = pos_ed.to_i @seq = seq end |