OEGetResidueAtom

These two functions return an atom pointer to a specific atom in a residue. The specific atom is specified by the OEPDBAtomName namespace. The residue in question can either be supplied by passing an OEResidue object indicating the residue and the molecule of interest, or by passing any atom in the residue. In both functions, the assume argument is a bitmask that indicates whether the algorithm can assume that the molecule has perceived residues, has PDB ordered atoms, or as bonded residues.

OEGetResidueAtom(atom: OEAtomBase, pdbAtomIdx: int, assume: int) -> OEAtomBase

In this function, the residue of interest is identified by passing any atom from that residue into the function, e.g. passing in the NZ atom and requesting the CA atom in the same residue.

OEGetResidueAtom(mol: Union[OEGraphMol,OEMol,OEQMol],
                 residue: OEResidue, pdbAtomIdx: int, assume: int) -> OEAtomBase

In this function, the residue is indicated by a combination of the molecule of interest as well as any one of the OEResidue objects from the residue.

See also