Package Bio :: Package SearchIO :: Package HmmerIO :: Module hmmer3_domtab :: Class Hmmer3DomtabHmmhitWriter
[hide private]
[frames] | no frames]

Class Hmmer3DomtabHmmhitWriter

source code

object --+
         |
        Hmmer3DomtabHmmhitWriter
Known Subclasses:

HMMER domain table writer using hit coordinates.

Writer for hmmer3-domtab output format which writes hit coordinates as HMM profile coordinates.

Instance Methods [hide private]
 
__init__(self, handle)
Initialize the class.
source code
 
write_file(self, qresults)
Write to the handle.
source code
 
_build_header(self, first_qresult=None)
Return the header string of a domain HMMER table output (PRIVATE).
source code
 
_build_row(self, qresult)
Return a string or one row or more of the QueryResult object (PRIVATE).
source code

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

Class Variables [hide private]
  hmm_as_hit = True
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 
Initialize the class.
Overrides: object.__init__

write_file(self, qresults)

source code 

Write to the handle.

Returns a tuple of how many QueryResult, Hit, and HSP objects were written.