[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] DNA.pm



Steve Lane <sml@zfx.com> wrote:
> Michael G Schwern wrote:
> > NAME
> >     DNA - Encodes your Perl program into an Amino Acid sequence
> 
> C, A, T, and G are not amino acids; they're nucleic acids (the
> "NA" in DNA).  they -code- for amino acids.  and,

Actually A, T, C, and G represent nucleotides.  DNA and RNA 
themselves are nucleic acids.
 
> >     CCAA CCAA AAGT CAGT TCCT CGCT ATGT AACA CACA TCTT GGCT TTGT AACA GTGT
> 
> these would better be arranged in groups of three, as three
> bases make a codon, which codes for one amino acid.

Agreed.
 
> Protein.pm must be next...

It would be more compact, since a one-letter amino acid 
abbreviation (ACDEFGHIKLMNPQRSTVWY) represents (ln 20)/(ln 2) = 
4.3 bits rather than the 2 bits a nucleotide (ATCG) represents.

Of course, thinking of proteins as encoding something is a 
little stranger than thinking of nucleic acids as encoding 
something.

-- 
Keith C. Ivey <kcivey@cpcug.org>
Washington, DC

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe