期刊:Nature Cell Biology (2026-09-24) ·
DOI:10.1038/s41556-026-02067-8 ·
开源许可:MIT (allowed)
上游仓库:https://github.com/zhanglabNKU/DePass @ 9922b01b3629
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip depass-mcp.zip && cd depass-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add depass -- "$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
depass_preprocess_multiomics
MCP Verified ✓
Preprocess paired single-cell or spatial multi-omics AnnData (.h5ad) modalities (RNA, protein/ADT, ATAC, metabolite) via DePass.utils.preprocess_data and populate standardized obsm['input_feat'] matrices.
{"n_obs": 240, "n_modalities": 2, "modalities": ["rna", "protein"], "input_feat_dims": {"1_rna": 183, "2_protein": 21}}depass_integrate_and_enhance
MCP Verified ✓
Train the DePass dual-enhanced graph autoencoder (DePassAE / DePassAE_va) on >=2 paired spatial or single-cell modalities to jointly learn L2-normalized embeddings, cross-modality attention weights, and denoised omics profiles.
{"n_obs": 240, "n_modalities": 2, "data_type": "spatial", "epochs": 30, "device_used": "cpu", "embedding_dim": 128, "enhanced_shapes": {"x1_enh_rna": [240, 183], "x2_enh_protein": [240, 21]}, "mean_modality_weights": {"weight_1_rna": 0.3884, "weight_2_protein": 0.6116}}depass_cluster_and_evaluate
MCP Verified ✓
Identify spatial domains or single-cell clusters from DePass embeddings, evaluate clustering quality (ASW, DBI, and optional supervised ARI/NMI/AMI/Homogeneity), and plot spatial/UMAP domains plus cross-modality attention violin distributions.
{"n_obs": 240, "method": "kmeans", "n_clusters_requested": 3, "n_clusters_found": 3, "ASW": 0.658809, "DBI": 1.259215}depass_evaluate_enhancement
MCP Verified ✓
Compare raw/baseline vs. DePass-enhanced omics profiles via differential expression LogFC (rank_genes_groups, get_top_degs_df, get_logfc), spatial/UMAP marker comparison plots (plot_marker_comparison_with_logFC), and optional cross-omics Pearson correlations.
{"n_obs": 240, "n_features": 21, "n_groups": 3, "selected_marker": "CD3", "selected_group": "2", "selected_marker_logfc_raw": 1.3819, "selected_marker_logfc_enhanced": 2.0707, "mean_top_logfc_raw": 0.9356, "mean_top_logfc_enhanced": 1.3468}

