Configuration
Protein Sequence
Genetic Algorithm Parameters
Controls
Ready to start
Optimization Settings
Progress
Ready to start optimization
Results
Best Avg Energy
-
Best Parameters
-
Success Rate
-
Combinations Tested
-
Detailed Results
| Rank | Average Energy | Selection | Crossover | Mutation Rate | Crossover Rate | Tournament Size | Success Rate |
|---|
Architecture Overview
Technology Stack
Rust Backend
Core genetic algorithm and protein folding logic implemented in Rust for high performance. Uses the HP (Hydrophobic-Polar) lattice model for protein structure prediction.
WebAssembly (WASM)
Rust code compiled to WASM for near-native performance in the browser. Enables complex computational tasks to run efficiently in web environments.
Web Frontend
Modern JavaScript with Three.js for 3D visualization, Chart.js for metrics, and responsive CSS for a clean user interface.
Algorithm Details
Genetic Algorithm
- Selection: Tournament, Roulette Wheel, or Rank-based selection
- Crossover: Single Point, Uniform, Multi-point, or Order-based crossover
- Mutation: Random position changes to explore solution space
- Fitness: Based on hydrophobic contacts and compactness
HP Model
- H (Hydrophobic): Amino acids that prefer to be buried inside the protein
- P (Polar): Amino acids that prefer to be on the surface
- Energy: Minimized when hydrophobic residues are adjacent
- Lattice: 3D cubic lattice for discrete protein conformations
Features
Real-time 3D visualization of protein structures
Live metrics and performance charts
Hyperparameter optimization for algorithm tuning
Interactive controls and demo sequences
Responsive design for various screen sizes