sptxinsight - Analyze spatial transcriptomics samples
Operates sptxinsight to type cells, discover niches, analyze spatial heterogeneity, and score cell-cell interactions in AnnData samples.
Tags
Updated: 2026-12-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Verify sample contracts
- Run end-to-end H-Plot analysis
- Discover recurring cell niches
- Profile niche composition
- Export aggregated H-Plot tables
- Emit command schemas
- Annotate cell types
- Build marker panels
- Rerank marker annotations
- Score ligand-receptor interactions
Inputs
- AnnData spatial samples
- Micron spatial coordinates
- Cell-type labels
- Expression matrix
- Sample and result paths
- Runner selection
- GPU selection
Outputs
- Sample validation reports
- H-Plot analysis tables
- Niche discovery results
- Niche composition summaries
- Cell-type annotation results
- Ligand-receptor scores
- Machine-readable command schemas
Requirements
- Python 3.11 or later
- Installed sptxinsight package
- sptxinsight.sh wrapper
- AnnData samples in h5ad or zarr format
- spatial coordinates in adata.obsm["spatial"]
- cell-type labels in adata.obs["cell_type"]
- Expression matrix for gene workflows
- SPTXINSIGHT_EXPERIMENTAL for experimental commands
- kurtorank extra for annotation commands
- mcp extra for MCP server
- Docker or activated conda environment
