Method: Bio::Sim4::Report::SegmentPair.seq2_intron

Defined in:
lib/bio/appl/sim4/report.rb

.seq2_intron(prev_e, e, aln) ⇒ Object

Parses part of sim4 result text and creates a new SegmentPair object when seq2 is a intron. It is designed to be called internally from Bio::Sim4::Report::Hit class. Users shall not use it directly.



195
196
197
198
199
# File 'lib/bio/appl/sim4/report.rb', line 195

def self.seq2_intron(prev_e, e, aln)
  self.new(Segment.new(nil, nil, aln[0]),
           Segment.new(prev_e.seq2.to+1, e.seq2.from-1, aln[2]),
           aln[1])
end