Sha256: 233f5a43ce665d4c22a0bf5471759fd6b767acd99bff82ddf1865b110c6c3f02
Contents?: true
Size: 900 Bytes
Versions: 5
Compression:
Stored size: 900 Bytes
Contents
# # = bio/db/gff/gffdb.rb - GFF database class # # Copyright:: Copyright (C) 2010 # Pjotr Prins <pjotr.prins@thebird.nl> # License:: The Ruby License # Create db from a GFF file require 'bio' require 'bio/db/gff/gfffileiterator' require 'bio/db/gff/gfffasta' require 'bio/db/gff/gffassemble' require 'bio/db/gff/gffparser' require 'bio/db/gff/gffinmemory' require 'bio/db/gff/gffnocache' module Bio module GFFbrowser class GFFdb attr_reader :assembler include Digest # Initialize a GFF parser def initialize filename, options = {} cache_recs = options[:cache_records] @assembler = case cache_recs when :cache_none NoCache.new(filename, options) else InMemory.new(filename, options) # default end end end # GFFdb end # GFFbrowser end # Bio
Version data entries
5 entries across 5 versions & 1 rubygems