# Bio.SearchIO.ExonerateIO.exonerate_cigar module

Bio.SearchIO parser for Exonerate cigar output format.

class Bio.SearchIO.ExonerateIO.exonerate_cigar.ExonerateCigarParser(handle)

  Bases: `_BaseExonerateParser`

  Parser for Exonerate cigar strings.

  parse_alignment_block(header)

    Parse alignment block for cigar format, return query results, hits, hsps.

  __abstractmethods__ = frozenset({})
  __annotate_func__ = <function _BaseExonerateParser.__annotate__>
  __annotations_cache__ = {'_ALN_MARK': 'str | None'}
  __firstlineno__ = 28
  __static_attributes__ = ()

class Bio.SearchIO.ExonerateIO.exonerate_cigar.ExonerateCigarIndexer(filename, **kwargs)

  Bases: `ExonerateVulgarIndexer`

  Indexer class for exonerate cigar lines.

  get_qresult_id(pos)

    Return the query ID of the nearest cigar line.

  __abstractmethods__ = frozenset({})
  __annotate_func__ = <function ExonerateVulgarIndexer.__annotate__>
  __annotations_cache__ = {'_parser': 'type[_BaseExonerateParser]', '_query_mark': 'bytes | None'}
  __firstlineno__ = 88
  __static_attributes__ = ()

Biopython v: 1.86

Versions
  Previous
  Latest
  Develop

Biopython Project
  Homepage
  On GitHub