scresid
Single-cell perturbation prediction with residual connections across cell types.
Experiments were executed on NVIDIA A40 of 46068MiB memory in linux with torch==2.1.0+cu121.
Overview
The scresid is a single-cell gene expression perturbation response prediction model based on Efficient-VDVAE. Its core logic is to use a residual connection module composed of LayerNorm, which is then applied to a variational autoencoder (VAE) to learn the residual loss of low dimensional hidden layers. The high-dimensional sparse gene expression data is mapped to a low dimensional latent space, and the optimal transport technique based on the Sinkhorn algorithm is used to match the cells before and after perturbation, thereby obtaining paired latent representations and corresponding perturbation vectors. Subsequently, the model calculates the similarity between the predicted cells and each cell in the training set through attention mechanism, and weights and fuses their perturbation vectors. Finally, the VAE decoder generates the perturbed gene expression prediction results. This method not only fully considers the heterogeneity at the single-cell level, but also achieves accurate distribution level prediction in scenarios across cell types, significantly better than existing methods.
install scresid
pip install torch==2.1.0 --index-url https://download.pytorch.org/whl/cu121
pip install scresid
# pip install numpy==1.26.4
Metadata
Release files for scresid 1.0.0
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 |
|---|---|---|---|---|
| scresid-1.0.0.tar.gz | 8.4 kB | Without provenance | Details for scresid-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scresid-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for scresid-1.0.0-py3-none-any.whl |
Total release size: 16.5 kB
Release files / scresid-1.0.0.tar.gz
| Download URL | scresid-1.0.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
699aa3bb33015fecb8f7b56baebc6add1a81c898703dc4a4d8186ba936b88b36
|
|
BLAKE2b-256 checksum How to use checksums |
efa696371560a962de56629ae34c7b43ce53409c3166719b7005422676a58585
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.4
|
Release files / scresid-1.0.0-py3-none-any.whl
| Download URL | scresid-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c884ec4d0527829465f30e2619ad3ac13722d75477fd692d4bfeb6e7aadbb3ac
|
|
BLAKE2b-256 checksum How to use checksums |
112151033f6aeadf65999aff77751b71b5e6c6a1006fc2d27776ca8c901c3981
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.4
|
Security for scresid 1.0.0
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.