# OEGetAminoAcidCode¶

char OEGetAminoAcidCode(unsigned int idx)


Returns the single character amino acid code corresponding to the specified residue (using the OEResidueIndex namespace format). The character X is returned for the residue OEResidueIndex::UNK and the NULL character (0) is returned for all other non-amino acid residues.