OEGetResidueIndex

OEGetResidueIndex(name: str) -> int
OEGetResidueIndex(res: OEResidue) -> int
OEGetResidueIndex(atm: OEAtomBase) -> int

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