sICTA: Interpretable Cell Type Annotation based on self-training
The full description of sICTA and its application on published single cell RNA-seq datasets are available.
Download archive with preprocessed data at: https://drive.google.com/drive/folders/1jbqSxacL_IDIZ4uPjq220C9Kv024m9eL.
The repository includes detailed installation instructions and requirements, scripts and demos.
1 The workflow of sICTA.
(a) Combining cell expression and marker gene specificity to generate pseudo-labels. (b) The downstream Transformer classifiers are first pre-trained based on cell type probability distributions (pseudo-labels), followed by iterative refinement of the classifiers through a self-training framework until convergence. The sICTA takes the a priori knowledge from the biological domain and uses masked learnable embeddings to transform the input data ($G$ genes) into $k$ input tokens representing each gene set (GS) and a class token (CLS).
2 Requirements
- Linux/UNIX/Windows system
- Python == 3.8.6
- torch == 1.12.1
- scanpy == 1.9.1
Topic_gene_embedding
3 Usage
Data format
sICTA requires cell-by-cell-gene matrix and cell type information to be entered in csv object format. We provide default data for users to understand and debug sICTA code.
Installation and implementation
Installation via github:
Download sICTA via github clone, you can run it directly by main.py file.
python main.py
Installation via PyPI:
After installing and importing sICTA via PyPI, a notebook tutorial can be found at tutorial.ipynb.
python -m venv sICTA-env
source sICTA-env/bin/activate
pip install sICTA
Reference
If you use sICTA in your work, please cite
Metadata
Release files for sICTA 1.0.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 |
|---|---|---|---|---|
| sicta-1.0.2.tar.gz | 5.4 MB | Without provenance | Details for sicta-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sICTA-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for sICTA-1.0.2-py3-none-any.whl |
Total release size: 5.5 MB
Release files / sicta-1.0.2.tar.gz
| Download URL | sicta-1.0.2.tar.gz |
|---|---|
| Size | 5.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b536f7ee747b1fcfe4d6a4c491e7d191bb7ea2f1b97eb5e867f591b35f36126
|
|
BLAKE2b-256 checksum How to use checksums |
3f07a97bdbe56de0b44bf753c3fb0137a60757bb97825b809f79a36da90b27d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Release files / sICTA-1.0.2-py3-none-any.whl
| Download URL | sICTA-1.0.2-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
299cbad11faf198e4ea1627f1063d5e020bd5177e0c63ba62e162a6e8e16add7
|
|
BLAKE2b-256 checksum How to use checksums |
eec599b2cb0d42662de412f6d0775ad0924a393ddfc9d58eec790d959453d2f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for sICTA 1.0.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.