alterlab-squidpy-spatial

Solid

Analyzes spatial transcriptomics with squidpy (1.8.x) on AnnData and SpatialData objects, routing platforms correctly: Visium spots use spatial_neighbors(coord_type='grid') and pair with deconvolution, while Xenium/MERFISH single-cell data use coord_type='generic'/Delaunay neighbors and spatialdata-io readers (xenium, visium_hd, merscope). Runs sq.gr.spatial_neighbors, nhood_enrichment, co_occurrence, spatial_autocorr (Moran's I for spatially variable genes), ripley, and ligrec. Use when the user wants spatial transcriptomics, squidpy, Visium/Xenium/MERFISH analysis, neighborhood enrichment, co-occurrence, or spatially variable genes; QC/clustering uses alterlab-scanpy and spot deconvolution (destVI/Tangram) uses alterlab-scvi-tools. Part of the AlterLab Academic Skills suite.

AI & Automation 27 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Squidpy: Spatial Transcriptomics Squidpy is the scverse toolkit for spatially-resolved omics, built on AnnData and SpatialData. It answers questions a non-spatial scRNA-seq pipeline cannot: *which cell types sit next to which* (neighborhood enrichment), *how cell-type pairs co-occur across distance* (co-occurrence), *which genes vary across tissue space* (Moran's I / spatially variable genes), and *what ligand-receptor signalling is plausible* (ligrec). This skill does the spatial analysis; it hands non-spatial QC/clustering to `alterlab-scanpy` and spot deconvolution to `alterlab-scvi-tools`. ## When to Use This Skill Use when the request involves: - Spatial transcriptomics / spatially-resolved omics on **Visium, Visium HD, Xenium, MERFISH/MERSCOPE, or CosMx** data. - Building a **spatial neighbor graph** and running **neighborhood enrichment**, **co-occurrence**, **interaction matrix**, **Ripley's statistics**, or **centrality scores**. - Finding **spatially variable genes** via Moran's I (`spatial_autocorr`) or Sepal. - **Ligand-receptor** analysis in a spatial context (`ligrec`). - Reading platform output into AnnData/SpatialData and choosing the right `coord_type` for the platform. ### Does NOT Trigger | Request | Route to | |---------|----------| | Non-spatial scRNA-seq QC, normalization, PCA/UMAP, Leiden clustering, marker genes | `alterlab-scanpy` | | Spot **deconvolution** / mapping cell types to Visium spots (destVI, Tangram), probabilistic batch corr...

Details

Author
AlterLab-IEU
Repository
AlterLab-IEU/AlterLab-Academic-Skills
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

spatial-transcriptomics

Orchestrator skill for spatial transcriptomics analysis. Routes to one of three personality modes (aristotle/plato/socrates) based on user intent. Covers platforms: Visium, Xenium, MERFISH, Slide-seq, Stereo-seq, CosMx, SpatialDB, Seq-Scope, DBiT-seq, STARmap. Frameworks: Scanpy, Squidpy, Giotto, Seurat, SpatialDE, BayesSpace, SPARK-X, SpaGCN, Cell2location, RCTD, Tangram. Trigger keywords: spatial transcriptomics, Visium, Xenium, MERFISH, Slide-seq, spatial gene expression, spatial omics, single-cell spatial, spatial analysis, spot deconvolution, spatial clustering, spatially variable genes, 空间转录组, 空间组学, 空间基因表达, 空间分析, 空间聚类, 空间差异表达, 10x Visium, Stereo-seq, CosMx, seqFISH, FISSEQ.

0 Updated today
Nigmat-future
AI & Automation Solid

alterlab-scanpy

Run the standard single-cell RNA-seq analysis pipeline with Scanpy on AnnData — QC filtering, normalization, dimensionality reduction (PCA, UMAP, t-SNE), Leiden/Louvain clustering, marker/differential expression, and plotting. Use for exploratory scRNA-seq analysis with established workflows — for deep generative models use scvi-tools, for data-format and .h5ad questions use anndata. Part of the AlterLab Academic Skills suite.

27 Updated today
AlterLab-IEU
AI & Automation Solid

alterlab-scvi-tools

Train deep generative models for single-cell omics with scvi-tools — probabilistic batch correction and integration (scVI), reference-mapping transfer learning (scArches), differential expression with uncertainty, and multimodal models (totalVI for CITE-seq, MultiVI for multiome). Use when correcting batch effects, integrating multimodal data, or doing advanced probabilistic single-cell modeling — for standard analysis pipelines use scanpy. Part of the AlterLab Academic Skills suite.

27 Updated today
AlterLab-IEU