class Bio::MAF::BGZFChunkReader

Attributes

f[R]
r[R]

Public Class Methods

new(f, _chunk_size) click to toggle source
# File lib/bio/maf/parser.rb, line 77
def initialize(f, _chunk_size)
  @f = f
  @r = Bio::BGZF::Reader.new(f)
end

Public Instance Methods

pos() click to toggle source
# File lib/bio/maf/parser.rb, line 82
def pos
  r.tell
end
read_chunk() click to toggle source
# File lib/bio/maf/parser.rb, line 86
def read_chunk
  r.read_block
end
read_chunk_at(vo, _size) click to toggle source
# File lib/bio/maf/parser.rb, line 90
def read_chunk_at(vo, _size)
  r.read_block_at(vo)
end