Paper2MCP v2 Verified Deliverable

Mapping isoforms and regulatory mechanisms from spatial transcriptomics data with SPLISOSM.

期刊:Nature Biotechnology (2026-01-05) · DOI:10.1038/s41587-025-02965-6 · 开源许可:BSD-3-Clause (allowed)

上游仓库:https://github.com/JiayuSuPKU/SPLISOSM @ 33cb15644326

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

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

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

# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add splisosm -- "$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 个工具)

splisosm_spatial_variability MCP Verified ✓

Detect spatially variable isoform usage (hsic-ir), isoform counts (hsic-ic), or gene expression (hsic-gc, spark-x) via SplisosmNP CAR kernel HSIC tests.

Selftest Summary: Tested 40 genes across 601 spots using SplisosmNP (hsic-ir): 23 significant at FDR < 0.05 (top hits: Calm1, Mbp, Sept8).
Metrics: {"n_spots": 601, "n_genes_tested": 40, "n_significant": 23, "fdr_threshold": 0.05, "method": "hsic-ir", "top_genes": ["Calm1", "Mbp", "Sept8", "Arpp21", "Map4"], "min_pvalue_adj": 1.1785357771750088e-20}
splisosm_differential_usage_np MCP Verified ✓

Test differential isoform usage against spatial covariates (e.g., RBP expression) using SplisosmNP HSIC-GP (GP spatially residualized) or unconditional HSIC.

Selftest Summary: Tested 160 gene-covariate pairs (40 genes x 4 covariates) via hsic-gp: 12 significant at FDR < 0.05. Top: Sept8~rbp_Qk (2.00e-14), Map4~rbp_Qk (6.37e-08), Sept8~rbp_Celf2 (2.80e-05).
Metrics: {"n_spots": 601, "n_genes": 40, "n_covariates": 4, "n_pairs_tested": 160, "n_significant": 12, "fdr_threshold": 0.05, "method": "hsic-gp", "top_pairs": ["Sept8~rbp_Qk (2.00e-14)", "Map4~rbp_Qk (6.37e-08)", "Sept8~rbp_Celf2 (2.80e-05)", "Ntrk2~rbp_Qk (1.85e-04)", "Arpp19~rbp_Qk (1.95e-04)"]}
splisosm_differential_usage_glmm MCP Verified ✓

Fit parametric Multinomial GLM or spatial GLMM (SplisosmGLMM) and run score or Wald differential isoform usage tests.

Selftest Summary: Parametric glm (score) tested 24 pairs across 12 genes: 2 significant at FDR < 0.05. Top: Mbp~rbp_Qk (0.00e+00), Mbp~rbp_Celf2 (3.39e-07), Plp1~rbp_Qk (7.60e-01).
Metrics: {"n_spots": 601, "n_genes": 12, "n_covariates": 2, "n_pairs_tested": 24, "n_significant": 2, "model_type": "glm", "test_method": "score", "top_pairs": ["Mbp~rbp_Qk (0.00e+00)", "Mbp~rbp_Celf2 (3.39e-07)", "Plp1~rbp_Qk (7.60e-01)", "Ppp3ca~rbp_Qk (8.97e-01)", "Snap25~rbp_Qk (8.97e-01)"]}
splisosm_simulate_benchmark MCP Verified ✓

Simulate spatial isoform count matrices under CAR spatial kernels and benchmark HSIC-IR / HSIC-GC calibration and power.

Selftest Summary: Simulated 20 genes (3 isoforms, 12x12 grid, var_sp=0.5) [spatial variability power]: HSIC-IR raw rate=0.950, FDR rate=0.950.
Metrics: {"n_genes": 20, "n_spots": 144, "n_isos": 3, "var_sp": 0.5, "var_nsp": 0.5, "hsic_ir_rate_raw": 0.95, "hsic_ir_rate_fdr": 0.95, "hsic_gc_rate_raw": 0.0}

三、实测复现结果图展示

repro_rbp_du_comparison.png
repro_simulation_calibration.png
repro_svp_vs_sve_spatial.png