Sha256: 2d38718772c9985065fa0e0bcb7be047e8d87bc33ebf319126e630e1d79f27ed
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
# # = bio/db/gff/gff3.rb - GFF database class # # Copyright:: Copyright (C) 2010 # Pjotr Prins <pjotr.prins@thebird.nl> # License:: The Ruby License # Create a GFF3 file parser require 'bio/db/gff/digest/gffinmemory' require 'bio/db/gff/digest/gffnocache' require 'bio/db/gff/digest/gfflrucache' require 'bio/db/gff/block/gffblockparser' module Bio module GFFbrowser class GFF3 attr_reader :assembler include Digest include Block # Initialize a GFF parser def initialize filename, options = {} options[:parser] = :line if options[:parser] == nil cache_recs = options[:cache_records] @assembler = if options[:block] GffBlockParser.new(filename, options) else case cache_recs when :cache_none NoCache.new(filename, options) when :cache_lru LruCache.new(filename, options) else InMemory.new(filename, options) # default end end end end # GFF3 end # GFFbrowser end # Bio
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bio-gff3-0.9.1 | lib/bio/db/gff/gff3.rb |
bio-gff3-0.9.0 | lib/bio/db/gff/gff3.rb |
bio-gff3-0.8.7 | lib/bio/db/gff/gff3.rb |
bio-gff3-0.8.6 | lib/bio/db/gff/gff3.rb |