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).
Methods
|
|
__call__
__init__
|
|
__call__
|
__call__ (
self,
charA,
charB,
)
|
|
__init__
|
__init__ (
self,
score_dict,
symmetric=0,
)
|
|