Skip to main content

Spatial phenotype analysis of crisp screens (SpaCr)

Project description

Documentation Status PyPI version Python version Licence: GPL v3 repo size

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

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

This version

0.2.3

Download files

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

Source Distribution

spacr-0.2.3.tar.gz (52.3 MB view details)

Uploaded Source

Built Distribution

spacr-0.2.3-py3-none-any.whl (52.3 MB view details)

Uploaded Python 3

File details

Details for the file spacr-0.2.3.tar.gz.

File metadata

  • Download URL: spacr-0.2.3.tar.gz
  • Upload date:
  • Size: 52.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.18

File hashes

Hashes for spacr-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a0c66886bfd2fd2b00189b82f82a76d843aefda7ebcdbd61eb3a81bd5b3e3a19
MD5 983bd49aecca16cbff197e239b4fc45f
BLAKE2b-256 31dace81ac733fab79ce2aec7ef4080020b9c27cdbac4bf4601f6310f669f4ec

See more details on using hashes here.

File details

Details for the file spacr-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: spacr-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 52.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.18

File hashes

Hashes for spacr-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad40ad9945a7c2b7a0f26f2ec64e65fdfd6dd45c523399a1a646f7020dec5758
MD5 78e40a0a34ea8ec3320349c364395c0b
BLAKE2b-256 4d17bbe4b153308c7b902b1e33b1038d3b501320dc6f5b1a3e8adf1bdfd16d7d

See more details on using hashes here.

Supported by

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