期刊:Nature Genetics (2026-11-05) ·
DOI:10.1038/s41588-026-02821-6 ·
开源许可:BSD-3-Clause (allowed)
上游仓库:https://github.com/zou-group/CORAL @ 97e1e9c4b3fb
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip coral-mcp.zip && cd coral-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add coral -- "$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
coral_preprocess_subgraphs
MCP Verified ✓
Align paired high-resolution and low-resolution spatial omics AnnData files and build local spatial subgraphs.
{"lowres_dim": 80, "hires_dim": 51, "lowres_size": 143, "hires_size": 240, "cell_type_dim": 6, "n_subgraphs": 240, "n_neighbors": 15, "mean_subgraph_nodes": 15.0, "mean_subgraph_edges": 28.0}coral_train_model
MCP Verified ✓
Create and train the CORAL GAT-VAE cross-attention multimodal integration and deconvolution model.
{"epochs": 4, "initial_loss": 152544.8198, "final_loss": 70246.2091, "min_loss": 70246.2091, "device_used": "cpu", "num_parameters": 157088, "latent_dim": 32, "hidden_channels": 64}coral_infer_and_deconvolve
MCP Verified ✓
Infer CORAL joint embeddings, super-resolved low-res expression profiles, spatial domains, and cell-cell attention weights.
{"n_cells": 240, "latent_dim": 32, "generated_expr_dim": 80, "n_coral_clusters": 9, "n_unique_attention_edges": 1929, "mean_attention_weight": 0.35199, "max_attention_weight": 0.49981}coral_evaluate_and_visualize
MCP Verified ✓
Evaluate CORAL spatial domain agreement and expression reconstruction and generate summary plots.
{"n_cells": 240, "n_clusters": 6, "mutual_info_score": 0.3538, "adjusted_rand_score": 0.0871, "lowres_mean_pearson_r": 0.7829, "lowres_mean_spearman_r": 0.6972, "hires_mean_pearson_r": 0.87, "hires_cosine_similarity": 0.905, "n_attention_edges": 1929, "mean_attention_weight": 0.35208}

