OEGetResidueIndexFromCode

unsigned int OEGetResidueIndexFromCode(const char name)

Converts the single character amino acid code into a value from the OEResidueIndex namespace. For invalid amino acid codes the function returns 0.

See also