Skip to content

ergonyc/infer-subc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infer_subc

codecov CI

About The Project

infer_subc

  • aims to create a simple, extensible, and reproducible workflow to measure (or infer) the shape, position, size, and interaction of several sub-cellular components. These data can then be applied later to better understand the spatial coordination of these structures and the interactome during key biological processes.

  • is part of a larger collaboration between the CZI Neurodegeneration Challenge Network (NDCN) Data Science Concierge program and the Cohen lab at UNC (website, github) to migrate a multispectral imaging dataset of iPSCs which identifies sub-cellular components to a scalable cloud-based pipeline.

infer_subc Workflow

The staring point of this workflow is a set of multichannel images, where each channel labels a different sub-cellular component. The workflow can then be completed in a suggested series of steps, outlined in the notebooks below.

Identify a single cell of interest

  1. Infer cellmask (🚨 Steps 2-9 depend on establishing a good solution here)
  2. Infer nuclei
  3. Infer cytoplasm

Segment each of the organelles

  1. Infer lysosomes
  2. Infer mitochondria
  3. Infer golgi complex
  4. Infer peroxisomes
  5. Infer endoplasmic reticulum
  6. Infer lipid bodies

Built With

A quick note on tools and resources used.

  • napari-allencell-segmenter -- We are leveraging the framework of the napari-allencell-segmenter plugin, which enables powerful 3D image segmentation while taking advantage of the napari graphical user interface.
  • aicssegmentation -- We call the aicssegmentation package directly.
  • napari -- Used as the visualization framework, a fast, interactive, multi-domensional image viewer for Python.
  • scipy -- Image analysis
  • scikit-image -- Image analysis
  • itk -- Image analysis
  • numpy -- Under the hood computation
  • Alzheimer's Disease AD Workbench -- We initially wanted to use the ADDI's ADWB as a method of data sharing and to serve as a computational resource.

Getting Started

Prerequisites

Installation

infer_subc is available on PyPI via:

pip install infer_subc

If there are issues more details can be fouund in the documentation

Usage - quick start

Its recommended that you use this repo along with the organelle-segmenter-plugin as in Option A below. Alternatively using the module functions directly as in Option B would work just fine.

Option A: Napari organelle-segmenter-plugin

  1. Open a file in napari by dragging multi-channel .czi file onto napari which will import a multi-channel, multi-Z 'layer'. (Using the menu's defaults to aicsIMAGEIO reader which automatically splits mutliple channels into individual layers. The plugin is able to support multi-dimensional data in .tiff, .tif. ome.tif, .ome.tiff, .czi)
  2. Start the plugin (open napari, go to "Plugins" --> "organelle-segmenter-plugin" --> "workflow editor")
  3. Select the image and channel to work on
  4. Select a workflow based on the example image and target segmentation based on user's data. Ideally, it is recommend to start with the example with very similar morphology as user's data.
  5. Click "Run All" to execute the whole workflow on the sample data.
  6. Adjust the parameters of steps, based on the intermediate results. A complete list of all functions can be found here🚧 WIP 🚧
  7. Click "Run All" again after adjusting the parameters and repeat step 6 and 7 until the result is satisfactory.
  8. Save the workflow
  9. Close the plugin and open the batch processing part by (go to "Plugins" --> "organelle-segmenter-plugin" --> "batch processing")
  10. Load the customized workflow saved above
  11. Load the folder with all the images to process
  12. Click "Run"
  13. Follow the examples in the infer_subc repo for postprocessing of the saved segmentations and generating the statistics.

Option B: python script or notebook

A variety of example notebooks demonstrating how to use the are available in the repo. Additional information can be found at https://ndcn.github.io/infer-subc/nbs/overview/.

Development

Read the CONTRIBUTING.md file.

License

Distributed under the terms of the [BSD-3] license, "organelle-segmenter-plugin" is free and open source software

Issues

If you encounter any problems, please file an issue with a detailed description.

ADWB hints

Given that the github repos are not yet whitelisted, the source directory needs to be zipped and uploaded in order to make an "editable" pip install.

uploading guide uploading files via the workspace article. Using BLOB storage

About

personal fork after transferring to ndcn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.3%
  • Python 3.6%
  • Other 0.1%