Command Palette

Search for a command to run...

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

celltypist-cell-annotation

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

Automated scRNA-seq cell type annotation via pre-trained logistic regression. 45+ models: immune, gut, lung, brain, fetal, cancer microenvironments. Input…

FridrichMethodот FridrichMethod★ 17 звёзд на GitHub

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

CellTypist Cell Type Annotation

Overview

CellTypist is an automated cell type classifier for single-cell RNA-seq data built on logistic regression models trained on curated reference atlases. Given a normalized AnnData object, it predicts cell type labels at the single-cell level and optionally applies majority voting within user-defined clusters to produce consensus, biologically coherent annotations. The tool ships with 45+ ready-to-use models spanning pan-immune, organ-specific, and developmental contexts, and supports training custom models from labeled data.

When to Use

  • Annotating PBMC, whole-blood, lymph node, or other immune cell datasets using a single standardized reference model
  • Generating a first-pass cell type annotation before manual curation with canonical marker genes
  • Annotating cluster-level cell types in published or in-house datasets using majority voting to smooth noisy per-cell predictions
  • Comparing annotation results across multiple tissue-specific models to determine the most biologically relevant reference
  • Training a custom CellTypist model from a labeled reference dataset for a tissue or species not covered by pre-built models
  • Quantifying annotation confidence to flag low-certainty cells (confidence score < 0.5) for manual review or exclusion
  • Use omics-plotting SKILL for generic result-table figures; UMAP/dotplot annotation views use scanpy sc.pl.*
  • Use scVI/scANVI (scvi-tools-single-cell) instead when you need probabilistic label transfer with batch correction and uncertainty quantification via a variational autoencoder
  • Use popV (popv-cell-annotation) instead when you want ensemble consensus from 10+ methods including deep learning and KNN-based approaches

Prerequisites

  • Python packages: celltypist>=1.6, scanpy>=1.9, anndata
  • Data requirements: AnnData with normalized, log1p-transformed counts in adata.X (10,000 UMIs per cell target sum). Raw counts must be normalized before calling CellTypist
  • Environment: Python 3.8+; 8 GB RAM sufficient for most datasets; internet access required for model downloads (first run only)
pip install celltypist "scanpy[leiden]" anndata

Pre-flight Interview

Settle these with the user before writing any analysis code.

decisions:
  - id: D1
    param: annotationStrategy
    kind: required
    source: user
    ask: "Name cell types from canonical markers by hand over the clusters, transfer them from a pre-trained model, or do both and compare the two?"
    default: "transfer from a model, then confirm against markers"

  - id: D2
    param: tissueContext
    kind: required
    source: user
    ask: "Which tissue is this, and in what state - healthy adult, fetal or developmental, diseased, or perturbed?"
    default: null

  - id: D3
    param: model
    kind: required
    source: literature
    depends_on: [D2]
    ask: "Which pre-trained model matches that tissue AND that state?"
    default: null

  - id: D4
    param: markerValidation
    kind: required
    source: user
    depends_on: [D1]
    ask: "Should the assigned labels be checked against canonical marker expression before they are accepted?"
    default: "checked - a mismatched model still labels every cell confidently"

  - id: D5
    param: validationMarkerPanel
    kind: required
    source: literature
    depends_on: [D2, D4]
    ask: "Which canonical markers should the assigned types be confirmed against?"
    default: null
    skip_if: "marker validation declined"

  - id: D6
    param: labelGranularity
    kind: required
    source: user
    depends_on: [D2]
    ask: "Name broad lineages, or subtypes and activation states within them?"
    default: null

  - id: D7
    param: majorityVoting
    kind: required
    source: user
    ask: "Assign labels cell by cell, or smooth them to a consensus within each cluster?"
    default: "per-cell, with voting recommended once clusters are trusted"

  - id: D8
    param: clusteringKey
    kind: derived
    source: upstream
    depends_on: [D7]
    ask: "Which clustering should the consensus be taken over?"
    default: "the clustering computed upstream"
    skip_if: "majority voting disabled"

  - id: D9
    param: assignmentThreshold
    kind: required
    source: user
    ask: "Should every cell receive its best-matching label, or should uncertain cells be left unassigned?"
    default: "best match regardless of confidence"

  - id: D10
    param: minClusterProportion
    kind: optional
    source: user
    depends_on: [D7]
    ask: "How much of a cluster must agree before the consensus label is applied?"
    default: "no minimum"
    skip_if: "majority voting disabled"

D1 is asked even though the user has arrived at an automated annotator, because the alternative is not visible from here: manual marker naming and model transfer fail in opposite directions, and "both, compared" is the right answer more often than either alone. If the answer is ma

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

Установить celltypist-cell-annotation в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл celltypist-cell-annotation?

Automated scRNA-seq cell type annotation via pre-trained logistic regression. 45+ models: immune, gut, lung, brain, fetal, cancer microenvironments. Input normalized AnnData; outputs per-cell labels, majority-vote cluster labels, confidence scores. Use for fast, reference-backed annotation without manual marker inspection.

Как установить скилл celltypist-cell-annotation?

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

Скилл celltypist-cell-annotation запускает скрипты?

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

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

Сравнить celltypist-cell-annotation с