This shows you the differences between two versions of the page.
cookbook [2010/04/26 15:04] admin created |
cookbook [2010/04/26 15:04] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== How can I translate a nucleotide sequence into an amino acid sequence? ==== | + | ===== How can I translate a nucleotide sequence into an amino acid sequence? ===== |
<code perl> | <code perl> | ||
$nucleotideSeq = "atgcatgcatgcatgc"; | $nucleotideSeq = "atgcatgcatgcatgc"; | ||
$aminoacidSeq = translate($nucleotideSeq); | $aminoacidSeq = translate($nucleotideSeq); | ||
</code> | </code> |