Spatial transcriptomics analysis
Skill bg-szy/TOP-SKILLS/skills/awesome-skills/spatial-transcriptomics-analysis
Automated analysis pipeline for Spatial Transcriptomics (Visium, Xenium) integrating histology and gene expression.From its SKILL.md
npx -y skills add bg-szy/TOP-SKILLS --skill spatial-transcriptomics-analysisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.2 KB, 410 tokens by cl100k_base, as published. Nobody here has run it
Spatial Transcriptomics Skill
Version: 1.0.0 Author: MD BABU MIA, PhD Date: February 2026
Overview
This skill provides automated analysis capabilities for Spatial Transcriptomics data, specifically designed for 10x Visium and Xenium platforms. It enables the integration of histological data with gene expression profiles to uncover spatial organization of cell types.
Capabilities
- Data Loading: Supports Spaceranger output (h5, images).
- QC & Preprocessing: Spatial QC metrics, normalization.
- Spatial Variable Features: Identification of spatially variable genes (SVGs) using Moran's I and Geary's C.
- Deconvolution: Interface for cell type deconvolution (mapping scRNA-seq to spatial).
- Visualization: Interactive spatial plots overlaying gene expression on tissue images.
Usage
from Skills.Genomics.Spatial_Transcriptomics.spatial_analyzer import SpatialAnalyzer
# Initialize
sa = SpatialAnalyzer(data_path="./data/visium_sample1")
# Run Pipeline
sa.load_data()
sa.preprocess()
sa.find_spatial_features()
sa.plot_spatial("INS", save_path="./output/insulin_spatial.png")
Requirements
- scanpy
- squidpy
- anndata
- matplotlib
What ships with it: 1 file
3.0 KB alongside SKILL.md, 1 of them executable
- spatial_analyzer.pyruns3.0 KB