Skill / SKILL.md

Alterlab Squidpy Spatial

AlterLab-IEU/AlterLab-Academic-Skills

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.
2 views 86 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AlterLab-IEU/AlterLab-Academic-Skills' skill-source

Use the complete skill-source/skills/bioinformatics/alterlab-squidpy-spatial directory with your client’s skill installer.

  • skills/bioinformatics/alterlab-squidpy-spatial

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/bioinformatics/alterlab-squidpy-spatial

Compatibility & requirements

Declared compatibility

Self-contained — runs under `uv run python` with squidpy (1.8.x, current 1.8.3 as of 2026-09; needs spatialdata>=0.7.2, spatialdata-plot>=0.3.3, scanpy>=1.9.3, anndata>=0.9, Python>=3.12) installed; no API key or account required.

Declared tools

Read Write Edit Bash(python:*) Bash(uv:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4f6ff00e28e1a09b3b371e1158015b686f907188294c0147ee53e85ffc41cd3d
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills