Bio.SearchIO.InfernalIO.infernal_text module

Bio.SearchIO parser for Infernal plain text output format.

class Bio.SearchIO.InfernalIO.infernal_text.InfernalTextParser(handle)

Bases: _BaseInfernalParser

Parser for the Infernal text output.

__init__(handle)

Initialize the class.

__iter__()

Iterate over query results.

__annotate_func__ = None
__annotations_cache__ = {}
__firstlineno__ = 59
__static_attributes__ = ('_meta', 'handle', 'line')
class Bio.SearchIO.InfernalIO.infernal_text.InfernalTextIndexer(*args, **kwargs)

Bases: SearchIndexer

Indexer class for Infernal plain text output.

__init__(*args, **kwargs)

Initialize the class.

__iter__()

Iterate over InfernalTextIndexer; yields query results’ key, offsets, 0.

get_raw(offset)

Return the raw record from the file as a bytes string.

__abstractmethods__ = frozenset({})
__annotate_func__ = None
__annotations_cache__ = {}
__firstlineno__ = 477
__static_attributes__ = ('_preamble',)