Package goby :: Module Alignments :: Class TooManyHitsReader
[hide private]
[frames] | no frames]

Class TooManyHitsReader

source code

object --+
         |
        TooManyHitsReader

Reads "Too Many Hits information from alignments written in the Goby "compact" format

Instance Methods [hide private]
 
__init__(self, basename, verbose=False)
Initialize the TooManyHitsReader using the basename of the alignment files.
source code
 
__str__(self)
str(x)
source code

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

Class Variables [hide private]
  basename = None
basename for this alignment
  tmh = Alignments_pb2.AlignmentTooManyHits()
too many hits
  queryindex_to_numhits = {}
query index to number of hits
  queryindex_to_depth = {}
query index to depth/length of match.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, basename, verbose=False)
(Constructor)

source code 

Initialize the TooManyHitsReader using the basename of the alignment files.

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)