Logistic regression, but for naming your cells
CellTypist auto-annotates scRNA-seq cells using pre-trained logistic regression models, sparing you the manual cluster-naming ritual.
What it does CellTypist takes a raw count matrix from single-cell RNA-seq and assigns a cell type to each cell. It does this with logistic regression classifiers trained by stochastic gradient descent, using either built-in models (currently focused on immune sub-populations) or models you train yourself. Results come back as predicted labels plus decision and probability matrices you can export or fold into an AnnData object.
The interesting bit
The models are tiny — about 1 MB each — so grabbing all of them is cheap, and they’re pickled classifiers rather than heavyweight deep learning. There’s also a prob match mode that handles the awkward cases: cells that match nothing (novel types get flagged as Unassigned) or match several types at once (multi-label output).
Key highlights
- Pre-trained models with an immune focus, downloadable and updatable from within the tool
- Two prediction modes: strict
best matchor threshold-basedprob matchfor ambiguous cells - Accepts plain count tables (
.csv,.tsv,.mtx, etc.) — no AnnData required to start - Outputs integrate with the AnnData ecosystem, including confidence scores and probability matrices
- Colab tutorials cover classification, multi-label, and cross-dataset label transfer
Caveats
- Requires raw count matrices (reads or UMIs); the README is explicit that non-expressed genes should be included, so pre-processed data won’t fly
- Built-in models lean heavily toward immune cell types — other tissues mean training your own
Verdict Worth a look if you do scRNA-seq analysis and want a fast, transparent alternative to eyeballing clusters. If you’re outside single-cell biology, there’s nothing here for you.
Frequently asked
- What is Teichlab/celltypist?
- CellTypist auto-annotates scRNA-seq cells using pre-trained logistic regression models, sparing you the manual cluster-naming ritual.
- Is celltypist open source?
- Yes — Teichlab/celltypist is open source, released under the MIT license.
- What language is celltypist written in?
- Teichlab/celltypist is primarily written in Python.
- How popular is celltypist?
- Teichlab/celltypist has 519 stars on GitHub.
- Where can I find celltypist?
- Teichlab/celltypist is on GitHub at https://github.com/Teichlab/celltypist.