Package Bio :: Module pairwise2 :: Class affine_penalty
[hide private]
[frames] | no frames]

Class affine_penalty

source code

affine_penalty(open, extend[, penalize_extend_when_opening]) -> gap_fn

Create a gap function for use in an alignment.

Instance Methods [hide private]
gap_fn

__init__(open, extend, penalize_extend_when_opening=...) source code
 
__call__(self, index, length) source code