alterlab-scgpt

Featured

Apply the scGPT single-cell foundation model (Cui 2024) to annotate and embed cells — zero-shot and fine-tuned cell-type annotation, gene/cell embeddings, batch integration, and gene-regulatory / perturbation inference from AnnData. Use when annotating cell types with a pretrained foundation model, generating scGPT embeddings, integrating batches with a transformer, or running zero-shot single-cell inference on an h5ad. For probabilistic latent models (scVI/scANVI) prefer alterlab-scvi-tools; for the standard QC→cluster→UMAP→DE pipeline prefer alterlab-scanpy; for the AnnData data structure itself prefer alterlab-anndata; for protein language models prefer alterlab-esm. Part of the AlterLab Academic Skills suite.

AI & Automation 66 stars 13 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
61
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# scGPT (single-cell foundation model) ## Overview **scGPT** (Cui et al., *Nature Methods* 2024; `bowang-lab/scGPT`) is a transformer **foundation model** pretrained on tens of millions of cells. It provides **zero-shot** and fine-tuned **cell-type annotation**, **gene and cell embeddings**, **batch integration**, and gene-regulatory / perturbation inference — all operating on **AnnData** (`.h5ad`) objects. Its niche vs. the existing single-cell skills: scGPT is the *pretrained-transformer* route. For probabilistic latent-variable models use `alterlab-scvi-tools`; for the conventional Scanpy analysis pipeline use `alterlab-scanpy`; scGPT complements both. ## When to Use This Skill Use this skill when the user wants to: - **Annotate cell types** with a pretrained foundation model (zero-shot or fine-tuned). - Generate **scGPT embeddings** for cells or genes. - **Integrate batches** using the transformer's representation. - Run **zero-shot** inference / transfer to a new dataset without training from scratch. ### Does NOT Trigger | Scenario | Use instead | |----------|-------------| | Probabilistic integration / latent model (scVI, scANVI) | `alterlab-scvi-tools` | | Standard QC → cluster → UMAP → differential expression | `alterlab-scanpy` | | Read/write/wrangle the `.h5ad` data structure itself | `alterlab-anndata` | | RNA velocity | `alterlab-scvelo` | | Protein (not single-cell) language models | `alterlab-esm` | ## Core Capabilities ### 1. Zero-shot cell embedding ...

Details

Author
AlterLab-IEU
Repository
AlterLab-IEU/AlterLab-Academic-Skills
Created
5 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

alterlab-scvi-tools

Train deep generative models for single-cell omics with scvi-tools — probabilistic batch correction and integration (scVI), reference-mapping transfer learning (scArches), differential expression with uncertainty, and multimodal models (totalVI for CITE-seq, MultiVI for multiome). Use when correcting batch effects, integrating multimodal data, or doing advanced probabilistic single-cell modeling — for standard analysis pipelines use scanpy. Part of the AlterLab Academic Skills suite.

66 Updated 1 weeks ago
AlterLab-IEU
AI & Automation Listed

bioresearch-foundation-embeddings

Generate and evaluate single-cell foundation model embeddings (scGPT / UCE / scFoundation). Runs mock-mode pipeline validation by default — simulated embeddings that recover planted cell-type structure. Live mode stubs (pip install scgpt, UCE eval_single_anndata.py, scFoundation get_embedding.py) are documented for real deployment. Use when the user wants to embed scRNA-seq data with foundation models, compare embedding quality across models, or benchmark cell-type recovery.

1 Updated 4 weeks ago
Alim430
AI & Automation Featured

alterlab-scanpy

Run the standard single-cell RNA-seq analysis pipeline with Scanpy on AnnData — QC filtering, normalization, dimensionality reduction (PCA, UMAP, t-SNE), Leiden/Louvain clustering, marker/differential expression, PAGA trajectories, and plotting. Use when analyzing scRNA-seq data through clustering, cell-type annotation, DE, or pseudotime workflows; for building or reading the .h5ad data structure itself (layers, obs/var, concatenation, backed mode) prefer alterlab-anndata instead, and for RNA velocity from spliced/unspliced counts prefer alterlab-scvelo instead. Part of the AlterLab Academic Skills suite.

66 Updated 1 weeks ago
AlterLab-IEU