DNA Computing — Quaternary Encoding, Codon Translation, and Sequence Alignment
DNA is a quaternary encoding system (A,T,G,C) mapped to Rust's type system. Translate codons to amino acids, align sequences (Smith-Waterman/Needleman-Wunsch), compute codon degeneracy, assemble DNA p
6 toolsdna
Translate Codon
Translate a 3-nucleotide codon (e.g., 'ATG') to its amino acid using the standard genetic code. ATG = Methionine (start
codon
Codon Degeneracy
Get the degeneracy (number of codons encoding the same amino acid) for a given amino acid. Leucine has 6 codons (most de
amino_acid
Align Sequences
Align two DNA sequences using Smith-Waterman (local) or Needleman-Wunsch (global) algorithm. Returns alignment score, al
querytarget
Assemble
Assemble DNA assembly language source code into a Program. The DNA ISA uses 4-base instructions encoding operations on a
source
Evolve
Run genetic algorithm evolution from seed DNA sequences toward a target word. Simulates natural selection with mutation,
seedstarget
Codon Table
Return the complete standard genetic code — all 64 codons mapped to their amino acids. The Rosetta Stone of molecular bi
no params