Macro Library biology

A collection of biology helps. Currently in its beginning stages.

Version 0.2 April 15, 2022

bio_getcodonname

bio_getcodonname(codon)
looks up the name of the amino acid that is transcribed from a codon.

bio_randcodon

bio_randcodon()
outputs an array of a random codon
the output looks like: (codon, 3 letter abbreviation, full name)

bio_anticodon

bio_anticodon()
takes in a string of bases, and outputs a matching anticodon string.
(A->T, T->A, G->C, C->C, U->A)

bio_translation

bio_anticodon()
Takes in a string of DNA bases, and outputs an RNA string.
(A->U, T->A, G->C, C->C)

bio_splitcodons

bio_splitcodons()
Splits a string, into an array made of sets of 3 codons.