← All Labs

HP Lattice Protein Folding

Explore the hydrophobic-polar model of protein folding on a 2D lattice — NP-hard optimization

0Current Energy
0Best Energy
0MC Steps
0Accepts
Sequence (H/P)
HP model: H = hydrophobic (blue), P = polar (gray). Energy = −1 per non-bonded H-H contact. Monte Carlo explores conformations via pivot and crankshaft moves with Metropolis acceptance. Finding the lowest-energy fold is NP-hard — real proteins use chaperones and evolved sequences to fold reliably.