원클릭으로
molclaw-boltz2-affinity
Predict binding affinity between target protein sequence and small molecule SMILES using Boltz-2.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Predict binding affinity between target protein sequence and small molecule SMILES using Boltz-2.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Predict the ADMET (absorption, distribution, metabolism, excretion, and toxicity) properties of the input molecules.
Predict protein structures with Chai-1 from sequence or FASTA input and return model scoring summaries.
Chroma toolkit skill covering chroma_monomer for single-chain generation, chroma_complex for multi-chain assembly generation, and chroma_symmetry for symmetry-constrained protein design.
Retrieve SMILES strings from PubChem database using compound names.
Generate entirely new drug-like molecules from scratch without any starting molecule, using REINVENT4's de novo prior.
Run automated DiffDock protein-ligand docking and return confidence-based result summaries.
| name | molclaw-boltz2-affinity |
| description | Predict binding affinity between target protein sequence and small molecule SMILES using Boltz-2. |
| license | MIT license |
| metadata | {"skill-author":"PJLab"} |
step 1. Use skill molclaw-protein-sequence-retrieve to get the target protein sequence information. If the target protein sequence has been provided, skip this step.
step 2. Finally use tool pred_binding_affinity_boltz2 to predict the binding affinity.
Tool description:
Use Boltz to predict binding affinity between protein (receptor) and small molecule (ligand).
Args:
protein (List[dict]): Protein chains, each element contains 'chain' and 'sequence' (e.g., [{{'chain': 'A', 'sequence': 'MGNAAAAKKGSEQASQRRSSLEQP*'}}])
smiles (str): Input SMILES string (e.g., "N[C@@H](Cc1ccc(O)cc1)C(=O)O")
Return:
status (str): success/error
msg (str): message
affinity_probability_binary (float): Represents the predicted probability (ranging from 0 to 1) that a ligand is a binder, making it ideal for distinguishing active compounds from decoys during the hit-discovery stage. A value below 0.5 indicates uncertain or weak binding.
affinity_pred_value (float): Estimates the specific binding affinity as log10(IC50) in μM to quantify how small molecular modifications affect potency, serving as a key metric for ligand optimization phases like hit-to-lead and lead-optimization.
complex_cif_file (str): Structure file of the protein–molecule complex
Tool usage:
response = await client.session.call_tool(
"pred_binding_affinity_boltz2",
arguments={
"protein": protein_chains,
"smiles": smiles
}
)
result = client.parse_result(response)
affinity_probability_binary = result["affinity_probability_binary"]
affinity_pred_value = result["affinity_pred_value"]
After calling pred_binding_affinity_boltz2, ALWAYS download the complex_cif_file — this is the predicted protein-ligand complex structure. It is a Category A file, essential for downstream interaction analysis (ProLIF), visualization, and user verification.
import base64, os
response = await client.session.call_tool(
"server_file_to_base64",
arguments={"file_path": result["complex_cif_file"]}
)
dl = client.parse_result(response)
local_path = f"step{N}_boltz2_complex.cif"
with open(local_path, "wb") as f:
f.write(base64.b64decode(dl["base64_string"]))
assert os.path.getsize(local_path) > 0
affinity_probability_binary must be in [0, 1]. Values outside this range indicate tool error.affinity_probability_binary < 0.5 suggests uncertain/weak binding — note this in the report.molclaw-residue-mapper).