home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,926 of 2,978   
   Bart to All   
   Re: Decoding RNA codons: fastest method    
   13 Oct 05 21:36:39   
   
   From: broersma.juda_ANTISPAM_@tiscali.nl   
      
   Op 11 Oct 2005 04:05:55 -0700 schreef "Riaan" :   
   [much snipping]   
   >***************************************************************   
   ****************************}   
   >   
   >   
   >Type   
   >	TCodon = (   
   >		 UUU, UCU, UAU, UGU,   
   >		 UUC, UCC, UAC, UGC,   
   >		 UUA, UCA, UAA, UGA,   
   >		 UUG, UCG, UAG, UGG,   
   >		 CUU, CCU, CAU, CGU,   
   >		 CUC, CCC, CAC, CGC,   
   >		 CUA, CCA, CAA, CGA,   
   >		 CUG, CCG, CAG, CGG,   
   >		 AUU, ACU, AAU, AGU,   
   >		 AUC, ACC, AAC, AGC,   
   >		 AUA, ACA, AAA, AGA,   
   >		 AUG, ACG, AAG, AGG,   
   >		 GUU, GCU, GAU, GGU,   
   >		 GUC, GCC, GAC, GGC,   
   >		 GUA, GCA, GAA, GGA,   
   >		 GUG, GCG, GAG, GGG,   
   >		 ERR);   
   >   
   >Const   
   >	AminoNames = Array[TCodonEnum] of String[3] = (   
   >		'Phe', 'Ser', 'Tyr', 'Cys'   
   >		'Phe', 'Ser', 'Tyr', 'Cys'   
   >		'Leu', 'Ser', 'STP', 'STP'   
   >		'Leu', 'Ser', 'STP', 'Trp'   
   >		'Leu', 'Pro', 'His', 'Arg'   
   >		'Leu', 'Pro', 'His', 'Arg'   
   >		'Leu', 'Pro', 'Gln', 'Arg'   
   >		'Leu', 'Pro', 'Gln', 'Arg'   
   >		'Ile', 'Thr', 'Asn', 'Ser'   
   >		'Ile', 'Thr', 'Asn', 'Ser'   
   >		'Ile', 'Thr', 'Lys', 'Arg'   
   >		'Met', 'Thr', 'Lys', 'Arg'   
   >		'Val', 'Ala', 'Asp', 'Gly'   
   >		'Val', 'Ala', 'Asp', 'Gly'   
   >		'Val', 'Ala', 'Glu', 'Gly'   
   >		'Val', 'Ala', 'Glu', 'Gly',   
   >		'ERR');   
   >   
   >   
   >   
   Tried it at last, modified it to return the proper index, as all th   
   eother functions do.   
   Never used this typeinfo thingy, so it took me a while ...   
      
   Result: it is 1.4 times slower then the "Nested Case" method.   
      
   But reading up on this stuf was very interesting though, so it was   
   worth it's while (is that correct English?).   
      
   Bart   
   --   
   Bart Broersma   
   broersma.juda_ANTISPAM_@tiscali.nl   
   (ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca