Class: Bio::FlatFileIndex::Indexer::Parser::SPTRParser
- Inherits:
-
EMBLParser
- Object
- TemplateParser
- EMBLParser
- Bio::FlatFileIndex::Indexer::Parser::SPTRParser
- Defined in:
- lib/bio/io/flatfile/indexer.rb
Overview
class EMBLParser
Constant Summary collapse
- SECONDARY =
[ 'AC' ]
Constants inherited from EMBLParser
EMBLParser::NAMESTYLE, EMBLParser::PRIMARY
Constants inherited from TemplateParser
Instance Attribute Summary
Attributes inherited from TemplateParser
#dbclass, #errorlog, #fileid, #format, #primary, #secondary
Instance Method Summary collapse
-
#initialize(*arg) ⇒ SPTRParser
constructor
A new instance of SPTRParser.
Methods inherited from TemplateParser
#add_secondary_namespaces, #close_flatfile, #each, #open_flatfile, #parse_primary, #parse_secondary, #set_primary_namespace
Constructor Details
#initialize(*arg) ⇒ SPTRParser
Returns a new instance of SPTRParser.
233 234 235 236 237 |
# File 'lib/bio/io/flatfile/indexer.rb', line 233 def initialize(*arg) super(*arg) self.format = 'swiss' self.dbclass = Bio::SPTR end |