%Brandon Smith and Will Difani %Program will input DNA codon (case sensitive) and output amino acid %Done in class 2-2-07 cod=input('enter codon-remember to put in quotes ') if (cod(1)=='C') if (cod(2)=='C') disp('amino acid is proline') elseif (cod(2)=='U') disp('leucine') elseif (cod(2)=='G') disp('argine') elseif (cod(2)=='A') if (cod(3)=='U'| cod(3)=='C') disp('his') else disp('glucose') end end elseif (cod(1)=='G') if (cod(2)=='U') disp('val') elseif (cod(2)=='C') disp('ala') elseif (cod(2)=='G') disp('gly') elseif (cod(3)=='U' | cod(3)=='C') disp('asp') else disp('glu') end elseif (cod(1)=='A') if (cod(2)=='C') disp('thr') elseif (cod(2)=='U') if (cod(3)=='G') disp('met') else disp('ile') end elseif (cod(2)=='A') if (cod(3)=='U')|(cod(3)=='C') disp('asn') else disp('lys') end elseif (cod(2)=='G') if (cod(3)=='U')|(cod(3)=='C') disp('ser') else disp('arg') end end elseif (cod(1)=='U') if (cod(2)=='C') disp('ser') elseif (cod(2)=='U') if (cod(3)=='U' | cod(3)=='C') disp('phe') else disp('leu') end elseif (cod(2)=='A') if (cod(3)=='U' | cod(3)=='C') disp('tyr') else disp('stop') end elseif (cod(2)=='G') if (cod(3)=='U' | cod(3)=='C') disp('cys') elseif (cod(3)=='A') disp('stop') else disp('trp') end end end