UDON: Unsupervised Discovery of Novel Disease Programs
UDON is a Python package for unsupervised discovery of disease subtypes from patient scRNA-seq data.
It leverages control-normalized pseudobulk expression and sparse NMF to identify stable cell-state perturbations.
UDON includes:
- SATAY-UDON for metadata enrichment
- SASHIMI-UDON for cohorts with limited controls (coming soon!)
🚀 Installation
Create a virtual environment and install UDON from PyPI:
conda create -n udon_env python=3.10
conda activate udon_env
pip install py-udon
📂 Input Requirements
UDON currently supports h5ad format and human scRNA-seq data.
-
If your data is in Seurat, convert it to
.h5ad(AnnData) format using one of: -
Alternatively, generate an AnnData object directly using Scanpy.
-
For non-human datasets, please reach out by opening a GitHub issue. I’ll help set up the appropriate database for your species.
🛠 Usage and Documentation
-
Download the database files
- Download the database files attached as zip file here.
- Please unzip the database folder and note the path to the folder and its contents. UDON requires access to this folder when running.
-
Run the example dataset
- Download the example dataset: SJIA cohort (GSE207633)
- Tutorial can be found at
run_example_dataset.py
-
Ensure input normalization
UDON expects normalized expression values inadata.X.- In a Seurat object:
NormalizeData(object)
- In an Scanpy h5ad:
sc.pp.normalize_total(adata, target_sum=1e4) sc.pp.log1p(adata)
- In a Seurat object:
-
Prepare donor metadata
- UDON requires a donor-level metadata file.
- Example:
donor_metadata.xlsx - Make sure your metadata follows this structure.
Metadata
Release files for pyudon 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyudon-0.0.4.tar.gz | 21.8 kB | Without provenance | Details for pyudon-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyudon-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for pyudon-0.0.4-py3-none-any.whl |
Total release size: 45.8 kB
Release files / pyudon-0.0.4.tar.gz
| Download URL | pyudon-0.0.4.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46fa479a3cbda370cfbfd16cdb420625ab7cbc123727d312b4e3535cb2d1cf66
|
|
BLAKE2b-256 checksum How to use checksums |
3ff599bd88df88d46085fe8d1227a319dfecf37894d1349660a77faba90a101a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.0
|
Release files / pyudon-0.0.4-py3-none-any.whl
| Download URL | pyudon-0.0.4-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c28691481a9d6c24cbef24600dc44c67127142e377e06d6669bcefba9da5f9f4
|
|
BLAKE2b-256 checksum How to use checksums |
cb8c9f0c0e28cf17cfbf66c55a3ad7511374a317c1b2f72138aa9112c8f7317f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.0
|
Security for pyudon 0.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.