AmbiDose
AmbiDose removes ambient RNA from droplet scRNA-seq. Empty droplets
estimate the soup profile χ. Each cell receives an operational dose
d_c = ρ_c · n_c. Type-aware subtraction writes non-negative integer
counts. The method does not correct batch effects or assign cell types.
Docs: Read the Docs.
Install
pip install ambidose
# or: conda install -c conda-forge -c bioconda ambidose
Python 3.10–3.13. A GPU is not required. Details: installation.
First run
import scanpy as sc
import ambidose as amdose
adata = sc.read_10x_mtx("filtered_feature_bc_matrix/")
adata = amdose.denoise(adata, raw="raw_feature_bc_matrix.h5", sample_key=None)
# adata.X is denoised integer UMI; original counts in layers["raw_counts"]
ambidose denoise --input /path/to/outs --output cleaned.h5ad
Treat rho as an operational dose. Check obs["ambidose_rho_trust"] and
the QC report before using it as a contamination rate.
Status
0.5.13 (Alpha). Import as import ambidose as amdose. The entry point is
denoise(). See the
API reference.
Next steps
Citation
If you use AmbiDose in published work, please cite the preprint:
Zhao Li, Aaron W. James, Shengxuan Li.
AmbiDose: per-cell removal budgets for ambient RNA contamination.
bioRxiv (2026). https://doi.org/10.64898/2026.09.27.754849
@article{li2026ambidose,
title = {AmbiDose: per-cell removal budgets for ambient RNA contamination},
author = {Li, Zhao and James, Aaron W. and Li, Shengxuan},
journal = {bioRxiv},
year = {2026},
doi = {10.64898/2026.09.27.754849},
url = {https://www.biorxiv.org/content/10.64898/2026.09.27.754849v1},
}
For the software record, cite the Zenodo DOI.
Pin the package version used in the analysis, for example ambidose==0.5.13.
See CITATION.cff and the citation page.
License
Software: Apache License 2.0.
Author
Zhao Li (李钊) Email: leelieber@gmail.com
Metadata
Release files for ambidose 0.5.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ambidose-0.5.13.tar.gz | 499.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ambidose-0.5.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 624.9 kB
Release files / ambidose-0.5.13.tar.gz
| Download URL | ambidose-0.5.13.tar.gz |
|---|---|
| Size | 499.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be300fd1aee851d98e2657b6f31ba2d2ed032198e20f45b0e611dc8df91c0465
|
|
BLAKE2b-256 checksum How to use checksums |
8e04b0ce61ff52d89053c658ae5372d650e0b690828dd44db8cb019c9e628e55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 13, 2026.
Transparency logRelease files / ambidose-0.5.13-py3-none-any.whl
| Download URL | ambidose-0.5.13-py3-none-any.whl |
|---|---|
| Size | 125.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bdbf71c6648bdd085db8ed1b7e9c334e98ac6a4497f55172239c25a83191710
|
|
BLAKE2b-256 checksum How to use checksums |
2698cb62c3ff23163ff177f69e96591279fa78622654d45574679f57d3dd4cb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 13, 2026.
Transparency log