genetic code The set of rules that allows a DNA or RNA sequence to be translated into the sequence of amino acids in a protein.