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

Class identity_match

source code

identity_match([match][, mismatch]) -> match_fn

Create a match function for use in an alignment. match and mismatch are the scores to give when two residues are equal or unequal. By default, match is 1 and mismatch is 0.

Instance Methods [hide private]
__init__(self, match=1, mismatch=0) source code
__call__(self, charA, charB) source code