Marco Antoniotti <marcoxa@cs.nyu.edu> wrote:
+---------------
| Alan Crowe wrote:
| > eric@unreal.uncom writes:
| > > it would have been much better to have used "true" instead of "t"
| >
| > Don't forget t for thymine. All your DNA code wants to use
| > the letters A,C,G,T as variable names.
|
| Nope. My DNA handling code wants to use the symbol 't to
| denote thymine. As such I can use it as much as I want.
+---------------
Indeed:
> (let ((acgt (vector 'a 'c 'g 't)))
(loop for i below 200 collect (aref acgt (random 4))))
(G T T C C G G C C G A C T G A A T T C A T T G T A C A G G C A C
G T G A G C C C G C G C A C G G G G C T G G G A T T T G G A T G
T A T A T A A T G G A G T C G G A T A G C G A C G T C C G A C C
A C A A A T C T C C G C G G C G A C C T T A G A G A C T A T A G
G A C G G T G G A T T A T T C T A A T T T A C G A C C G C A G T
G T T G C C A T C T G C A G C A C C A A T C C G A A A A A G G C
G G G T A T C G)
>
Hey, this DNA stuff is fun!! ;-} ;-}
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607