class Bio::Big::ShortReversedFrameState
This is the reversed version, which is rather the same as the forward, though the tracked ntseq_pos should be seen from the end of the sequence, as we are emmiting sequences from the end(!) Also we need to make sure the sequence is always in frame (from the left).
Attributes
reversed[RW]
Public Class Methods
new(seq, ntseq_pos, ntmin_size)
click to toggle source
Calls superclass method
Bio::Big::ShortFrameState::new
# File lib/bigbio/db/emitters/orf_emitter.rb, line 198 def initialize seq, ntseq_pos, ntmin_size @reversed = true chop = seq.size % 3 # align on codons super seq[chop..-1],ntseq_pos,ntmin_size @seq = seq # but record full seq end