Install
openclaw skills install pharmaclaw-alphafold-agentCompliant AlphaFold Agent for protein structure retrieval, ESMFold prediction, binding site detection, and RDKit ligand docking. Fetches public PDB/AlphaFold...
openclaw skills install pharmaclaw-alphafold-agentProtein structure retrieval and ligand docking agent for the PharmaClaw drug discovery pipeline. Fetches experimental structures from RCSB PDB and predicted structures from AlphaFold DB, detects binding sites, and performs conformer-based docking with RDKit.
# Fetch structure and dock a ligand
python scripts/alphafold_agent.py '{"uniprot": "P01116", "smiles": "CC(=O)Nc1ccc(O)cc1"}'
# Structure retrieval only
python scripts/alphafold_agent.py '{"uniprot": "P01116"}'
| Feature | Method | Source |
|---|---|---|
| Structure Fetch | RCSB Search API + AlphaFold DB | Public PDB files |
| Fold Prediction | ESMFold via HuggingFace | Sequence → 3D structure |
| Binding Sites | Pocket detection | Residue-level pockets |
| Ligand Docking | RDKit conformer generation | SMILES → affinity score |
{
"uniprot": "P01116",
"smiles": "CC(=O)Nc1ccc(O)cc1",
"fasta": "path/to/sequence.fasta"
}
{
"pdb": "1abc.pdb",
"sites": [{"res": "G12", "pocket_vol": 150}],
"docking": {"affinity": -15.2, "viz": "docked.png"},
"compliance": "Public AlphaFold 2 DB/ESMFold (commercial OK)"
}
rdkit-pypi — Conformer generation and molecular descriptorsbiopython — PDB parsing and FASTA sequence handlingrequests — API calls to RCSB and AlphaFold DBUses only publicly available protein structures (RCSB PDB, AlphaFold DB) and open-source prediction (ESMFold). All data sources are commercially permissible. No proprietary AlphaFold 3 server calls.
scripts/alphafold_agent.py — Main agent: fetch, predict, detect sites, dock