Paper2MCP v2 Verified Deliverable

LoL-align: sensitive and fast probabilistic protein structure alignment

期刊:Nature Methods (2026-10-14) · DOI:10.1038/s41592-026-03249-w · 开源许可:GPL-3.0 (allowed)

上游仓库:https://github.com/steineggerlab/foldseek @ 4f5c00ccb559

Pytest: passed MCP Stdio Selftest: passed Relocated Fresh Install: passed

一、一键安装与 MCP 接入(本地 / 远程统一接口)

# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip lolalign-mcp.zip && cd lolalign-mcp
bash install.sh
.venv/bin/python selftest.py

# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add lolalign -- "$PWD/.venv/bin/python" "$PWD/server.py"

# 3. 或启动远程 Streamable HTTP MCP 服务端供团队/网页直接调用
.venv/bin/python server.py --transport http --host 0.0.0.0 --port 8000

二、已验证科学工具清单(4 个工具)

lolalign_createdb MCP Verified ✓

Index PDB/mmCIF (.pdb, .cif, .gz) protein structures into a Foldseek database containing amino-acid sequences, 3Di structural states, and C-alpha coordinates required by LoL-align.

Selftest Summary: Indexed 10 protein chain(s) (1900 total residues) into Foldseek LoL-align database 'mini_scop_db'.
Metrics: {"db_name": "mini_scop_db", "num_entries": 10, "total_residues": 1900, "chain_names": ["1tim_A", "1tim_B", "8tim_A", "8tim_B", "d1asha_", "d1cqxa1", "d1mbaa_", "d1naza_", "d1or4a_", "d2w72b_"]}
lolalign_easy_search MCP Verified ✓

Search query protein structure(s) against a target structure set or Foldseek database using LoL-align probabilistic local distance log-odds alignment (--alignment-type 3).

Selftest Summary: LoL-align search returned 6 hit(s) (6 with P_hom >= 0.90) from 10 candidate alignment(s).
Metrics: {"total_raw_hits": 10, "filtered_hits": 6, "hits_prob_ge_0_9": 6, "unique_queries": 1, "unique_targets": 6, "multidomain": 0, "exhaustive_search": true, "top_hit": {"query": "d1asha_", "target": "d1asha_", "lol_score": 1.0, "lol_prob": 1.0, "lddt": 1.0, "lddt_gscore": 1.0, "qtmscore": 1.0, "rmsd": 0.0, "fident": 1.0}}
lolalign_pairwise_align MCP Verified ✓

Directly align two protein structure files with the Foldseek `lolalign` module without 3Di prefiltering, returning LoL-score, homology probability, LDDT G-score, residue alignment, and superposed C-alpha PDB.

Selftest Summary: Aligned d1asha_ vs d1or4a_ via direct LoL-align: P_hom=0.9996, LoL-score=0.5138, LDDT G-score=0.6556, qTM=0.6681, RMSD=3.18 A.
Metrics: {"num_chain_pairs_aligned": 1, "best_query": "d1asha_", "best_target": "d1or4a_", "lol_score": 0.5138, "lol_prob": 0.9996, "lddt": 0.5997, "lddt_gscore": 0.6556, "qtmscore": 0.6681, "ttmscore": 0.5932, "rmsd": 3.176, "fident": 0.073, "n_aligned_residues": 123, "multidomain": 0}
lolalign_easy_cluster MCP Verified ✓

Cluster protein structure collections into non-redundant homologous families and superfamilies using LoL-align structural alignments (foldseek easy-cluster --alignment-type 3).

Selftest Summary: Clustered 10 protein chain(s) into 2 LoL-align structural cluster(s) (largest cluster: 6 members, singletons: 0).
Metrics: {"num_clusters": 2, "total_members": 10, "largest_cluster_size": 6, "singleton_clusters": 0, "cluster_sizes": {"d1mbaa_": 6, "8tim_B": 4}, "coverage_threshold": 0.5, "cluster_mode": 0}

三、实测复现结果图展示

lolalign_clustering_and_quality.png
lolalign_remote_homology_benchmark.png