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

alnsequence.get_sequence_identity() -- get sequence identity

get_sequence_identity(seq)
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.



Ben Webb 2007-01-19