Skip to content
CahanLabPublic

About

web app for analysis and visualization of spatial transcriptomics (ST) and single cell RNA-seq (scRNA-seq) data

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Skopia

Skopia is a browser app for exploring and analyzing single-cell and spatial transcriptomics data. Open an .h5ad (or a 10x .h5, a Visium HD feature_slice.h5, a Seurat .rds, or a 10x matrix folder), and run the standard scanpy analyses from menus while the cells are drawn on their embedding or their tissue coordinates. Every step is recorded and exports as a Jupyter notebook that reproduces the analysis.

Documentation: https://cahanlab.github.io/skopia/

A seqFISH mouse embryo section in Skopia, colored by cell type

A seqFISH section of a mouse embryo, 19,416 cells, colored by the published cell-type labels (Lohoff et al. 2022, Nat Biotechnol).

What it does

  • Clusters and cell types. QC, normalization, PCA, neighbors, UMAP and Leiden; marker genes and differential expression; cell typing with PySingleCellNet; diffusion pseudotime; copy-number inference.
  • Space. Spatial graphs that respect section boundaries, spatial autocorrelation, zones from gene-set gradients, cell-type neighborhoods, ligand-receptor signaling, and placing dissociated cells on a tissue map.
  • Genes and programs. Gene sets typed in or imported from MSigDB, Enrichr, GO and bundled pathway collections; set scores, overlap enrichment and GSEA; gene modules and NMF programs.
  • Figures and records. Saved heatmaps, dot plots, barplots and multi-panel embedding figures, stored in the dataset; an analysis record that exports as an executable notebook and a Markdown methods draft.

Skopia runs on your own computer. Your data is not uploaded anywhere.

Status

Developed by the Cahan Lab at Johns Hopkins University and used in the lab's own analyses; the current release is listed on the releases page. Skopia is pre-1.0: a minor release may change behavior, and the changelog leads every such change with Breaking. See Versioning and the changelog.

Install

Skopia needs Git and pixi, which installs the exact Python and Node versions and every dependency. It runs on macOS (Apple Silicon and Intel), Linux and Windows.

git clone https://github.com/cahanlab/skopia.git
cd skopia
pixi install

Then start the two servers, each in its own terminal from the skopia/ folder:

pixi run backend     # wait for "Application startup complete."
pixi run dev         # then open http://localhost:5173

A bundled toy dataset loads when no file is given. To start with your own:

SKOPIA_DATA_PATH=/path/to/data.h5ad pixi run backend

Cell typing needs the optional pyscn environment: pixi install -e pyscn, then pixi run -e pyscn backend.

The installation guide covers each step in detail, for people who have not installed software from GitHub before, and how to update.

Learn more

  • Tutorials: from counts to clusters, spatial domains, gene-set scores, sub-clustering, Localize, figures, and exporting a notebook. Each runs on a bundled or public dataset.
  • User guide: every tool, its parameters and defaults, and what it writes into the AnnData.
  • How to cite: Skopia and the published methods it calls or reimplements.
  • Issues: bug reports and questions.

The documentation source is in docs/; pixi run -e docs docs serves it locally at http://127.0.0.1:8001.

Citing

Skopia has no paper yet. Cite the version you used and this repository (GitHub's Cite this repository button reads CITATION.cff), and cite the methods behind the steps you ran: the references page lists them.

About

web app for analysis and visualization of spatial transcriptomics (ST) and single cell RNA-seq (scRNA-seq) data

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages