#!/usr/bin/awk -f # Translate from RNA to sequences of amino acids and stop codons. # We do not stop after stop codons. # > echo agugacauguaugcuacgaugcuagcuacgugacugacgu | awk -f translate.awk # SDMYATMLAT*LT # Note the case sensitivity. # If the genetic code is lower case so must your input be. # e.g. tr A-Z a-z