A specialized image segmentation tool for nucleolus analysis, developed during my time at Weber Lab at McGill University. This repository is built on the basis of AllenCell segmenter (Classic Image Segmentation).
-
Segments the nucleolus with markers of granular component (GC).
-
Characterizes features of nucleoli: size, number, and shape.
-
Analyzes the correlation between different nucleolar proteins within the nucleolar mask.
- Python 3.9
- Anaconda (recommended)
- Visit the aics-segmentation repository
- Follow the official installation guide
-
Clone the repository:
cd C:\Projects git clone https://github.com/ashapeng/nucleolus_segmentation_public.git
Alternatively, download the ZIP file and extract it to your project folder.
-
Install required packages:
cd C:\Projects\nucleolus_segmentation_public pip install -r installer.txt
For visualization, you have two options:
- itkwidgets: Follow the AllenCell's help guide
- napari (recommended): More stable alternative. Installation instructions available at napari.org
-
3.1: Unzip test_image folder: this will be the data used for running this repository.
-
3.2. Run nucleolus_seg.ipynb: to test segmentation with one example image, then run batch mode to process folders
-
3.3. Run nucleolus_feature_descriptor.ipynb or intensity based analysis, after save nucleolar mask in 3.2