structure.GetAminoAcid Edit

string structure.GetAminoAcid(integer segmentIndex)
Get amino acid type.
V1 Function Name
Similar to get_aa

Remarks Edit

For segments of a protein, structure.GetAminoAcid returns one of the twenty single-letter amino acid codes (lower case).

A segment which represents a ligand may return an empty string (""), or "unk" depending on the puzzle.

A segment which represents DNA or RNA returns a two-character code. See Nucleotide for a list of the codes.