Variational autoencoder for multimodal mosaic integration and transfer learning
This repository contains implementations of scVAEIT for integration and imputation of multi-modal datasets. scVAEIT (Variational autoencoder for multimodal single-cell mosaic integration and transfer learning) was originally proposed by [Du22] for single-cell genomics data. scVAEIT is a deep generative model based on a variational autoencoder (VAE) with masking strategies, which can integrate and impute multi-modal single-cell data, such as single-cell DOGMA-seq, CITE-seq, and ASAP-seq data. scVAEIT has also been extended to impute single-cell proteomic data in [Moon24], though it is also applicable to other types of data. scVAEIT is implemented in Python, and an R wrapper is also available.
For R users, reticulate can be used to call scVAEIT from R.
The documentation and tutorials using both Python and R are available at scvaeit.readthedocs.io.
Check out the example folder for illustrations of how to use scVAEIT:
| Example | Language | Notebooks |
|---|---|---|
| Imputation of ADT | imputation_1modality.ipynb |
|
| Imputation of RNA and ADT | imputation_2modalities.ipynb |
|
| Integration of RNA, ADT, and peaks | integration_3modalities.ipynb |
|
| Imputation of RNA | imputation_scRNAseq.ipynb |
|
| Imputation of peptides | imputation_peptide.ipynb |
For preparing your own data to run scVAEIT, please read about:
| Example | Language | Notebooks |
|---|---|---|
| Prepare input data | prepare_data_input.ipynb |
Reproducibility Materials
The code for reproducing results in the paper [Du22] can be found in the folder Reproducibility materials.
The large preprocessed dataset that contains DOGMA-seq, CITE-seq, and ASAP-seq data from GSE156478 can be accessed through Google Drive.
Dependencies
The package can be installed via PyPI:
pip install scVAEIT
Alternatively, the dependencies can be installed via the following commands:
mamba create --name tf python=3.9 -y
conda activate tf
mamba install -c conda-forge "tensorflow>=2.12, <2.16" "tensorflow-probability>=0.12, <0.24" pandas jupyter -y
mamba install -c conda-forge "scanpy>=1.9.2" matplotlib scikit-learn -y
If you are using conda, simply replace mamba above with conda.
The code is only tested on Linux and MacOS. If you are using Windows, installing the dependencies pip instead of conda is more convenient.
References
- [Du22] Du, J. H., Cai, Z., & Roeder, K. (2022). Robust probabilistic modeling for single-cell multimodal mosaic integration and imputation via scVAEIT. Proceedings of the National Academy of Sciences, 119(49), e2214414119.
- [Moon24] Moon, H., Du, J. H., Lei, J., & Roeder, K. (2024). Augmented Doubly Robust Post-Imputation Inference for Proteomic data. bioRxiv, 2024-03.
Metadata
Release files for scVAEIT 1.1.1
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 | |
|---|---|---|---|---|
| scvaeit-1.1.1.tar.gz | 20.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scvaeit-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.5 kB
Release files / scvaeit-1.1.1.tar.gz
| Download URL | scvaeit-1.1.1.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bcd119030f17820336127dc5c20267ca332731d1d24a7c969a1b558a7df6c06
|
|
BLAKE2b-256 checksum How to use checksums |
e5aebe73b474c7abb28e78fdb88564ce4e19d29255191443efa136c68dbb0691
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jun 9, 2025.
Transparency logRelease files / scvaeit-1.1.1-py3-none-any.whl
| Download URL | scvaeit-1.1.1-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91640470fc125ce5bd858201fca0c62902740b53d1f3e211a98ef26a66e2ec4d
|
|
BLAKE2b-256 checksum How to use checksums |
64706dd6f18b0b91323dad376452013a4489d9ee79987ee7a6c54c0b846dcd68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jun 9, 2025.
Transparency logSecurity for scVAEIT 1.1.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for scvaeit-1.1.1.tar.gz
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 Jun 9, 2025.
Transparency logA 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.