Method: Bio::Sim4::Report::SegmentPair.seq1_intron
- Defined in:
- lib/bio/appl/sim4/report.rb
.seq1_intron(prev_e, e, aln) ⇒ Object
Parses part of sim4 result text and creates a new SegmentPair object when the seq1 is a intron. It is designed to be called internally from Bio::Sim4::Report::Hit class. Users shall not use it directly.
184 185 186 187 188 |
# File 'lib/bio/appl/sim4/report.rb', line 184 def self.seq1_intron(prev_e, e, aln) self.new(Segment.new(prev_e.seq1.to+1, e.seq1.from-1, aln[0]), Segment.new(nil, nil, aln[2]), aln[1]) end |