期刊:Nature Computational Science (2026-07-09) ·
DOI:10.1038/s43588-026-01020-x ·
开源许可:MIT (allowed)
上游仓库:https://github.com/zenglab-pku/DISSECT @ b75071ac66f6
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip dissect-mcp.zip && cd dissect-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add dissect -- "$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
dissect_prepare_spatial_region
MCP Verified ✓
Load aligned cytological staining image and spatial transcriptomics table via DISSECT STReader, build spot count matrix, and extract a region of interest via RegionExtractor.
{"image_height": 224, "image_width": 224, "n_transcript_records": 350, "total_mid_counts": 526, "n_unique_genes": 6, "nonzero_spot_pixels": 346}dissect_propose_cell_anchors
MCP Verified ✓
Propose candidate cell bounding-box anchors from a cytological image and deduplicate overlaps using DISSECT nms_numpy (GIoU/IoU/DIoU/CIoU).
{"n_raw_candidates": 11, "n_kept_anchors": 11, "mean_box_area": 1092.8181818181818, "mean_score": 0.5773503067530268}dissect_refine_joint_segmentation
MCP Verified ✓
Refine cell masks by integrating cytological image gradients with transcriptomic Jensen-Shannon divergence gradient fields (DISSECT gradient_map + refine_mask_parallel).
{"n_candidate_boxes": 11, "n_refined_cells": 11, "n_final_cells": 10, "mean_cell_area_px": 956.6, "foreground_fraction": 0.1906, "transcript_capture_rate": 0.538, "captured_mid_counts": 283, "total_mid_counts": 526}dissect_reconstruct_anndata
MCP Verified ✓
Reconstruct a single-cell spatial AnnData (.h5ad) object from refined cell masks and transcripts using DISSECT mask2adata.load_cell and anchor.generate_cell_box.
{"n_cells": 10, "n_genes": 6, "total_mid_counts": 278, "mean_counts_per_cell": 27.8, "median_counts_per_cell": 25.5, "mean_genes_per_cell": 2.4}

