CodonScope is a comprehensive bioinformatics web application designed for DNA sequence analysis and visualization. Built with modern web technologies, it provides an interactive and educational interface for biologists, students, and researchers to analyze genetic sequences.
- DNA Sequence Validation: Input sequences with real-time validation (A, T, G, C bases)
- Scientific Color Coding: Industry-standard base coloring (A=green, T=red, C=blue, G=yellow)
- Codon Visualization: Interactive display with grouping options (3, 5, or 10 codons)
- Highlight System: Automatic marking of start codons (ATG) and stop codons (TAA, TAG, TGA)
- Reverse Complement: One-click generation of reverse complementary sequences
- Reading Frame Analysis: Visualization of all three reading frames with ORF detection
- Primer Design Tool: Automatic primer generation with customizable parameters
- Restriction Enzyme Analysis: Enzyme database, site visualization, and gel electrophoresis simulation
- RNA Secondary Structure Prediction: Interactive circle and mountain plot visualizations
- Sequence Statistics: Nucleotide composition, GC content, codon usage tables
- Circular GC Content Chart: Visual representation of GC distribution
- Amino Acid Translation: Color-coded protein sequence with property annotations
- Bioinformatics Formats: FASTA, GenBank exports with proper formatting
- Data Formats: JSON, TXT exports for further processing
- Frontend Framework: Next.js 15 with App Router
- Language: TypeScript for enhanced type safety
- Styling: TailwindCSS with shadcn/ui components
- Animation: Framer Motion for smooth transitions
- UI Components: Custom scientific visualizations
- Dependencies: file-saver for exports
- Educational: Biology students, genetics educators
- Professional: Bioinformaticians, laboratory researchers
- Medical: Laboratory medicine practitioners
- Technical: Developers interested in biological visualization
- Node.js 18.0 or later
- npm, yarn, pnpm, or bun
# Clone the repository
git clone https://github.com/yourusername/codonscope.git
cd codonscope
# Install dependencies
npm install
# Start the development server
npm run dev
Open http://localhost:3000 with your browser to see the application.
src/
├── app/ # Next.js app router files
├── components/ # React components
│ ├── ui/ # shadcn/ui components
│ └── ... # Feature components (CodonVisualization, etc.)
├── lib/ # Utility functions
│ ├── dna-utils.ts # DNA processing utilities
│ └── ... # Other utilities
└── ...
- Input DNA Sequence: Enter or paste a valid DNA sequence
- Automatic Analysis: View codons, amino acids, and statistical information
- Advanced Analysis: Use specialized tabs for deeper analysis:
- Reading Frame Analysis for ORF detection
- Primer Design for PCR applications
- Restriction Analysis for enzyme digestion simulation
- RNA Structure for secondary structure prediction
- Export Results: Save analysis in various formats for documentation or further processing
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions or feedback, please open an issue in the GitHub repository.
CodonScope - Advanced DNA Analysis for Everyone