Cell command line predictor
Project description
cPredictor
package
This repository defines a command-line tool to predict (cPredictor) datasets according to a cell meta-atlases. At the present time only the meta-atlas for the cornea has been implemented.
Conda and pip
If you have not used Bioconda before, first set up the necessary channels (in this order!). You only have to do this once.
$ conda config --add channels defaults
$ conda config --add channels bioconda
$ conda config --add channels conda-forge
Install cPredictor into a conda environment and install with PyPI:
$ conda create -n cPredictor python=3.9 pip
$ conda activate cPredictor
$ pip install cPredictor
To see what each of the current functions do you can run these commands:
$ SVM_performance --help
$ SVM_predict --help
$ SVM_import --help
$ SVM_pseudobulk --help
Docker
Alternatively you can run the package containerized through docker:
$ docker pull artsofcoding/cpredictor:latest
$ docker tag artsofcoding/cpredictor:latest cpredictor
$ docker run -it --name cpredictor -p 8080:80 -v {path_to_H5AD_object}:/data cpredictor
In the activated docker container you can then go to the terminal:
# cd /data
# SVM_predict --query_H5AD {H5AD_object}.h5ad --OutputDir {your_output_dir} --meta_atlas
Performance with the corneal meta-atlas
The docker container is able to predict the identity of ~90.000 cells x ~25.000 genes within two hours.
To run the container locally you will need a computer with at least 28 GB of RAM and a 4-core processor.
The documentation will be extended and improved upon in later versions.
How to cite
When using this software package, please correctly cite the accompanied DOI under "Citation": https://zenodo.org/doi/10.5281/zenodo.10621121
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 Distributions
Built Distribution
File details
Details for the file cPredictor-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: cPredictor-0.4.5-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb33397b79d072759700e10a938214310867b78646cb61504a2674769a9e43ad |
|
MD5 | 13eb96a1ee9a0e50d8d0bfee17e9e37c |
|
BLAKE2b-256 | b5de19dac45ad19454800f1d9e7ac7e24ce530e3b09ea06171072bf8e46b3582 |