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'...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
write_file(self, qresults)
Writes to the handle, returns how many QueryResult objects are written.
source code
 
_build_rows(self, qresult)
Returns a string containing tabular rows of the QueryResult object.
source code
 
_adjust_coords(self, field, value, hsp)
Adjusts start and end coordinates according to strand.
source code
 
_adjust_output(self, field, value)
Adjusts formatting of the given field and value to mimic native tab output.
source code
 
_build_comments(self, qres)
Returns a string of a QueryResult tabular comment.
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 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)