Additional dependency
Please install pyDeepInsight at the same time. This additional dependency has not been published to PyPI and will not be installed automatically.
python3 -m pip -q install git+https://github.com/alok-ai-lab/pyDeepInsight.git#egg=pyDeepInsight
Introduction of scDeepInsight
scDeepInsight provides pre-trained cell type annotation model for scRNA-seq data. For further illustrations and vignettes, please refer to: scDeepInsight. A sample of how to use this package is also available in tutorial. Users can directly use this tool to annotate PBMC datasets without performing training by themselves. 31 cell types (celltype.l2) including the Doublet can be recognized through this pre-trained model. In future, we will provide more pretrained models for other types of tissues.
Defined functions
- ImageTransform(query_path:str, barcode_path:str, image_path:str)
query_path: The absolute path of the target scRNA-seq dataset (end with .h5ad).
barcode_path: The absolute path where you wish to store the generated barcode file (end with .csv).
image_path: The absolute path where you wish to store the generated image file (end with .npy).
- Annotate (barcode_path:str, image_path:str, batch_size:int = 128)
barcode_path: The absolute path where you have stored the generated barcode file (end with .csv).
image_path: The absolute path where you have stored the generated image file (end with .npy).
batch_size: The batch size you wish to load to the converted image dataset when using the pretrained model for annotation. Default value is 128.
Precautions for GPU users
This package has built-in pretrained model trained by Efficientnet-b3 for annotation. scDeepInsight allows loading the model to GPU or GPU. Specifically, when loading the pretrained model to GPU, please make sure the correct version of PyTorch that matches the CUDA version has been installed previously: PyTorch versions.
scdeepinsight (version 0.3.2): The default PyTorch version assigned in the dependencies of scdeepinsight is: 1.12.0, and the torchvision is 0.13.0, which is compatible with CUDA 10.2, 11.3, 11.6.
scdeepinsight (version 1.3.2): The default PyTorch version assigned in the dependencies of scdeepinsight is: 1.13.0, and the torchvision is 0.14.0, which is compatible with CUDA 11.6, 11.7.
scdeepinsight (version 2.3.2): The default PyTorch version assigned in the dependencies of scdeepinsight is: 2.0.0, and the torchvision is 0.15.0, which is compatible with CUDA 11.7, 11.8.
Metadata
Release files for scdeepinsight 2.3.2
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 |
|---|---|---|---|---|
| scdeepinsight-2.3.2.tar.gz | 41.3 MB | Without provenance | Details for scdeepinsight-2.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scdeepinsight-2.3.2-py3-none-any.whl | Python 3 | none | any | Details for scdeepinsight-2.3.2-py3-none-any.whl |
Total release size: 82.7 MB
Release files / scdeepinsight-2.3.2.tar.gz
| Download URL | scdeepinsight-2.3.2.tar.gz |
|---|---|
| Size | 41.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bea922b5f0a7ce8126f2a88292a4db555a62998489ab2b1435ef9110347fe32
|
|
BLAKE2b-256 checksum How to use checksums |
092698c9cd9e4ed4c7533150c91189994fb2a08ee79152f3adc46903a72f3caa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.15 Linux/5.4.0-132-generic
|
Release files / scdeepinsight-2.3.2-py3-none-any.whl
| Download URL | scdeepinsight-2.3.2-py3-none-any.whl |
|---|---|
| Size | 41.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b5784464e84706391563c44fb7a65043306b74e9a0a42dd6fc890ee8c182539
|
|
BLAKE2b-256 checksum How to use checksums |
80f4934611e9e88caba410f69929ef5f2f25885f374adf3eb6d0d8d774b11e0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.15 Linux/5.4.0-132-generic
|
Security for scdeepinsight 2.3.2
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.