Gene signature scoring for single-cell data
Project description
pyUCell: Robust and scalable single-cell signature scoring
In single-cell RNA-seq analysis, gene signature (or “module”) scoring constitutes a simple yet powerful approach to evaluate the strength of biological signals – typically associated to a specific cell type or biological process – in a transcriptome.
UCell is a computational method for evaluating gene signatures in single-cell datasets. UCell signature scores, based on the Mann-Whitney U statistic, are robust to dataset size and heterogeneity, and their calculation demands less computing time and memory than other available methods, enabling the processing of large datasets in a few minutes even on machines with limited computing power.
pyUCell is a python implementation for the UCell algorithm, also available for the R programming language (Bioconductor and GitHub)
Getting started
Please see installation instructions below, and refer to the documentation.
Installation
Install the latest release of pyUCell from PyPI:
pip install pyucell
or, for the latest development version:
pip install git+ssh://git@github.com/carmonalab/pyucell.git@master
Test the installation
import pyucell as uc
import scanpy as sc
adata = sc.datasets.pbmc3k()
signatures = {
'T_cell': ['CD3D', 'CD3E', 'CD2'],
'B_cell': ['MS4A1', 'CD79A', 'CD79B']
}
uc.compute_ucell_scores(adata, signatures=signatures)
Tutorials and how-to
Have a look at the documentation section; you may start from a basic tutorial or explore some important pyUCell parameters
For a comparison with the R version of UCell on the same scanpy test data, see this notebook
For an assessment of the running time of pyUCell, and parameters affecting speed see: pyUCell timing
Get help
Please address your questions and bug reports at: UCell issues.
Citation
-
UCell and pyUCell: single-cell gene signature scoring for R and Python. Massimo Andreatta & Santiago J Carmona (2026) Bioinformatics - doi.org/10.1093/bioinformatics/btag055
-
UCell: robust and scalable single-cell gene signature scoring. Massimo Andreatta & Santiago J Carmona (2021) CSBJ - doi.org/10.1016/j.csbj.2021.06.043
Developer guide for scverse tools
https://github.com/scverse/cookiecutter-scverse?tab=readme-ov-file
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyucell-0.6.0.tar.gz.
File metadata
- Download URL: pyucell-0.6.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c78a81aaad0128e603c25bd5cf02c187d7d5c41bbe4c877365bdab0a6a6b1386
|
|
| MD5 |
8d09b06a18bf4aa90278db01fd469b40
|
|
| BLAKE2b-256 |
5bf2642ced3ea1fbf7aefeacba0075f7cddfc57451d06cf85a98612bd248395b
|
Provenance
The following attestation bundles were made for pyucell-0.6.0.tar.gz:
Publisher:
release.yaml on carmonalab/pyucell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyucell-0.6.0.tar.gz -
Subject digest:
c78a81aaad0128e603c25bd5cf02c187d7d5c41bbe4c877365bdab0a6a6b1386 - Sigstore transparency entry: 1066529490
- Sigstore integration time:
-
Permalink:
carmonalab/pyucell@16bb88d3dcbad016376789aa66ce716326e1f804 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/carmonalab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@16bb88d3dcbad016376789aa66ce716326e1f804 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyucell-0.6.0-py3-none-any.whl.
File metadata
- Download URL: pyucell-0.6.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4050f55f8ce2e1b15fbd2b50fa225ee45386080654ce900cce99e9550c4e33f2
|
|
| MD5 |
9fed0e543ef132d22de615bf318cb420
|
|
| BLAKE2b-256 |
6cb70083fb5c4ddc2be3c80350d42a7bfccbe1589d4b8a10654a1deccfcfe874
|
Provenance
The following attestation bundles were made for pyucell-0.6.0-py3-none-any.whl:
Publisher:
release.yaml on carmonalab/pyucell
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyucell-0.6.0-py3-none-any.whl -
Subject digest:
4050f55f8ce2e1b15fbd2b50fa225ee45386080654ce900cce99e9550c4e33f2 - Sigstore transparency entry: 1066529495
- Sigstore integration time:
-
Permalink:
carmonalab/pyucell@16bb88d3dcbad016376789aa66ce716326e1f804 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/carmonalab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@16bb88d3dcbad016376789aa66ce716326e1f804 -
Trigger Event:
release
-
Statement type: