Paper2MCP v2 Verified Deliverable

OpenDVP: an experimental and computational framework for community-empowered deep visual proteomics

期刊:Nature Methods (2026-10-22) · DOI:10.1038/s41592-026-03262-z · 开源许可:MIT (allowed)

上游仓库:https://github.com/CosciaLab/openDVP @ a26f4d10253c

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

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

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

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

opendvp_mask_to_qupath MCP Verified ✓

Convert a 2D labeled cell segmentation TIFF mask into QuPath-compatible GeoJSON polygons with per-cell morphology metrics and diagnostic overlay.

Selftest Summary: Converted 26 segmented cell masks from blobs_labels.tif (512x512) into QuPath GeoJSON polygons (median area 1522.0 px^2).
Metrics: {"n_objects": 26, "mask_height": 512, "mask_width": 512, "mean_area_px": 3050.57, "median_area_px": 1522.0, "total_area_px": 79314.82}
opendvp_spatial_qc_filter MCP Verified ✓

Convert single-cell quantification CSV to AnnData and run OpenDVP multi-criteria QC filtering (Area, nuclear stain, optional cyclic ratio and GeoJSON artefact exclusion).

Selftest Summary: Loaded 1643 cells x 12 markers from quant_sample.csv; retained 1561/1643 (95.0%) QC-passing cells.
Metrics: {"n_cells_input": 1643, "n_cells_retained": 1561, "n_cells_filtered": 82, "retention_fraction": 0.9501, "n_markers": 12}
opendvp_phenotype_neighborhoods MCP Verified ✓

Run OpenDVP single-cell phenotyping (scimap rescale + gating), Spatial LDA Recurrent Cellular Neighborhood (RCN) clustering, Voronoi export, and Moran's I spatial autocorrelation.

Selftest Summary: Phenotyped 1561 cells into 7 cell types and 4 Spatial LDA RCN clusters (top Moran's I: ECAD=0.397; 1398 Voronoi polygons).
Metrics: {"n_cells": 1561, "n_phenotypes": 7, "n_rcn_clusters": 4, "n_voronoi_polygons": 1398, "phenotype_counts": {"Lymphocyte": 568, "Unknown": 360, "Epithelial": 284, "Stromal": 145, "NK_cell": 99, "Treg": 64, "Myeloid": 41}, "top_moran_marker": "ECAD", "top_moran_i": 0.3965}
opendvp_proteomics_differential MCP Verified ✓

Import DIA-NN proteomics matrix and run OpenDVP NaN filtering, per-group CV evaluation, Gaussian imputation, Scanpy PCA, differential abundance t-test, and QC/volcano plotting.

Selftest Summary: Analyzed 15 samples and 1175/1339 filtered proteins from DIANN_v2_pg_matrix.tsv; Tum vs cortex yielded 471 significant proteins (291 higher in Tum, 180 higher in cortex; FDR < 0.05).
Metrics: {"n_samples": 15, "n_proteins_raw": 1339, "n_proteins_filtered": 1175, "n_imputed_values": 3060, "n_significant_proteins": 471, "n_up_group1": 291, "n_up_group2": 180, "median_cv_group1": 0.2159, "median_cv_group2": 0.1226}

三、实测复现结果图展示

01_segmentation_mask_polygons.png
02_spatial_phenotypes_rcn_moran.png
03_proteomics_diann_volcano_qc.png