期刊:Nature Communications (2026-10-21) ·
DOI:10.1038/s41467-026-78854-6 ·
开源许可:MIT (allowed)
上游仓库:https://github.com/xuzaoxu/SalusSTS @ 6ad825eb88e5
# 1. 解压并自动构建隔离环境 + 运行真实数据自测
unzip salus-sts-mcp.zip && cd salus-sts-mcp
bash install.sh
.venv/bin/python selftest.py
# 2. 接入 Claude Code / Antigravity / Cursor (Stdio MCP)
claude mcp add salus-sts -- "$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
qc_spatial_grid_to_h5ad
MCP Verified ✓
Convert a Salus-STS binned expression grid (10x-style matrix/features/barcodes + spatial.txt) into a QC-annotated AnnData (.h5ad), an upstream QC PDF and a two-panel QC map (UMI and genes per bin), using the upstream grid2h5ad.py.
{"n_bins": 2560, "n_genes": 63, "total_umi": 131298, "median_umi_per_bin": 56.0, "p99_umi_per_bin": 153.0, "median_genes_per_bin": 22.0, "mean_pct_counts_mt": 10.1103, "mean_pct_counts_qc_genes": 10.8224, "bin_size_coord_units": 100, "approx_bin_um": 25.0}estimate_tissue_boundary
MCP Verified ✓
Plot the spatial density of captured barcodes and write a binned uint16 TIFF (one pixel per bin) that can be used to manually outline the tissue, using the upstream estBound_makeBins.py.
{"n_points": 18000, "bin_pixels": 100, "xmin": 102, "ymin": 207, "tif_height": 37, "tif_width": 64, "occupied_bins": 1838, "max_points_per_bin": 27}build_barcode_umi_reads
MCP Verified ✓
Merge a paired-end barcode read and a UMI read into one barcode+UMI FASTQ record (chip barcode reverse-complemented and padded/trimmed to 30 bp, UMI trimmed), using the upstream pebcumi.py. Reads whose UMI is too short are dropped.
{"reads_in": 1500, "reads_out": 1202, "reads_dropped_too_short": 298, "input_barcode_length_hist": {"24": 177, "26": 208, "28": 184, "30": 745, "33": 186}, "output_read_length_hist": {"40": 1202}, "all_outputs_barcode30_plus_umi": true}normalize_pe_barcode_reads
MCP Verified ✓
Restructure long barcode+UMI reads with the upstream pe40rcbc.py: reverse-complement the 30 bp chip barcode and either keep the full remainder ('dark'), cut barcode plus the UMI window ('cut'), or pass the file through ('normal').
{"mode": "cut", "reads_in": 1200, "reads_out": 1019, "reads_filtered": 181, "output_read_length_hist": {"40": 1019}, "barcode_revcomp_verified": "200/200"}

