Package Bio :: Package SearchIO :: Package BlastIO :: Module blast_tab :: Class BlastTabWriter
[hide private]
[frames] | no frames]

Class BlastTabWriter

source code

object --+
         |
        BlastTabWriter

Writer for blast-tab output format.
Instance Methods [hide private]
 
__init__(self, handle, comments=False, fields=['qseqid', 'sseqid', 'pident', 'length', 'mismatch', 'gapopen'...)
Initialize the class.
source code
 
write_file(self, qresults)
Write to the handle, return how many QueryResult objects were written.
source code
 
_build_rows(self, qresult)
Return a string containing tabular rows of the QueryResult object (PRIVATE).
source code
 
_adjust_coords(self, field, value, hsp)
Adjust start and end coordinates according to strand (PRIVATE).
source code
 
_adjust_output(self, field, value)
Adjust formatting of given field and value to mimic native tab output (PRIVATE).
source code
 
_build_comments(self, qres)
Return QueryResult tabular comment as a string (PRIVATE).
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, comments=False, fields=['qseqid', 'sseqid', 'pident', 'length', 'mismatch', 'gapopen'...)
(Constructor)

source code 
Initialize the class.
Overrides: object.__init__