Human Cytokine Dictionary
Project description
huCIRA
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.
Getting started
Please refer to this tutorial for an example of a full pipeline.
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:
- Install the latest development version:
pip install git+https://github.com/theislab/huCIRA.git@main
Release notes
See the changelog.
Contact
If you found a bug, please use the issue tracker.
Citation
t.b.a
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 hucira-0.0.1.tar.gz.
File metadata
- Download URL: hucira-0.0.1.tar.gz
- Upload date:
- Size: 318.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb5d054fcac9cd9fd19fb8c61ab4b8035c76c775380202cf0ec97b1ce6a3e9f
|
|
| MD5 |
dd3305e306b2a0e5fdc224bd43bdb6c0
|
|
| BLAKE2b-256 |
89f33a6f1379ac114b0da1826ec9a75ef8f143d6314c703d8be57ea2aa86ab40
|
Provenance
The following attestation bundles were made for hucira-0.0.1.tar.gz:
Publisher:
release.yaml on theislab/huCIRA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hucira-0.0.1.tar.gz -
Subject digest:
4eb5d054fcac9cd9fd19fb8c61ab4b8035c76c775380202cf0ec97b1ce6a3e9f - Sigstore transparency entry: 757559405
- Sigstore integration time:
-
Permalink:
theislab/huCIRA@110c60ba818e540ed142111b455212f1622789b1 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/theislab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@110c60ba818e540ed142111b455212f1622789b1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hucira-0.0.1-py3-none-any.whl.
File metadata
- Download URL: hucira-0.0.1-py3-none-any.whl
- Upload date:
- Size: 59.8 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 |
a297db4ceda26f75e5bdf3ae81535b6bd078dcab747e33266799e333067a9352
|
|
| MD5 |
65022035b0c4f5f7fa64993b04432a39
|
|
| BLAKE2b-256 |
3a358e62c50e9683aa2735af1ee254649da0c64013c8e4fc076cd9a8fd6fade5
|
Provenance
The following attestation bundles were made for hucira-0.0.1-py3-none-any.whl:
Publisher:
release.yaml on theislab/huCIRA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hucira-0.0.1-py3-none-any.whl -
Subject digest:
a297db4ceda26f75e5bdf3ae81535b6bd078dcab747e33266799e333067a9352 - Sigstore transparency entry: 757559411
- Sigstore integration time:
-
Permalink:
theislab/huCIRA@110c60ba818e540ed142111b455212f1622789b1 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/theislab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@110c60ba818e540ed142111b455212f1622789b1 -
Trigger Event:
release
-
Statement type: