how does the sequence of amino acids relates to the functioning of a protein.