OEGetResidueIndex

unsigned int OEGetResidueIndex(const char *name)
unsigned int OEGetResidueIndex(const OEResidue &res)
unsigned int OEGetResidueIndex(const OEAtomBase *atm)

Returns the OEChem TK PDB residue name index. The resulting value is specified by the OEResidueIndex namespace. If the residue name is not recognized internally by OEChem TK this function returns the value zero.

See also