Protein Fold¶
Protein structure prediction using ESMFold/OpenFold. Paste amino acid sequence, get 3D structure with pLDDT confidence. Web endpoint for interactive folding.
Overview¶
Protein structure prediction using ESMFold/OpenFold. Paste amino acid sequence, get 3D structure with pLDDT confidence. Web endpoint for interactive folding.
Data Source
ESMFold / OpenFold models
Endpoints¶
GET /protein_foldGET /protein_fold/queryPOST /protein_fold/queryPOST /protein_fold/predictGET /openfold/query
Request Models: ProteinFoldRequest
Authentication
All POST endpoints require Authorization: Bearer YOUR_TOKEN.
API Example¶
import requests
response = requests.post(
"https://atomgpt.org/protein_fold/query",
headers={
"Authorization": "Bearer sk-XYZ",
"accept": "application/json",
"Content-Type": "application/json",
},
json={"jid": "JVASP-1002"},
)
data = response.json()
print(data)
AGAPI Agent¶
from agapi.agents import AGAPIAgent
import os
agent = AGAPIAgent(api_key=os.environ.get("AGAPI_KEY"))
response = agent.query_sync("Show protein fold for Silicon")
print(response)
Reference¶
- Science (2023)