banksy-merged-v3

Automate BANKSY spatial transcriptomics analysis for multisample clustering and visualization.

1|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Ketomihine/my_skills --skill banksy-merged-v3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: banksy-merged-v3
Source: https://github.com/Ketomihine/my_skills/tree/main/banksy-merged-v3
Command: npx skills add https://github.com/Ketomihine/my_skills --skill banksy-merged-v3

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, scipy, pandas, anndata, scanpy, igraph, leidenalg, matplotlib, seaborn, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

BANKY-merged-v3 provides a complete, reproducible workflow for spatial transcriptomics analysis using BANKSY, enabling multisample integration, spatial clustering, and advanced visualization.

Core Features & Use Cases

  • Multisample BANKSY analysis across spatial platforms (e.g., Visium, Slide-seq) with coordinate staggering to avoid sample overlap.
  • End-to-end pipeline including HVG selection, PCA, harmonization, Leiden clustering, and spatial visualization.
  • Reference notebooks and core library materials to reproduce and extend BANKSY workflows.

Quick Start

Open and run the notebooks in references/notebooks.md to reproduce the BANKSY analysis workflow on multisample spatial data and adapt parameters for your datasets.

Frequently Asked Questions about banksy-merged-v3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run BANKSY spatial transcriptomics analysis on multiple Visium or Slide-seq samples?

To run multisample BANKSY spatial transcriptomics analysis, you apply coordinate staggering to avoid sample overlap, perform HVG filtering, harmonize samples, and execute Leiden clustering. The workflow uses Python libraries like scanpy and anndata for reproducible spatial pattern visualization.

What is BANKSY spatial clustering and when do I need it for AnnData?

BANKSY spatial clustering integrates spatial neighborhood information with gene expression matrices in AnnData to identify spatial domains. You need it when standard non-spatial clustering fails to capture tissue architecture and spatial patterns across multiple samples.

Can I use Leiden clustering and Harmony integration for multisample spatial transcriptomics datasets?

Yes, you can use Leiden clustering and Harmony integration for multisample spatial transcriptomics datasets. The workflow applies Harmony for batch harmonization across samples and Leiden clustering on the BANKSY matrix to identify spatially coherent cell clusters.

Does the BANKSY multisample workflow require coordinate staggering for Visium and Slide-seq data?

Yes, the BANKSY multisample workflow requires coordinate staggering for Visium and Slide-seq data. Coordinate staggering separates spatial coordinates across multiple samples to prevent sample overlap during joint spatial domain analysis and visualization.

What Python dependencies do I need to set up BANKSY analysis with scanpy and leidenalg?

You need numpy, scipy, pandas, anndata, scanpy, igraph, leidenalg, matplotlib, and seaborn to set up BANKSY analysis. These standard data science libraries enable the end-to-end pipeline including PCA, harmonization, Leiden clustering, and spatial visualization.

Why does my multisample spatial transcriptomics clustering show overlapping spatial coordinates?

Multisample spatial transcriptomics clustering shows overlapping spatial coordinates when coordinate staggering is not applied. The BANKSY workflow requires staggering spatial coordinates across samples to prevent overlap before harmonization and joint Leiden clustering.