Class: TopPred

Inherits:
Object show all
Includes:
TransmemIndex
Defined in:
lib/transmembrane/toppred.rb,
lib/transmembrane/toppred.rb

Defined Under Namespace

Modules: Parser, Parser_XML Classes: Index, Parser_Text

Class Method Summary collapse

Class Method Details

.default_index(file, index = {}) ⇒ Object

returns the default index



53
54
55
# File 'lib/transmembrane/toppred.rb', line 53

def self.default_index(file, index={})
  TopPred::Parser.new(TopPred::Parser.filetype(file)).file_to_index(file, index)
end