🐊 Getting Started with CSPOT
Kindly note that CSPOT is not a plug-and-play solution. It's a framework that requires significant upfront investment of time from potential users for training and validating deep learning models, which can then be utilized in a plug-and-play manner for processing large volumes of similar multiplexed imaging data.
System Requirements:
Hardware :
CSPOT comprises two modules: training and prediction. Training can be efficiently executed on a standard laptop without the need for a GPU. However, for predictions, leveraging a GPU significantly enhances processing speed (particularly for large images).
Software :
This package is supported for Windows (10, 11), macOS (Sonoma, Ventura) and Linux (Ubuntu 16.04).
Dependencies :
The pyproject.toml file contains a comprehensive list of dependencies.
Installation Guide:
There are two ways to set it up based on how you would like to run the program
- Using an interactive environment like Jupyter Notebooks
- Using Command Line Interface
Before we set up CSPOT, we highly recommend using a environment manager like Conda. Using an environment manager like Conda allows you to create and manage isolated environments with specific package versions and dependencies.
Download and Install the right conda based on the opertating system that you are using
Create a new conda environment
# use the terminal (mac/linux) and anaconda promt (windows) to run the following command
conda create --name cspot -y python=3.9
conda activate cspot
Install cspot within the conda environment.
pip install cspot
The installation time for cspot generally falls under 5 minutes, based on internet speed and connectivity.
Interactive Mode
Using IDE or Jupyter notebooks
pip install notebook
# open the notebook and import CSPOT
import cspot as cs
# Go to the tutorial section to follow along
Command Line Interface
wget https://github.com/nirmalLab/cspot/archive/main.zip
unzip main.zip
cd cspot-main/cspot
# Go to the tutorial section to follow along
Docker Container
docker pull nirmallab/cspot:cspot
# Go to the tutorial section to follow along
Metadata
Release files for cspot 1.2.0
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 |
|---|---|---|---|---|
| cspot-1.2.0.tar.gz | 95.5 kB | Without provenance | Details for cspot-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cspot-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for cspot-1.2.0-py3-none-any.whl |
Total release size: 191.0 kB
Release files / cspot-1.2.0.tar.gz
| Download URL | cspot-1.2.0.tar.gz |
|---|---|
| Size | 95.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f384813ed733a7d2f89225145247930df1bd97166bf469baf94c37efc58dc3b5
|
|
BLAKE2b-256 checksum How to use checksums |
4c24394b186fee9a6dba7d79a68f235f96e7dd920f161b4e1f33b8b749ca958f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.3 Windows/10
|
Release files / cspot-1.2.0-py3-none-any.whl
| Download URL | cspot-1.2.0-py3-none-any.whl |
|---|---|
| Size | 95.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c98ddee66b4f178a6636415803c4a72d612d561d35d09eb39fc1a4920c5a15f1
|
|
BLAKE2b-256 checksum How to use checksums |
0bab431b67ea0289595d0ab652819c117391b0b09af620799ff4532b89a0e68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.3 Windows/10
|
Security for cspot 1.2.0
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.