Spatial phenotype analysis of crisp screens (SpaCr)
Project description
SpaCr
Spatial phenotype analysis of CRISPR-Cas9 screens (SpaCr). The spatial organization of organelles and proteins within cells constitutes a key level of functional regulation. In the context of infectious disease, the spatial relationships between host cell structures and intracellular pathogens are critical to understanding host clearance mechanisms and how pathogens evade them. SpaCr is a Python-based software package for generating single-cell image data for deep-learning sub-cellular/cellular phenotypic classification from pooled genetic CRISPR-Cas9 screens. SpaCr provides a flexible toolset to extract single-cell images and measurements from high-content cell painting experiments, train deep-learning models to classify cellular/subcellular phenotypes, simulate, and analyze pooled CRISPR-Cas9 imaging screens.
Features
Generate Masks: Generate cellpose masks of cell, nuclei, and pathogen objects.
Object Measurements: Measurements for each object including scikit-image-regionprops, intensity percentiles, shannon-entropy, pearsons and manders correlations, homogeneity, and radial distribution. Measurements are saved to a SQL database in object-level tables.
Crop Images: Save objects (cells, nuclei, pathogen, cytoplasm) as images. Object image paths are saved in a SQL database.
Train CNNs or Transformers: Train Torch models to classify single object images.
Manual Annotation: Supports manual annotation of single-cell images and segmentation to refine training datasets for training CNNs/Transformers or cellpose, respectively.
Finetune Cellpose Models: Adjust pre-existing Cellpose models to your specific dataset for improved performance.
Timelapse Data Support: Track objects in timelapse image data.
Simulations: Simulate spatial phenotype screens.
Sequencing: Map FASTQ reads to barcode and gRNA barcode metadata.
Misc: Analyze Ca oscillation, recruitment, infection rate, plaque size/count.
Installation
If using Windows, switch to Linux—it’s free, open-source, and better.
Before installing SpaCr on OSX ensure OpenMP is installed:
brew install libomp brew install hdf5
SpaCr GUI requires Tkinter. On Linux, ensure Tkinter is installed. (Tkinter is included with the standard Python installation on macOS and Windows):
sudo apt-get install python3-tk
Install SpaCr with pip:
pip install spacr
Run SpaCr GUI:
spacr
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 Distribution
Built Distribution
File details
Details for the file spacr-0.3.2.tar.gz
.
File metadata
- Download URL: spacr-0.3.2.tar.gz
- Upload date:
- Size: 59.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bdc7eec2490e7fdb8cc739504fa33e716f569b14855e88b0b1bdcf91d69bbdc |
|
MD5 | aa3c93e8a8edc98c6332ea9d49cb734e |
|
BLAKE2b-256 | 813594998291ecb901b8afd945471bc1232b60e947785952b0ed6403c41126bb |
File details
Details for the file spacr-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: spacr-0.3.2-py3-none-any.whl
- Upload date:
- Size: 56.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1595edad7b2a7f823d9459c87c57626fd82f218dedb29764da3eb70ceec06d26 |
|
MD5 | 66b9feabdc608611978484f958666341 |
|
BLAKE2b-256 | dd13d60907068d44d0d27e958ca0246b9e384eb8f4d641d203e88b7903797c39 |