期刊:Nature Methods (2026-10-30) ·
DOI:10.1038/s41592-026-03289-2 ·
开源许可:MIT (declared) (allowed)
上游仓库:https://github.com/wollmanlab/PySpots @ 0e4737bc59ff
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip atlas-mcp.zip && cd atlas-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add atlas -- "$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
design_treedpnmf_encoding
MCP Verified ✓
Learn a Tree-DPNMF non-negative gene-to-bit encoding matrix W from hierarchical scRNA-seq cell-type annotations (ATLAS.Design.models.PNMF.get_DPNMF / get_PNMF) and project expression profiles into aggregate signature space.
{"n_genes": 96, "n_cells": 560, "n_bits": 14, "mu": 20.0, "iterations": 120, "final_delta": 1.090922080242606e-05, "reconstruction_rel_error": 0.4401662605756664}build_spatial_priors
MCP Verified ✓
Compute 3D mouse brain CCF kernel-density spatial priors across cell types (ATLAS.Decoding.KDESpatialPriors) and spatial tissue connected-component QC (ATLAS.Utils.geomu).
{"n_reference_cells": 560, "n_measured_cells": 520, "n_cell_types": 8, "in_large_component_fraction": 1.0, "mean_max_prior": 0.4747868478298187}annotate_and_align_scale
MCP Verified ✓
Perform hierarchical harmonization, spatial-prior-guided cell-type annotation, and scRNA-seq neighbor matching via ATLAS SingleCellAlignmentLeveragingExpectations (SCALE).
{"n_cells": 520, "n_shared_bits": 14, "n_leiden_clusters": 11, "n_predicted_types": 7, "neuron_fraction": 0.75, "accuracy": 0.875, "ari": 0.8694339622641509}impute_spatial_transcriptome
MCP Verified ✓
Impute whole-transcriptome gene expression for spatial cells by averaging matched scRNA-seq reference neighbors and evaluate spatial/cluster reconstruction (ATLAS Gene_Imputation, basicu, evalu).
{"n_cells": 520, "n_imputed_genes": 96, "n_neighbors_used": 15, "mean_gene_pearson_r": 0.8427367210388184, "mean_cluster_pearson_r": 0.9171016968977815, "cluster_variance_explained": 0.7969172362970229}test_spatial_background_diff
MCP Verified ✓
Identify cell types with altered 3D spatial distributions across genetic backgrounds or sexes using hemisphere-permutation entropy residuals and BH-FDR correction (ATLAS.Utils.statu).
{"n_animals": 12, "n_hemispheres": 24, "n_cell_types_tested": 8, "significant_mutant_types": ["01_L2/3_IT_CTX", "08_Oligo_NN"], "significant_sex_types": [], "top_mutant_type": "01_L2/3_IT_CTX", "top_mutant_fdr": 0.0}

