The Wolfram Language provides several data structures for representing chemical species at different levels of granularity.
Start with a small BioSequence representing a single codon.
From this bio sequence you can create a ChemicalFormula or a Molecule depending on your application.
Equivalence between different representations can be checked easily using MoleculeMatchQ.
As the simplest representation, the formula allows you to find molecular mass and elemental composition.
The molecule represents all atoms and bonds explicitly and allows computing topological properties or even generating a 3D structure.
The bio sequence representation allows computation at a higher level of abstraction. Convert this sequence into DNA or into a peptide.