class ORFnucleotides
Helper class for storing ORF
information
Attributes
start[R]
stop[R]
Public Class Methods
new(sequence, start, stop)
click to toggle source
Calls superclass method
ORFsequence::new
# File lib/bigbio/sequence/predictorf.rb, line 16 def initialize sequence, start, stop super(sequence) @start = start @stop = stop end
Public Instance Methods
fullseq()
click to toggle source
# File lib/bigbio/sequence/predictorf.rb, line 26 def fullseq @seq end
seq()
click to toggle source
# File lib/bigbio/sequence/predictorf.rb, line 22 def seq @seq[@start..@stop-1] end
to_s()
click to toggle source
# File lib/bigbio/sequence/predictorf.rb, line 30 def to_s seq end