Skip to main content

CSI-Cancer analysis pipeline templates.

Project description

csi_analysis: Analytical modules and pipelines for CSI-Cancer

PyPI version

This package contains classes and functions for running modular analysis pipelines on data types commonly used by CSI-Cancer. Currently, this only includes whole-slide images (immunoflourescent scans). In particular, this package is meant to provide abstract base classes that can be fit into an then run in a standard pipeline. This will enable more interchangeability and easier development of new modules, such as for image segmentation or feature extraction.

While much of the functionality is specific to the CSI-Cancer organization, some of the functionality and structure may be beneficial for the broader community. Other packages in the CSI-Cancer organization may depend on this package.

Structure

Currently, this package contains the main module: csi_scan_pipeline.py. This module contains the abstract base classes for the pipeline, as well as the ScanPipeline class, which is the main class for running the pipeline. This class contains the run() method, which handles parallelization, logging, and passing data between the module components. 4

Documentation

For more detailed documentation, open up docs/index.html in your browser.

To regenerate the documentation, ensure that you have installed the package and then run:

make_docs

Installation

If you haven't yet, make sure to set up an SSH key for GitHub.

  1. Activate your conda (conda activate yourenv) or venv (source path/to/your/venv/bin/activate) environment first.
  2. Clone csi_images and install:
cd ~/path/to/your/repositories
git clone git@github.com:CSI-Cancer/csi_analysis.git
pip install ./csi_analysis

Alternatively, you can "editable" install the package, which will allow you to make changes to the package and have them reflected in your environment without reinstalling:

pip install -e ./csi_analysis

This will add symbolic links to your site-packages directory instead of copying the package files over.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csi_analysis-0.5.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csi_analysis-0.5.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

Details for the file csi_analysis-0.5.0.tar.gz.

File metadata

  • Download URL: csi_analysis-0.5.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for csi_analysis-0.5.0.tar.gz
Algorithm Hash digest
SHA256 73ddfb3ad691c7133a2ae47cae15cbb4dd053863c0d8e2cfbbfbd1db338c91a4
MD5 ca44d0305fc926a11b606a7f52c88db0
BLAKE2b-256 544cba51967a8daed6d71077fc797566023e1afbc24a1acc956d73705697f522

See more details on using hashes here.

File details

Details for the file csi_analysis-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: csi_analysis-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for csi_analysis-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ecdd36d5b22c1ce70e2d55ce62ddd8fe864754bd35e013a925d30145d77f24
MD5 72d06911972ff38c7cb65504bf30fcda
BLAKE2b-256 908768b4d13de0f5cc7d55956d031dd53a795724c9ecaf27ba2a3914654b01c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page