whitead / minimalaf

Minimal AlphaFold

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal AlphaFold

Install:

pip install -r requirements.txt
modal deploy af.py

Usage from python (also in run.py):

import modal

fasta = """\
>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

About

Minimal AlphaFold


Languages

Language:Python 100.0%