Skip to main content

Human Cytokine Dictionary

Project description

huCIRA

Tests Documentation

huCIRA (human Cytokine Immune Response Analysis) provides an easy-to-use interface to analyze cytokine signaling and cytokine-induced immune program enrichment in transcriptomic datasets.

To get started, simply supply a transcriptomic dataset annotated with immune cell types and the experimental conditions of interest. Using our dictionary as a reference, huCIRA allows you to infer differential cytokine activity and immune program activation across conditions and to map cytokine-mediated interactions between immune cells. Under the hood, huCIRA is based on gseapy to run enrichment analyses.

huCIRA

Demo

Please refer to this tutorial for an example of a full pipeline and outputs.

The core analysis is happening here:

import scanpy as sc
import hucira as hc

# 1. Load your data
adata = sc.read_h5ad("your_transcriptome.h5ad")
human_cytokine_dictionary = hc.load_human_cytokine_dict()

# 2. Run cytokine enrichment analysis for B cells between healthy and diseased patients
enrichment_results = hc.run_one_enrichment_test(
    adata = adata,
    df_hcd_all = human_cytokine_dictionary,
    contrasts_combo = ("healthy", "disease"),
    celltype_combo = ("B cell", "B"),
    contrast_column = "condition",
    celltype_column = "cell_type",
    direction = "upregulated",
    threshold_expression = 0.0
)

# 3. Investigate enrichment scores of cytokines in your data
enrichment_results

Installation

You need to have 3.11 <= Python < 3.14 installed on your system. If you don't have Python installed, we recommend installing uv.

There are several alternative options to install hucira:

  1. Install the latest release of hucira from PyPI:
pip install hucira
  1. Install the latest development version:
pip install git+https://github.com/theislab/huCIRA.git@main

Installation is expected to complete within a few minutes.

Release notes

See the changelog.

Contact

If you found a bug, please use the issue tracker.

Citation

@article {Oesinghaus2025.12.12.693897,
	author = {Oesinghaus, Lukas and Becker, S{\"o}ren and Vornholz, Larsen and Papalexi, Efthymia and Pangallo, Joey and Moinfar, Amir Ali and Liu, Jenni and Fleur, Alyssa La and Shulman, Maiia and Marrujo, Simone and Hariadi, Bryan and Curca, Crina and Suyama, Alexa and Nigos, Maria and Sanderson, Oliver and Nguyen, Hoai and Tran, Vuong K and Sapre, Ajay A. and Kaplan, Olivia and Schroeder, Sarah and Salvino, Alec and Gallareta-Olivares, Guillermo and Koehler, Ryan and Geiss, Gary and Rosenberg, Alexander B. and Roco, Charles M. and Seelig, Georg and Theis, Fabian},
	title = {A single-cell cytokine dictionary of human peripheral blood},
	elocation-id = {2025.12.12.693897},
	year = {2025},
	doi = {10.64898/2025.12.12.693897},
	publisher = {Cold Spring Harbor Laboratory},
	URL = {https://www.biorxiv.org/content/early/2025/12/15/2025.12.12.693897},
	journal = {bioRxiv}
}

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

hucira-0.1.1.tar.gz (265.0 kB view details)

Uploaded Source

Built Distribution

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

hucira-0.1.1-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

Details for the file hucira-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for hucira-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1bb7d3cd4007a923bbbae86e2f59cbbd4c85495f62fa72acbd01fc80ee3b3056
MD5 0a3962c5322fa8aa7d5b33c114ac2439
BLAKE2b-256 caf9847e5ff3265fb1f718c0a9191488e6335dfaaadfe83d4a7c8b8b0514a14c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hucira-0.1.1.tar.gz:

Publisher: release.yaml on theislab/huCIRA

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

File details

Details for the file hucira-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for hucira-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 960f1c0ea8ca107585f9b3b728492b1d5bd0521ec719abd2bdf74561d6e0c8db
MD5 25ee7b9c218af9395d46b85b455b682c
BLAKE2b-256 8d174437ba5f78d4df8779f43c910d6175c14c0f6f651e75088b0605731fd052

See more details on using hashes here.

Provenance

The following attestation bundles were made for hucira-0.1.1-py3-none-any.whl:

Publisher: release.yaml on theislab/huCIRA

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