A menu-based program for DNA / RNA / Protein operations written in Python (no external libraries).
Originally built for my Bioinformatics coursework and later refined and polished for clarity.
Purpose: show how to automate basic sequence tasks with clean, readable code that anyone can run from a terminal.
The script reads your sequence as text.
- Complements a DNA sequence: A ↔ T, C ↔ G
- Transcribes DNA → RNA: T → U
- Translates RNA → Protein: 3 RNA letters (a codon) → 1 amino acid
- Inserts a random substitution in a protein (single amino-acid mutation)
Requirements: Python 3.8+
python seq_cli_purepython.pyThe user enters a DNA sequence, chooses 1: Complement.
Input (DNA): ACGGCCTTGCCTAAACCGGGC
Output (Complement): TGCCGGAACGGATTTGGCCCG
Choose 2: Transcribe.
Input (DNA): ACGGCCTTGCCTAAACCGGGC
Output (RNA): ACGGCCUUGCCUAAACCGGGC
Choose 3: Translate.
Input (RNA): ACGGCCUUGCCUAAACCGGGC
Output (Protein): TALPKPG
Choose 4: Insert a random mutation.
Input (Protein): TALPKPG
Output (Mutated Protein): e.g., TALFKPG (position & new AA are random; output varies)



