Skill / SKILL.md

Alterlab Scgpt

AlterLab-IEU/AlterLab-Academic-Skills

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.
2 views 86 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AlterLab-IEU/AlterLab-Academic-Skills' skill-source

Use the complete skill-source/skills/bioinformatics/alterlab-scgpt directory with your client’s skill installer.

  • skills/bioinformatics/alterlab-scgpt

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/bioinformatics/alterlab-scgpt

Compatibility & requirements

Declared compatibility

Runs scGPT (`bowang-lab/scGPT`; PyPI `scgpt` 0.2.4, unchanged since 2025-03) under `uv run python`. Its old pins (`scvi-tools<1.0`, `scanpy<2.0`, `torchtext`) conflict with a current scverse stack, so use a dedicated environment, not one shared with alterlab-scanpy/alterlab-scvi-tools. Checkpoints (GB-scale) download manually from the repo's Drive links; a CUDA GPU is strongly recommended. I/O is AnnData (`.h5ad`); dispatch heavy fine-tuning via alterlab-remote-compute.

Declared tools

Read Write Edit Bash(python:*) Bash(uv:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7e39a30abb6e45e7984e52d3507713e5f00832854d713593725f82ab915cde81
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills