Bio.SearchIO.InfernalIO.infernal_tab module

Bio.SearchIO parser for Infernal tabular output format.

class Bio.SearchIO.InfernalIO.infernal_tab.InfernalTabParser(handle, _fmt=None)

Bases: _BaseInfernalParser

Parser for the Infernal tabular format.

__init__(handle, _fmt=None)

Initialize the class.

__iter__()

Iterate over InfernalTabParser, yields query results.

__annotate_func__ = None
__annotations_cache__ = {}
__firstlineno__ = 262
__static_attributes__ = ('fmt', 'handle', 'line')
class Bio.SearchIO.InfernalIO.infernal_tab.InfernalTabIndexer(filename)

Bases: SearchIndexer

Indexer class for Infernal tabular output.

__init__(filename)

Initialize the class.

__iter__()

Iterate over the file handle; yields key, start offset, and length.

get_raw(offset)

Return the raw bytes string of a QueryResult object from the given offset.

__abstractmethods__ = frozenset({})
__annotate_func__ = None
__annotations_cache__ = {}
__firstlineno__ = 402
__static_attributes__ = ('_query_id_idx',)