A Python-based bioinformatics project that analyzes DNA sequences through a menu-driven interface. The program can read a DNA sequence from a text file or accept user input and perform several common DNA sequence analyses.
- Menu-driven interface
- Analyze DNA from:
DNA_Sequence.txt- User input
- DNA sequence validation
- Nucleotide counting (A, T, G, C)
- GC content calculation
- AT content calculation
- DNA → RNA transcription
- Complementary DNA generation
- Reverse complementary DNA generation
- Analyze all properties at once
- Python 3
dna-sequence-analyzer/
│
├── main.py
├── DNA_Sequence.txt
├── README.md
└── .gitignore
Clone the repository:
git clone https://github.com/ruhiprasad25-art/dna-sequence-analyzer.gitMove into the project directory:
cd dna-sequence-analyzerRun the program:
python main.pyFollow the on-screen menu to analyze either the sample DNA sequence or your own DNA sequence.
Number of A: 3
Number of T: 3
Number of G: 4
Number of C: 2
GC Content: 50.00%
AT Content: 50.00%
RNA Sequence:
AUGCGAUUCGGA
Complementary DNA:
TACGCTAAGCCT
Reverse Complementary DNA:
TCCGAATCGCAT
- Python functions
- File handling
- User input
- Loops and conditionals
- String manipulation
- Modular programming
- Basic bioinformatics concepts
- DNA to protein translation
- FASTA file support
- Export results to a text file
- Graphical user interface (GUI)
Ruhi Prasad