The amino acid sequence of a protein is encoded by the DNA sequence of the corresponding gene. Through the processes of transcription and translation, the genetic code is translated into a specific sequence of amino acids. Techniques such as mass spectrometry and Edman degradation can be used to determine the amino acid sequence experimentally.