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

Class dictionary_match

source code

dictionary_match(score_dict[, symmetric]) -> match_fn

Create a match function for use in an alignment.  score_dict is a
dictionary where the keys are tuples (residue 1, residue 2) and
the values are the match scores between those residues.  symmetric
is a flag that indicates whether the scores are symmetric.  If
true, then if (res 1, res 2) doesn't exist, I will use the score
at (res 2, res 1).

Instance Methods [hide private]
match_fn

__init__(score_dict, symmetric=...) source code
 
__call__(self, charA, charB) source code