| Class | Bio::Sim4::Report::Segment |
| In: |
lib/bio/appl/sim4/report.rb
|
| Parent: | Object |
| 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) |
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 242
242: def initialize(pos_st, pos_ed, seq = nil)
243: @from = pos_st.to_i
244: @to = pos_ed.to_i
245: @seq = seq
246: end