next up previous contents index
Next: The Structure class: a Up: The Sequence class: a Previous: Sequence.get_num_equiv() get   Contents   Index

Sequence.get_sequence_identity() -- get sequence identity

This returns the percentage sequence identity between this sequence and seq, which is defined as the number of identical aligned residues divided by the length of the shorter sequence. Only available for sequences in alignments.

Ben Webb 2008-05-05