Skip to main content

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

Cytokine enrichment         CIP enrichment         Cell-cell communication

Demo

Please refer to this tutorial for a quick start example and outputs.

The core analysis is happening here:

import scanpy as sc
import hucira as hc

# 1. Load your data.
adata = sc.read_h5ad("path/to/your_transcriptome.h5ad")
# Tries to load dictionary from "save_dir" or starts fresh download to specified "save_dir".
# If "save_dir" is not defined, it points to your current working directory.
human_cytokine_dictionary = hc.load_human_cytokine_dict(save_dir="path/to/your_directory/", force_download=False)

# 2. Run cytokine enrichment analysis for B cells between healthy and diseased patients
enrichment_results = hc.run_one_enrichment_test(
    adata = adata,
    df = human_cytokine_dictionary,
    contrast_combo = ("healthy", "disease"),
    celltype_combo = ("B cell", "B_cell"),
    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. To use the plotting functions (plot_significant_results, plot_communication), install with the plot extra:
pip install 'hucira[plot]'
  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.

Development setup

To set up a development environment, clone the repository and install with the dev extra:

git clone https://github.com/theislab/huCIRA.git
cd huCIRA
pip install -e '.[dev,plot]'
pre-commit install

The pre-commit install step registers git hooks that automatically run linting and formatting checks (via ruff) before each commit.

Release notes

See the changelog.

Contact

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

Abstract

Cytokines orchestrate immune responses, yet we still lack a comprehensive understanding of their specific effects across human immune cells due to their pleiotropy, context dependence and extensive functional redundancy. Here, we present a Human Cytokine Dictionary, created from high-resolution single-cell transcriptomes of 9,697,974 human peripheral blood mononuclear cells (PBMC) from 12 donors stimulated in vitro with 90 different cytokines. We describe donor-specific response variation and uncover robust consensus cytokine signatures across individuals. We then delineate similarities between cytokine response profiles, and derive cytokine-induced immune programs that organize responsive genes into data-driven, biologically interpretable functional modules. By integrating cell type-specific responses with expression of cytokines, we infer higher-order cell-to-cell and cytokine-to-cytokine communication networks exemplified by an IL-32-β-initiated signaling cascade, which rewires myeloid programs by inducing neutrophil-recruiting factors while suppressing Th1-responses and promoting IL-10-family cytokines. Finally, we show how the Human Cytokine Dictionary enables the interpretation of cytokine-driven immune responses in other studies and disease contexts, including systemic lupus erythematosus, multiple sclerosis, and non-small cell lung carcinoma. Together, the Human Cytokine Dictionary constitutes the first comprehensive cell type-resolved transcriptional screen of human cytokine responses and provides an essential open-access, easy-to-use community resource with accompanying software package to advance our understanding of cytokine biology in human disease and guide therapeutic discovery.

Please refer to the associated publication A single-cell cytokine dictionary of human peripheral blood for more information.

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}
}

Metadata

Release files for hucira 0.1.3

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

Source distribution (sdist)

Source distribution for hucira 0.1.3
File Size Uploaded
hucira-0.1.3.tar.gz 2.5 MB Details

Built distribution (wheel)

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

Total release size: 3.7 MB

Release files / hucira-0.1.3.tar.gz

Download URL hucira-0.1.3.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d2ede62de4660485967711d76c2ed8af07bbe8ee0d3a0aeaca5eefd8068b6edd
BLAKE2b-256 checksum
How to use checksums
28b55d8356575bf20b131d8d94f13185378b29a1a8ce9e38965ac80e754381aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 1, 2026.

Transparency log

Release files / hucira-0.1.3-py3-none-any.whl

Download URL hucira-0.1.3-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f62363eed18ba7cbfa87d40648caa1f5e1ecb5421ec4dec6e32eb74de9517035
BLAKE2b-256 checksum
How to use checksums
179b2d6bc8c24d68114c2c8d3b8ab4e236dd4213fc2a09200099fa30dde56b77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

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