https://github.com/elkins/resonance-flow
JAX-native differentiable protein folding framework integrating experimental NMR constraints (RDCs) and biophysical "self-correction."
https://github.com/elkins/resonance-flow
bioinformatics biophysics differentiable-programming jax machine-learning nmr-spectroscopy protein-folding structural-biology
Last synced: about 2 months ago
JSON representation
JAX-native differentiable protein folding framework integrating experimental NMR constraints (RDCs) and biophysical "self-correction."
- Host: GitHub
- URL: https://github.com/elkins/resonance-flow
- Owner: elkins
- License: mit
- Created: 2026-05-26T22:45:49.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-26T23:37:49.000Z (about 2 months ago)
- Last Synced: 2026-05-27T00:20:28.890Z (about 2 months ago)
- Topics: bioinformatics, biophysics, differentiable-programming, jax, machine-learning, nmr-spectroscopy, protein-folding, structural-biology
- Language: Python
- Homepage: https://elkins.github.io/resonance-flow/
- Size: 639 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐งฌ ResonanceFlow: Differentiable Protein Structure Prediction
[](https://pypi.org/project/resonance-flow/)
[](https://pypi.org/project/resonance-flow/)
[](https://github.com/elkins/resonance-flow/actions/workflows/test.yml)
[](https://opensource.org/licenses/MIT)
[](https://github.com/google/jax)
[](https://github.com/psf/black)
ResonanceFlow is an end-to-end differentiable framework for protein structure prediction that incorporates NMR experimental constraints directly into the folding process.
---
### ๐งช For Structural Biologists
* **Experimental Self-Correction:** Instead of just predicting a structure, ResonanceFlow uses NMR observables (RDCs, NOEs, Chemical Shifts) to "steer" the model toward the experimental reality.
* **Physics-Grounded:** Built on the same biophysical kernels used in standard NMR suites, but optimized for the AI era.
### ๐ค For Machine Learning Geeks
* **Differentiable Physics Loss:** The entire NMR back-calculation is implemented as a differentiable JAX operator, allowing gradients to flow from experimental residuals back to Transformer weights.
* **Structural Refinement:** Uses a coordination-space predictor that can be fine-tuned on a single protein using only its NMR spectrum as supervision.
---
## ๐ Key Features
* **Differentiable NMR Kernels:** Back-calculate RDCs, NOEs, and Chemical Shifts with full gradient support.
* **Transformer-Based Folding:** Predicts 3D coordinates directly from amino acid sequences.
* **Self-Correction Loop:** Minimizes the residual between back-calculated and experimental spectra during inference.
## ๐ฆ Installation
```bash
pip install resonance-flow
```
## ๐ License
Distributed under the MIT License. See `LICENSE` for more information.