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.3.1 (Alpha). Import as import ambidose as amdose. The entry point is
denoise(). See the
API reference.
Next steps
Citation
Pin the package version used in the analysis, for example ambidose==0.3.1.
Software record: 10.5281/zenodo.22278199.
See CITATION.cff and the citation page.
@software{li2026ambidose,
title = {AmbiDose: per-cell ambient dose removal for droplet scRNA-seq},
author = {Li, Zhao},
year = {2026},
version = {0.3.1},
doi = {10.5281/zenodo.22278199},
url = {https://doi.org/10.5281/zenodo.22278199},
}
License
Software: Apache License 2.0.
Author
Zhao Li (李钊) Email: leelieber@gmail.com
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 ambidose-0.3.1.tar.gz.
File metadata
- Download URL: ambidose-0.3.1.tar.gz
- Upload date:
- Size: 462.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54149ca1e81a03d138b3192a64605429762ecc8f39e46965cd7d844904b414bb
|
|
| MD5 |
4929b7762088cfeba1e556dbb278a0f7
|
|
| BLAKE2b-256 |
cd637cd4c366c8da0cd3b246ba0a35a7769d69e7d3ff31a402589323560e36d2
|
Provenance
The following attestation bundles were made for ambidose-0.3.1.tar.gz:
Publisher:
publish.yml on leelieber2025/AmbiDose
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ambidose-0.3.1.tar.gz -
Subject digest:
54149ca1e81a03d138b3192a64605429762ecc8f39e46965cd7d844904b414bb - Sigstore transparency entry: 2701176975
- Sigstore integration time:
-
Permalink:
leelieber2025/AmbiDose@6d5586a35d3f210eb00ac0a7e34c37beaf451fae -
Branch / Tag:
refs/heads/main - Owner: https://github.com/leelieber2025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6d5586a35d3f210eb00ac0a7e34c37beaf451fae -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file ambidose-0.3.1-py3-none-any.whl.
File metadata
- Download URL: ambidose-0.3.1-py3-none-any.whl
- Upload date:
- Size: 102.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f59657e2506b00680218ad25560b9e67afce5f9aa31ddd7f87b4681626e8d379
|
|
| MD5 |
e8e2e0f70d0eebf98e4cc32b5cb0043b
|
|
| BLAKE2b-256 |
9b023535f33352e0e312cdf5701be7b8233280a7f066f3cb012564e72879da01
|
Provenance
The following attestation bundles were made for ambidose-0.3.1-py3-none-any.whl:
Publisher:
publish.yml on leelieber2025/AmbiDose
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ambidose-0.3.1-py3-none-any.whl -
Subject digest:
f59657e2506b00680218ad25560b9e67afce5f9aa31ddd7f87b4681626e8d379 - Sigstore transparency entry: 2701177007
- Sigstore integration time:
-
Permalink:
leelieber2025/AmbiDose@6d5586a35d3f210eb00ac0a7e34c37beaf451fae -
Branch / Tag:
refs/heads/main - Owner: https://github.com/leelieber2025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6d5586a35d3f210eb00ac0a7e34c37beaf451fae -
Trigger Event:
workflow_dispatch
-
Statement type: