Analyse HeLa fluorescence siRNA screen
OverviewQuestions:Objectives:
How do I analyze a HeLa fluorescence siRNA screen?
How do I segment cell nuclei?
How do I extract features from segmentations?
How do I filter segmentations by morphological features?
How do I apply a feature extraction workflow to a screen?
How do I visualize feature extraction results?
Requirements:
How to segment cell nuclei in Galaxy.
How to extract features from segmentations in Galaxy.
How to filter segmentations by morphological features in Galaxy.
How to extract features from an imaging screen in Galaxy.
How to analyse extracted features from an imaging screen in Galaxy.
- Introduction to Galaxy Analyses
- tutorial Hands-on: FAIR Bioimage Metadata
- tutorial Hands-on: REMBI - Recommended Metadata for Biological Images – metadata guidelines for bioimaging data
- tutorial Hands-on: Introduction to image analysis using Galaxy
Time estimation: 1 hourLevel: Intermediate IntermediateSupporting Materials:Published: Aug 13, 2019Last modification: Nov 14, 2023License: Tutorial Content is licensed under Creative Commons Attribution 4.0 International License. The GTN Framework is licensed under MITpurl PURL: https://gxy.io/GTN:T00180rating Rating: 5.0 (0 recent ratings, 2 all time)version Revision: 9
This tutorial shows how to segment and extract features from cell nuclei Galaxy for image analysis. As example use case, this tutorial shows you how to compare the phenotypes of PLK1 threated cells in comparison to a control. The data used in this tutorial is available at Zenodo.
RNA interference (RNAi) is used in the example use case for silencing genes by way of mRNA degradation. Gene knockdown by this method is achieved by introducing small double-stranded interfering RNAs (siRNA) into the cytoplasm. Small interfering RNAs can originate from inside the cell or can be exogenously introduced into the cell. Once introduced into the cell, exogenous siRNAs are processed by the RNA-induced silencing complex (RISC).The siRNA is complementary to the target mRNA to be silenced, and the RISC uses the siRNA as a template for locating the target mRNA. After the RISC localizes to the target mRNA, the RNA is cleaved by a ribonuclease. RNAi is widely used as a laboratory technique for genetic functional analysis. RNAi in organisms such as C. elegans and Drosophila melanogaster provides a quick and inexpensive means of investigating gene function. Insights gained from experimental RNAi use may be useful in identifying potential therapeutic targets, drug development, or other applications. RNA interference is a very useful research tool, allowing investigators to carry out large genetic screens in an effort to identify targets for further research related to a particular pathway, drug, or phenotype.
The example used in this tutorial deals with PLK1 knocked down cells. PLK1 is an early trigger for G2/M transition. PLK1 supports the functional maturation of the centrosome in late G2/early prophase and establishment of the bipolar spindle. PLK1 is being studied as a target for cancer drugs. Many colon and lung cancers are caused by K-RAS mutations. These cancers are dependent on PLK1.
AgendaIn this tutorial, we will deal with:
Getting data
The dataset required for this tutorial contains a screen of DAPI stained HeLa nuclei (more information). We will use a sample image from this dataset for training basic image processing skills in Galaxy.
Hands-on: Data upload
If you are logged in, create a new history for this tutorial
To create a new history simply click the new-history icon at the top of the history panel:
- Import galaxy-upload the following dataset from Zenodo or from the data library (ask your instructor).
- Important: Choose the type of data as
zip
.https://zenodo.org/record/3362976/files/B2.zip
- Copy the link location
Click galaxy-upload Upload Data at the top of the tool panel
- Select galaxy-wf-edit Paste/Fetch Data
Paste the link(s) into the text field
Press Start
- Close the window
As an alternative to uploading the data from a URL or your computer, the files may also have been made available from a shared data library:
- Go into Data (top panel) then Data libraries
- Navigate to the correct folder as indicated by your instructor.
- On most Galaxies tutorial data will be provided in a folder named GTN - Material –> Topic Name -> Tutorial Name.
- Select the desired files
- Click on Add to History galaxy-dropdown near the top and select as Datasets from the dropdown menu
In the pop-up window, choose
- “Select history”: the history you want to import the data to (or create a new one)
- Click on Import
- Unzip ( Galaxy version 6.0+galaxy0) with the following parameters:
- param-file “input_file”:
Zipped
input file- “Extract single file”:
Single file
- “Filepath”:
B2--W00026--P00001--Z00000--T00000--dapi.tif
Rename galaxy-pencil the dataset to
testinput.tif
- Click on the galaxy-pencil pencil icon for the dataset to edit its attributes
- In the central panel, change the Name field
- Click the Save button
- Unzip ( Galaxy version 6.0+galaxy0) with the following parameters:
- param-file “input_file”:
Zipped
input file- “Extract single file”:
All files
Rename galaxy-pencil the resulting collection to
control
- Click on the collection
- Click on the name of the collection at the top
- Change the name
- Press Enter
- Import galaxy-upload the following dataset from Zenodo or from the data library (ask your instructor).
- Important: Choose the type of data as
zip
.https://zenodo.org/record/3362976/files/B3.zip
- Copy the link location
Click galaxy-upload Upload Data at the top of the tool panel
- Select galaxy-wf-edit Paste/Fetch Data
Paste the link(s) into the text field
Press Start
- Close the window
As an alternative to uploading the data from a URL or your computer, the files may also have been made available from a shared data library:
- Go into Data (top panel) then Data libraries
- Navigate to the correct folder as indicated by your instructor.
- On most Galaxies tutorial data will be provided in a folder named GTN - Material –> Topic Name -> Tutorial Name.
- Select the desired files
- Click on Add to History galaxy-dropdown near the top and select as Datasets from the dropdown menu
In the pop-up window, choose
- “Select history”: the history you want to import the data to (or create a new one)
- Click on Import
- Unzip ( Galaxy version 6.0+galaxy0) to extract the zipped screen:
- param-file “input_file”:
Zipped
input file- “Extract single file”:
All files
- Rename galaxy-pencil the collection to
PLK1
- Upload galaxy-upload the following segmentation filter rules as a new pasted file (format:
tabular
):area eccentricity min 500 0. max 100000 0.5
- Click galaxy-upload Upload Data at the top of the tool panel
- Select galaxy-wf-edit Paste/Fetch Data at the bottom
- Paste the file contents into the text field
- Change Type from “Auto-detect” to
tabular
* Press Start and Close the windowRename galaxy-pencil dataset to
rules
- Click on the galaxy-pencil pencil icon for the dataset to edit its attributes
- In the central panel, change the Name field
- Click the Save button
Create feature extraction workflow
First, we will create and test a workflow which extracts mean DAPI intensity, area, and major axis length of cell nuclei from an image.
Hands-on: Create feature extraction workflow
- Filter 2D image ( Galaxy version 0.0.3-3) with the following parameters to smooth the image:
- “Filter type”:
Gaussian Blur
- “Radius/Sigma”:
3
- param-file “Source file”:
testinput.tif
file- Threshold image ( Galaxy version 0.0.5-2) with the following parameters to segment the image:
- param-file “Source file”: output of Filter 2D image ( Galaxy version 0.0.3-3)
- “Threshold Algorithm”:
Otsu
- “Dark Background”:
Yes
- Split binary image using watershed transformation ( Galaxy version 0.0.1-2) with the following parameters to split touching objects:
- param-file “Source file”: output of Threshold image ( Galaxy version 0.0.5-2)
- “Minimum distance between two objects.”:
20
- Extract 2D features ( Galaxy version 0.1.1-2) with the following parameters to extract features from the segmented objects:
- param-file “Label file”: output of Split binary image using watershed transformation ( Galaxy version 0.0.1-2)
- “Use original image to compute additional features.”:
No original image
- “Select features to compute”:
Select features
- “Available features”:
- param-check
Add label id of label image
- param-check
Area
- param-check
Eccentricity
- param-check
Major Axis Length
- Filter label map by rules ( Galaxy version 0.0.1) with the following parameters to filter the label map from 3. with the extracted features and a set of rules:
- param-file “Source file”: output of Split binary image using watershed transformation ( Galaxy version 0.0.1-2)
- param-file “Feature file”: output of Extract 2D features ( Galaxy version 0.1.1-2)
- param-file “Rules file”: rules file
- Extract 2D features ( Galaxy version 0.1.1-2) with the following parameters to extract features the final readout from the segmented objects:
- param-file “Label file”: output of Filter label map by rules ( Galaxy version 0.0.1)
- “Use original image to compute additional features.”:
Use original image
- param-file “Original image file”:
testinput.tif
file- “Select features to compute”:
Select features
- “Available features”:
- param-check
Mean Intensity
- param-check
Area
- param-check
Major Axis Length
- Now we can extract the workflow for batch processing
- Name it “feature_extraction”.
- Remember to exclude Unzip ( Galaxy version 6.0+galaxy0) by unchecking the tool.
- Don’t treat
B2.zip
andB3.zip
as inputs (the workflow is supposed to be applied to the images directly).
Clean up your history: remove any failed (red) jobs from your history by clicking on the galaxy-delete button.
This will make the creation of the workflow easier.
Click on galaxy-gear (History options) at the top of your history panel and select Extract workflow.
The central panel will show the content of the history in reverse order (oldest on top), and you will be able to choose which steps to include in the workflow.
Replace the Workflow name to something more descriptive.
Rename each workflow input in the boxes at the top of the second column.
If there are any steps that shouldn’t be included in the workflow, you can uncheck them in the first column of boxes.
Click on the Create Workflow button near the top.
You will get a message that the workflow was created.
- Edit the workflow you just created
- Add the tool Input dataset and name it
input image
.- Name the input for the rules file
filter rules
.- Mark the results of steps 5 and 6 as outputs (by clicking on the asterisk next to the output name).
The resulting workflow should look something like this:
Apply workflow to screen
Now we want to apply our extracted workflow to original data
and merge the results. For this purpose, we create a workflow which uses the previously created workflow as subworkflow.
Hands-on: Create screen analysis workflow
Create a new workflow in the workflow editor.
- Click Workflow on the top bar
- Click the new workflow galaxy-wf-new button
- Give it a clear and memorable name
- Clicking Save will take you directly into the workflow editor for that workflow
- Need more help? Please see the How to make a workflow subsection here
- Add a Input dataset collection node and name it
input images
- Add a Input dataset node and name it
rules
- Add the feature_extraction workflow as node.
- param-file “input image”:
input images
output of Input dataset collection- param-file “filter rules”:
rules
output of Input dataset- Add a Collapse Collection node.
- param-file “Collection of files to collapse into single dataset”: output of feature_extraction workflow
- “Keep one header line”:
Yes
- “Append File name”:
No
- Mark the tool output as workflow output
- Save your workflow and name it
analyze_screen
The resulting workflow should look something like this:
Hands-on: Run screen analysis workflow
Run the screen analysis workflow workflow on the
control
screen and therules
file
- Click on Workflow on the top menu bar of Galaxy. You will see a list of all your workflows.
- Click on the workflow-run (Run workflow) button next to your workflow
- Configure the workflow as needed
- Click the Run Workflow button at the top-right of the screen
- You may have to refresh your history to see the queued jobs
Run the screen analysis workflow workflow on the
PLK1
screen and therules
file
Plot feature extraction results
Finally, we want to plot the results for better interpretation.
Hands-on: Plot feature extraction results
- Click on the
Visualize this data
galaxy-barchart icon of the Collapse Collection results.- Run
Box plot
with the following parameters:
- “Provide a title”:
Screen features
- “X-Axis label”:
- “Y-Axis label”:
- “1: Data series”:
- “Provide a label”:
Mean intensity
- “Observations”:
Column 1
- “2: Data series”:
- “Provide a label”:
Area
- “Observations”:
Column 2
- “3: Data series”:
- “Provide a label”:
Major axis length
- “Observations”:
Column 3
QuestionPlot the feature distribution of PLK1 and control. What differences do you observe between the screens?
The phenotype of PLK1 threated cells show a higher mean intensity and a shorter major axis in comparison to the control.
One of the resulting plots should look something like this:
Conclusion
In this exercise you imported images into Galaxy, segmented cell nuclei, filtered segmentations by morphological features, extracted features from segmentations, scaled your workflow to a whole screen, and plotted the feature extraction results using Galaxy.