A Python package for semi-supervised cell type identification and assignment using scRNA-seq and Cytof/FACS data.
Project description
SCINApy
A Semi-Supervised Category Identification and Assignment Tool for single-cell RNA-Seq and Cytof/FACS data.
Installation
You can install SCINApy from PyPI using pip:
pip install SCINApy
SCINApy requires Python 3.7 or higher and the following dependencies:
- numpy>=2.1.2
- pandas>=2.2.3
- scipy>=1.15.3
- anndata>=0.11.4
- seaborn>=0.13.2
- matplotlib>=3.10.0
Usage
SCINApy provides tools for cell type assignment and visualization of single-cell data. Key features include:
- SCINA: Core algorithm for semi-supervised cell type identification.
- plotheat_scina: Visualize SCINA results with a heatmap.
- Command-line interface via scinapy for easy execution.(still working in progress!!!)
Command-Line Example
Run the command-line interface with sample data:
scinapy --data data/matrix.csv --signatures data/signatures.json --output results.pkl --job_id test
Jupyter Notebook Example
An example Jupyter Notebook (example.ipynb) is included to demonstrate the usage of SCINApy.
Application
The SCINA algorithm implemented in this package is based on the methodology originally developed by Zhang et al. (2019), where the technical details are comprehensively elaborated (SCINA: A Semi-Supervised Subtyping Algorithm of Single Cells and Bulk Samples). This package, SCINApy, is also developed based on the same author's R package SCINA, adapting its functionality to the Python ecosystem for enhanced usability and integration with modern single-cell analysis tools.
Documentation
- PyPI Page: SCINApy 0.1.1
- Source Code: GitHub Repository
- Issues: Report Issues
Changelog
[0.1.2] - 2025-07-06
Fixed
- Fixed ValueError in SCINA function when anndata.X is a numpy.ndarray.
[0.1.1] - 2025-07-05
Fixed
- Fixed ValueError in SCINA function when no signature genes are found in adata.
[0.1.0] - 2025-07-04
- Initial release of SCINApy with core SCINA algorithm and visualization tools.
License
This project is licensed under the MIT License.
Contributing
Contributions are welcome! Please submit issues or pull requests on the GitHub repository.
Contact
For support or questions, please open an issue on GitHub or contact the author at hwr9912@gmail.com.
Project details
Release history Release notifications | RSS feed
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 scinapy-0.1.2.tar.gz.
File metadata
- Download URL: scinapy-0.1.2.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7326ff04a4767503ac30b5c02e04fd9ad1026bf109a2fec6ced0790220adbc34
|
|
| MD5 |
ce7916ba993b9a4ecef1c8c45a88ccae
|
|
| BLAKE2b-256 |
d971c9d3c2296734a4a94d2147e6d23d2f380949cc878f6c9500c9eeea52010d
|
File details
Details for the file scinapy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: scinapy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cec9c398fd3abb033178a91bdd07fa504ac686e31b43b27a0b5c8f5317b5e6a4
|
|
| MD5 |
3ab4cdeacca74891524432fab4f7f409
|
|
| BLAKE2b-256 |
c05fef0860d0a07a75af699a6ba0590baafa6066f20a7bbe8bd38e8165489167
|