CSI-Cancer analysis pipeline templates.
Project description
csi_analysis
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.
- Activate your
conda(conda activate yourenv) orvenv(source path/to/your/venv/bin/activate) environment first. - Clone
csi_imagesand 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
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 csi_analysis-0.2.0.tar.gz.
File metadata
- Download URL: csi_analysis-0.2.0.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a1236b6c4d0077cf9ee4db5cf6ddafae3e6e45239cbe916cd97cdeeb691d194
|
|
| MD5 |
db7aa0d1d35525fdd2dd5e980615ba02
|
|
| BLAKE2b-256 |
e79e8b9fe8e48e1804084cf2640ced6d4b42f26258efe90fe4c2a02cae9007a8
|
File details
Details for the file csi_analysis-0.2.0-py3-none-any.whl.
File metadata
- Download URL: csi_analysis-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e69c822f1b6d7703ea954adc6030642a1d7717de4f341d99b672d8f9fe5dbf
|
|
| MD5 |
c26d4994eb1e14d44f05f6287a8cb64e
|
|
| BLAKE2b-256 |
5e3d3052069c5e470d2f6659bc1d340bf8523a523535403590da49345cdeb538
|