Package obitools :: Module fast :: Class Fast
[hide private]
[frames] | no frames]

Class Fast

source code


Instance Methods [hide private]
 
__init__(self, seq, kup=2)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
a int tuple (smax,pmax)
__call__(self, seq)
Align one sequence with the fast hash table.
source code
 
__len__(self) 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, seq, kup=2)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • seq (BioSequence) - sequence to hash
  • kup (int) - word size used for hashing process
Overrides: object.__init__

__call__(self, seq)
(Call operator)

source code 

Align one sequence with the fast hash table.

Parameters:
  • seq (BioSequence) - the sequence to align
Returns: a int tuple (smax,pmax)
where smax is the score of the largest diagonal and pmax the associated shift