Skip to main content

Gene signature scoring for single-cell data

Project description

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

Get help

Please address your questions and bug reports at: UCell issues.

Citation

UCell: robust and scalable single-cell gene signature scoring. Massimo Andreatta & Santiago J Carmona (2021) CSBJ https://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

pyucell-0.5.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyucell-0.5.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pyucell-0.5.0.tar.gz.

File metadata

  • Download URL: pyucell-0.5.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyucell-0.5.0.tar.gz
Algorithm Hash digest
SHA256 06dab130e2c6b08b657c2898dd8b5b55a0c1388eb1c4479916beea75426703d6
MD5 3d3304c616666127061ef91a41b1c34c
BLAKE2b-256 6c50fd484afe423c6774dd636b03f42a4cadff5079a65e59c36de4af49f7d9e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyucell-0.5.0.tar.gz:

Publisher: release.yaml on carmonalab/pyucell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyucell-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pyucell-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyucell-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e5b27e8bf582b0776f5d945f5f90f1c7a629777ea3c39db80c0f322fca8ee0
MD5 2d143bd4962a60600c3efe0e3d72e1a2
BLAKE2b-256 d114405b2970057801ef708b623934caba424f0b31c188fb1f71b7d95183dfa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyucell-0.5.0-py3-none-any.whl:

Publisher: release.yaml on carmonalab/pyucell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page