Alien Genetic Code

MAKE-RANDOM-RNA

This function takes nucleotides that you specify and returns a long (at least 1000-nt) sequence composed of those nucleotides. The nucleotides must be given within quotes. Examples:
 

  • Providing MAKE-RANDOM-RNA with "C" yields "CCCCCCCCCC..."
  • Providing MAKE-RANDOM-RNA with "UC" yields "UCUCUCUCU..."

Providing the function with a LIST of nucleotides yields a sequence that is composed, at random, of nucleotides within that list. You can create a list by picking the LIST function from the LIST-TABLES menu. Then select as many boxes to compose the list as you need, as shown below:

 
Examples:
  • Providing MAKE-RANDOM-RNA with function below

    might yield "CAAAAAAAAAAAAAACAAAAAAAACAACAAAAACAAA..."
     
  • Or this simpler version is equivalent:

     
  • For large ratios, this may be convenient:
Note that A and C appear at about the same ratio as they appear in the specified list, 3:1 in the first two examples and 99:1 in the last.