Atom.get_equivalent_atom() — get equivalent atom in another residue

get_equivalent_atom(res)
Given another Residue object, this returns an Atom object representing the structurally equivalent atom in that residue, or None if no such atom can be found. (This is primarily used by Restraints.make_distance().) The rules for determining equivalency are: