+ - 0:00:00
Notes for current slide

Presenter notes contain extra information which might be useful if you intend to use these slides for teaching.

Press P again to switch presenter notes off

Press C to create a new window where the same presentation will be displayed. This window is linked to the main window. Changing slides on one will cause the slide to change on the other.

Useful when presenting.

Notes for next slide



Nucleoli Segmentation
&
Feature Extraction
using CellProfiler



last_modification Updated:   purlPURL: gxy.io/GTN:S00071

text-document Plain-text slides |

Tip: press P to view the presenter notes | arrow-keys Use arrow keys to move between slides
1 / 14

Presenter notes contain extra information which might be useful if you intend to use these slides for teaching.

Press P again to switch presenter notes off

Press C to create a new window where the same presentation will be displayed. This window is linked to the main window. Changing slides on one will cause the slide to change on the other.

Useful when presenting.

Requirements

Before diving into this slide deck, we recommend you to have a look at:

2 / 14

question Questions

  • How do I run an image analysis pipeline on public data using CellProfiler?

  • How do I analyse the DNA channel of fluorescence siRNA screens?

  • How do I download public image data into my history?

  • How do I segment and label cell nuclei?

  • How do I segment nucleoli (as the absence of DNA)?

  • How do I combine nuclei and nucleoli into one segmentation mask?

  • How do I extract the background of an image?

  • How do I relate the nucleoli to their parent nucleus?

  • How do I measure the image and object features?

  • How do I measure the image quality?

3 / 14

objectives Objectives

  • How to download images from a public image repository.

  • How to segment cell nuclei using CellProfiler in Galaxy.

  • How to segment cell nucleoli using CellProfiler in Galaxy.

  • How to extract features for images, nuclei and nucleoli.

4 / 14

What is the nucleoli?

  • Membrane-less organelle in the nucleus of the cell
  • Functions: ribosome biogenesis and cell cycle regulation

image of four cells, one is dividing, and red arrows point to the 5 nucleii

5 / 14

In the DNA channel, the nucleoli is shown as the absence of DNA (red arrows).

Data

  • The data can be downloaded from the Image Data Resource (IDR)

screenshot of a complex tool interface showing an array of images (1) and then two selected images below it (2) and a configuration panel on the right (3)

6 / 14

In the IDR the images can be selected in the user interface (1). The images will then show up at the bottom (2) where they need to be selected once again and then copy the URL from the link icon on the top left (3). That URL contains the image ids that will be downloaded. You can also bring your images by uploading the DNA channel of your images to your Galaxy history.

General Workflow

  • The workflow contains 4 basic parts:
    • Segmentation of the nuclei
    • Segmentation of the nucleoli that fall inside the nuclei
    • Background detection
    • Feature extraction of the images and objects

screenshot of a galaxy workflow with four sections highlighted by boxes reading nuclei, nucleoli, background, and feature extraction.

7 / 14
  • Segmentation of the nucleoli: since there is no staining for the nucleoli, the holes need to be detected and segmented.
  • Feature extraction: the order of the tools does not affect the outcome.
  • Background detection: Detection of the foreground and subtraction from the image.

1) Segment nuclei

Inset to the first portion of the above overview image showing nuclei with 5 steps, starting modules, segment complete nuclei, segmentation mask complete nuclei, label nuclei, and save labelled nuclei.

8 / 14

Resulting image after the first logical step of the workflow in which the nuclei were segmented and labelled.

2) Segment nucleoli

Inset of the nucleoli portion of the workflow with the following steps: detect dark holes in nuclei, segment nucleoli that fall inside nuclei, segment nucleoli, convert the segmented nucleoli into an image, combine masks (nuclei+nucleoli), and finally save combined segmentation masks.

9 / 14

To identify the nucleoli the first step is to enhance the dark holes so that they can be segmented. The segmentation of the dark holes will take place only when the dark holes fall inside a nucleus. This is to avoid the detection of wrong objects outside the cell. At this step, the segmentation of the nucleoli can be performed. It will be useful for visual exploration that the masks of the nuclei and nucleoli are saved together into one segmentation mask.

Combined mask: nuclei + nucleoli

image of the cells again, but now cells are blue and nuclei/nucleoli are red.

10 / 14

The combination of both masks gives an image with the nuclei in blue and the nucleoli in magenta.

Background extraction

third inset workflow, background extraction, with steps segment all nuclei, segmentation mask nucleoli including cells touching borders, and extract background.

11 / 14

The extraction of the background can be useful to measure features that indicate that the images are artefacts. To get the background we first select the foreground and subtract it from the original image. We have partially detected the foreground in the nuclei segmentation in previous steps. However, that mask only included just those objects within a max and a min pixel size. We also discarded the images touching the borders. Here, we get rid of the constraints and segment all the nuclei.

Feature extraction

The final inset, feature extraction with very small steps.

  • Important: Relate nucleoli and parent nucleus
12 / 14

The features can be extracted from the images and the objects. Depending on which type of object and the interest of the study, different parameters can be measured. The module that relates the objects is useful to export a table with the ids of the nucleoli in relation with their parent nuclei. That's useful for a meaningful interpretation of the data.

keypoints Key points

  • Galaxy workflows can download images from the IDR, selecting specific channels, time points, z-stack positions and crop the image in different ways.

  • CellProfiler in Galaxy can segment and extract features of any object of interest.

  • The features and masks can be exported for further analysis.

13 / 14

Thank You!

This material is the result of a collaborative work. Thanks to the Galaxy Training Network and all the contributors!

Author(s) orcid logoBeatriz Serrano-Solano avatar Beatriz Serrano-Solano
Reviewers Björn Grüning avatarBeatriz Serrano-Solano avatarAnne Fouilloux avatarSaskia Hiltemann avatarCristóbal Gallardo avatar
Galaxy Training Network

Tutorial Content is licensed under Creative Commons Attribution 4.0 International License.

14 / 14

Requirements

Before diving into this slide deck, we recommend you to have a look at:

2 / 14
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow