class Bio::FlatFileIndex::Indexer::Parser::EMBLParser

Constants

NAMESTYLE
PRIMARY
SECONDARY

Public Class Methods

new(pri_name = nil, sec_names = nil) click to toggle source
    # File lib/bio/io/flatfile/indexer.rb
219 def initialize(pri_name = nil, sec_names = nil)
220   super()
221   self.format = 'embl'
222   self.dbclass = Bio::EMBL
223   self.set_primary_namespace((pri_name or PRIMARY))
224   unless sec_names then
225     sec_names = self.class::SECONDARY
226   end
227   self.add_secondary_namespaces(*sec_names)
228 end