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

Class dictionary_match


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).
Method Summary
  __init__(self, score_dict, symmetric)
  __call__(self, charA, charB)

Generated by Epydoc 2.1 on Wed Jan 31 09:58:00 2007 http://epydoc.sf.net