next up previous contents index
Next: Residue.add_leading_gaps() add Up: The Residue class: a Previous: Residue.chi5 dihedral   Contents   Index

Residue.get_aligned_residue() -- get aligned residue in another sequence

Given a sequence (or template structure) in the same alignment, this returns another Residue object, for the residue in that sequence which is aligned with this residue. (If there is a gap in the other sequence, None is returned instead.) Not available for model sequences.

See also alignment.positions.

Automatic builds 2012-08-29