一键导入
esm
ESM protein language models for sequence embeddings and structure prediction
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ESM protein language models for sequence embeddings and structure prediction
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Shared operational contract for all MedSci agents: sequential execution, planning phase, retry limits, evidence standards.
Isolated exploratory code execution with medsci-sandbox tools. Use when analysis requires custom code beyond existing domain MCP tools.
AlphaFold DB for predicted protein structures and pLDDT confidence scores
Molecular biology toolkit. Use for FASTA parsing, sequence analysis, and translation.
ChEMBL database access for bioactivity data and target search
Datamol for molecular manipulation, SMILES processing, and cheminformatics
基于 SOC 职业分类
| name | esm |
| description | ESM protein language models for sequence embeddings and structure prediction |
ESM (Evolutionary Scale Modeling) is Meta AI's family of protein language models trained on millions of protein sequences. ESM-2 provides per-residue and per-sequence embeddings. ESMFold predicts 3D structure from sequence alone.
esm2_t33_650M_UR50D as default.import torch, esm
model, alphabet = esm.pretrained.esm2_t33_650M_UR50D()
batch_converter = alphabet.get_batch_converter()
model.eval()
data = [("protein1", "MKTLLILAVL")]
batch_labels, batch_strs, batch_tokens = batch_converter(data)
with torch.no_grad():
results = model(batch_tokens, repr_layers=[33], return_contacts=True)
embeddings = results["representations"][33] # (batch, seq_len, 1280)
contact_map = results["contacts"] # predicted contacts
model = esm.pretrained.esmfold_v1()
model.eval()
with torch.no_grad():
output = model.infer_pdb("MKTLLILAVL")
# output is a PDB-format string
pip install fair-esm.