Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tooluniverse-spatial-transcriptomics

БесплатноБез исполняемых скриптовНе проверен

Spatial transcriptomics analysis — Visium, MERFISH, seqFISH, Slide-seq. Maps gene expression to tissue architecture, identifies spatially variable genes…

mims-harvardот mims-harvard★ 1 813 звёзд на GitHub

Об этом скилле

Spatial Transcriptomics Analysis

Comprehensive analysis of spatially-resolved transcriptomics data to understand gene expression patterns in tissue architecture context. Combines expression profiling with spatial coordinates to reveal tissue organization, cell-cell interactions, and spatially variable genes.

LOOK UP, DON'T GUESS

When uncertain about any scientific fact, SEARCH databases first rather than reasoning from memory. A database-verified answer is always more reliable than a guess.

When to Use This Skill

Triggers:

  • User has spatial transcriptomics data (Visium, MERFISH, seqFISH, etc.)
  • User has only an H&E histology image and no spatial assay at all -- DeepSpotM_predict_gene_expression (local model, no API/key) predicts spatial gene expression for a 224x224 H&E tile directly, a virtual readout when no real spatial data exists yet. Treat its output as a model prediction to guide follow-up (e.g. which region to actually assay), not a substitute for the platforms above when real spatial data is the goal.
  • Questions about tissue architecture or spatial organization
  • Spatial gene expression pattern analysis
  • Cell-cell proximity or neighborhood analysis requests
  • Tumor microenvironment spatial structure questions
  • Integration of spatial with single-cell data
  • Spatial domain identification
  • Tissue morphology correlation with expression

Example Questions:

  1. "Analyze this 10x Visium dataset to identify spatial domains"
  2. "Which genes show spatially variable expression in this tissue?"
  3. "Map the tumor microenvironment spatial organization"
  4. "Find genes enriched at tissue boundaries"
  5. "Identify cell-cell interactions based on spatial proximity"
  6. "Integrate spatial transcriptomics with scRNA-seq annotations"

Core Capabilities

  • Data Import: 10x Visium, MERFISH, seqFISH, Slide-seq, STARmap, Xenium formats
  • Quality Control: Spot/cell QC, spatial alignment verification, tissue coverage
  • Normalization: Spatial-aware normalization accounting for tissue heterogeneity
  • Spatial Clustering: Identify spatial domains with similar expression profiles
  • Spatial Variable Genes: Find genes with non-random spatial patterns
  • Neighborhood Analysis: Cell-cell proximity, spatial neighborhoods, niche identification
  • Integration: Merge with scRNA-seq for cell type mapping (Cell2location, Tangram, SPOTlight)
  • Ligand-Receptor Spatial: Map cell communication in tissue context via OmniPath

Supported Platforms

  • 10x Visium: 55um spots (~50 cells/spot), genome-wide, includes H&E image — most common
  • MERFISH/seqFISH: Single-cell resolution, 100-10,000 targeted genes, imaging-based
  • Slide-seq/V2: 10um beads, genome-wide — higher resolution than Visium
  • Xenium: Single-cell/subcellular, 300+ targeted genes (10x platform)

Workflow Overview

Input: Spatial Transcriptomics Data + Tissue Image
    |
    v
Phase 1: Data Import & QC
    |-- Load spatial coordinates + expression matrix
    |-- Load tissue histology image
    |-- Quality control per spot/cell (min 200 genes, 500 UMI, <20% MT)
    |-- Align spatial coordinates to tissue
    |
    v
Phase 2: Preprocessing
    |-- Normalization (spatial-aware methods)
    |-- Highly variable gene selection (top 2000)
    |-- Dimensionality reduction (PCA)
    |-- Spatial lag smoothing (optional)
    |
    v
Phase 3: Spatial Clustering
    |-- Build spatial neighbor graph (squidpy)
    |-- Graph-based clustering with spatial constraints (Leiden)
    |-- Annotate domains with marker genes (Wilcoxon)
    |-- Visualize domains on tissue
    |
    v
Phase 4: Spatial Variable Genes
    |-- Test spatial autocorrelation (Moran's I, Geary's C)
    |-- Filter significant spatial genes (FDR < 0.05)
    |-- Classify pattern types (gradient, hotspot, boundary, periodic)
    |
    v
Phase 5: Neighborhood Analysis
    |-- Define spatial neighborhoods (k-NN, radius)
    |-- Calculate neighborhood composition (squidpy nhood_enrichment)
    |-- Identify interaction zones between domains
    |
    v
Phase 6: Integration with scRNA-seq
    |-- Cell type deconvolution (Cell2location, Tangram, SPOTlight)
    |-- Map cell types to spatial locations
    |-- Validate with marker genes
    |
    v
Phase 7: Spatial Cell Communication
    |-- Identify proximal cell type pairs
    |-- Query ligand-receptor database (OmniPath)
    |-- Score spatial interactions (squidpy ligrec)
    |-- Map communication hotspots
    |
    v
Phase 8: Generate Spatial Report
    |-- Tissue overview with domains
    |-- Spatially variable genes
    |-- Cell type spatial maps
    |-- Interaction networks in tissue context

Phase Summaries

Phase 1: Data Import & QC

Load platform-specific data (scanpy read_visium for Visium). Apply QC filters: min 200 genes/spot, min 500 UMI/spot, max 20% mitochondrial. Verify spatial alignment with tissue image overlay.

Phase 2: Preprocessing

Normalize to median total cou

Полный SKILL.md на GitHub

Установить tooluniverse-spatial-transcriptomics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

code_examples.mdreport_template.md

FAQ

Что делает скилл tooluniverse-spatial-transcriptomics?

Spatial transcriptomics analysis — Visium, MERFISH, seqFISH, Slide-seq. Maps gene expression to tissue architecture, identifies spatially variable genes (SVGs), tissue-domain segmentation, and cell-cell interaction inference. Use for spatial gene-expression questions, tissue architecture analysis, and SVG identification.

Как установить скилл tooluniverse-spatial-transcriptomics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tooluniverse-spatial-transcriptomics запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tooluniverse-spatial-transcriptomics с