Protein Roundtrip

PDB → Protein to Music → MIDI → Music to Protein → PDB. Test how well the dual translation preserves structural information through a full cycle.

Input Parameters
If no sequence is entered, the sequence will be extracted from the PDB automatically. If no PDB is uploaded, ESMFold predicts the structure. You can use sequence-only, PDB-only, or both.
Codon usage bias for frequency mapping

0=JazzGPT ↔ 4=Pure physics (best roundtrip)
Leave empty for a random seed (will be recorded). Enter a fixed number to reproduce a prior result with the same seed.
How It Works

1. Protein → Music (P2M)
Your sequence/PDB is mapped to a jazz MIDI composition. Amino acid properties drive chord selection; 3D spatial neighbors shape timbre.

2. Music → Protein (M2P)
The generated MIDI is decoded back into a protein sequence via chord→amino-acid mapping, then folded by ESMFold into a new 3D structure.

3. Compare
The results page shows both 3D structures side by side, the audio, score notation, and a sequence alignment to quantify roundtrip fidelity.