Skip to main content

pyUCell: Robust and scalable single-cell signature scoring

PyPI Tests Documentation codecov Downloads Downloads

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

Developer guide for scverse tools

https://github.com/scverse/cookiecutter-scverse?tab=readme-ov-file

Metadata

Release files for pyucell 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyucell 0.8.0
File Size Uploaded
pyucell-0.8.0.tar.gz 514.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyucell 0.8.0
File Interpreter ABI Platform
pyucell-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 528.3 kB

Release files / pyucell-0.8.0.tar.gz

Download URL pyucell-0.8.0.tar.gz
Size 514.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c3663ef1a5739b6f6ad7e3e54bd8af651d9730b5ab3f03d565cade275c79bb6c
BLAKE2b-256 checksum
How to use checksums
690285f4f75d808ab975ccc4011f1352cb47617312315e7f848920f9e93d00d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / pyucell-0.8.0-py3-none-any.whl

Download URL pyucell-0.8.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73101d62e74ca697ad3d07120c6336744c04881ba7c7db4ffa2caa639602e185
BLAKE2b-256 checksum
How to use checksums
4ced0d2aa5f09d7a53486d3fda0e63bbfbf3615e7aafa9371f042ba56da6c6d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.3

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page