Skip to main content

cPredictor package

PyPI version CI/CD Maintainability Test Coverage Ruff DOI

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

Docker

Alternatively you can run the package containerized through docker:

$ docker pull artsofcoding/cpredictor:latest
$ docker tag artsofcoding/cpredictor:latest cpredictor

For more extensive documentation please navigate to the read-the-docs page on the top right.

Performance with the corneal cell state meta-atlas

Pretrained models can run on ~100.000 cells within 2 minutes on a standard laptop (4 core CPU & 8GB RAM) Check out DagsHub for model testing (internal cross-validation) and calibration DagsHub

To run the container locally we recommend a computer with at least 16 GB of RAM and a 4-core processor.

How to cite

When using this software package, please correctly cite the accompanied DOI under "Citation": https://zenodo.org/doi/10.5281/zenodo.10621121

Metadata

Release files for cPredictor 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for cPredictor 0.5.0
File Interpreter ABI Platform
cpredictor-0.5.0-py3-none-any.whl Python 3 none any Details

Release files / cpredictor-0.5.0-py3-none-any.whl

Download URL cpredictor-0.5.0-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15a9e9af34e2048728ec51d6fde3a9c64adffa06e7b284f19f1e97ac2cd6e4b0
BLAKE2b-256 checksum
How to use checksums
92d08b2efd6f4a078c882d1716200686f763f0c553f7979a2642da53f69f068e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.6

1 release file

0.4.5

1 release file

0.4.0

1 release file

0.3.5

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page