# OEAtomSetResidue¶

bool OEAtomSetResidue(OEAtomBase *atm, const OEResidue &res)


This function is used to set the OEResidue associated with an OEAtomBase. The OEResidue class is used to store information used in biopolymer processing, e.g. proteins and nucleic acids, on a per-atom basis. The residue properties of an atom may be retrieved using the OEAtomGetResidue function.