class BioDSL::BackTrack::Match
Class containing match information.
Attributes
length[R]
match[R]
pos[R]
Public Class Methods
new(pos, length, match)
click to toggle source
# File lib/BioDSL/seq/backtrack.rb, line 250 def initialize(pos, length, match) @pos = pos @length = length @match = match end
Public Instance Methods
start()
click to toggle source
# File lib/BioDSL/seq/backtrack.rb, line 256 def start @pos end
stop()
click to toggle source
# File lib/BioDSL/seq/backtrack.rb, line 260 def stop @pos + @length - 1 end
to_s()
click to toggle source
# File lib/BioDSL/seq/backtrack.rb, line 264 def to_s "#{pos}:#{length}:#{match}" end