期刊:Nature Neuroscience (2026-08-31) ·
DOI:10.1038/s41593-026-02420-y ·
开源许可:MIT (allowed)
上游仓库:https://github.com/hongjie7/RNAkinetoScope @ b5cd23a475e9
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip spatial-nt-seq-mcp.zip && cd spatial-nt-seq-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add spatial-nt-seq -- "$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
simulate_metabolic_labeling_data
MCP Verified ✓
Simulate metabolic RNA labeling AnnData with ground-truth synthesis/degradation rates and compute NTR stats.
{"n_cells": 120, "n_genes_retained": 100, "n_cell_types": 3, "label_time_min": 240.0, "mean_ntr": 0.363638}compute_ntr_and_align_layers
MCP Verified ✓
Align new/old RNA count layers across AnnData objects and compute cell/spot NTR and size factors.
{"n_cells": 180, "n_genes": 100, "n_groups": 3, "mean_ntr": 0.3325, "median_ntr": 0.333584, "group_mean_ntr": {"Type_1": 0.325129, "Type_2": 0.33343, "Type_3": 0.338188}}infer_group_rna_kinetics
MCP Verified ✓
Calculate group-level RNA synthesis (alpha), degradation (gamma), half-life, and NTR with optional KNN imputation.
{"n_groups": 3, "n_genes": 100, "method": "imputed", "label_time_min": 240.0, "median_halflife_by_group": {"Type_1": 162.069, "Type_2": 162.5662, "Type_3": 147.3482}, "median_alpha_by_group": {"Type_1": 19.1853, "Type_2": 19.9087, "Type_3": 20.0165}, "median_gamma_by_group": {"Type_1": 0.004277, "Type_2": 0.004264, "Type_3": 0.004704}, "true_gamma_log10_r": 0.8511}infer_metacell_rna_kinetics
MCP Verified ✓
Perform PCA-neighborhood metacell smoothing and KNN half-life imputation to infer single-cell/spot RNA kinetics.
{"n_cells": 180, "n_genes": 100, "n_groups": 3, "n_neighbors": 11, "finite_halflife_fraction": 1.0, "median_halflife_min": 158.0044, "cluster_median_halflife": {"Type_1": 162.29, "Type_2": 161.6497, "Type_3": 146.8883}}

