Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whitead/minimalaf
Minimal AlphaFold
https://github.com/whitead/minimalaf
Last synced: 15 days ago
JSON representation
Minimal AlphaFold
- Host: GitHub
- URL: https://github.com/whitead/minimalaf
- Owner: whitead
- Created: 2024-07-17T00:11:55.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T16:46:37.000Z (4 months ago)
- Last Synced: 2024-12-10T05:42:06.636Z (24 days ago)
- Language: Python
- Size: 3.91 KB
- Stars: 54
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal AlphaFold
Install:
```bash
pip install -r requirements.txt
modal deploy af.py
```Usage from python (also in `run.py`):
```py
import modalfasta = """\
>A chain
MTEYKLVVVGAGGVGKSALTIQLIQNHKLRKLNPPDESGPGCMNCKCVIS"""af = modal.Function.lookup("minimalaf", "fold")
result = af.remote(fasta=fasta,
models=[1],
num_recycles=1)
with open("results.zip", "wb") as f:
f.write(result)
```## Copyright
CC0. No Rights Reserved