Package Bio :: Package SearchIO :: Package HmmerIO :: Module hmmer2_text :: Class Hmmer2TextParser
[hide private]
[frames] | no frames]

Class Hmmer2TextParser

source code

object --+
         |
        Hmmer2TextParser

Iterator for the HMMER 2.0 text output.

Instance Methods [hide private]
 
__init__(self, handle)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
read_next(self, rstrip=True)
Return the next non-empty line, trailing whitespace removed
source code
 
push_back(self, line)
Un-read a line that should not be parsed yet
source code
 
parse_key_value(self)
Parse key-value pair separated by colon (:)
source code
 
parse_preamble(self)
Parse HMMER2 preamble.
source code
 
parse_qresult(self)
Parse a HMMER2 query block.
source code
 
parse_hits(self)
Parse a HMMER2 hit block, beginning with the hit table.
source code
 
parse_hsps(self, hit_placeholders)
Parse a HMMER2 hsp block, beginning with the hsp table.
source code
 
parse_hsp_alignments(self)
Parse a HMMER2 HSP alignment block.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)