Oct 25, 2022

Public workspaceC. elegans worm size measurement

  • 1Harvard University
Icon indicating open access to content
QR code linking to this content
Protocol CitationLaura Breimann 2022. C. elegans worm size measurement. protocols.io https://dx.doi.org/10.17504/protocols.io.e6nvwke4wvmk/v1
Manuscript citation:
https://doi.org/pii:jcs258818.10.1242/jcs.258818
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: April 16, 2022
Last Modified: October 25, 2022
Protocol Integer ID: 60886
Keywords: C. elegans, size analysis, microscopy, phenotype measurment
Abstract
Protocol to detect the size (length + width) of worms using a stereoscope and a camera.


The protocol was used in the publication:
CITATION
Breimann L, Morao AK, Kim J, Sebastian Jimenez D, Maryn N, Bikkasani K, Carrozza MJ, Albritton SE, Kramer M, Street LA, Cerimi K, Schumann VF, Bahry E, Preibisch S, Woehler A, Ercan S (2022). The histone H4 lysine 20 demethylase DPY-21 regulates the dynamics of condensin DC binding.. Journal of cell science.

Preparing worms for imaging
Preparing worms for imaging
Select worm line(s) and prepare the worms for size measurement.
Note
To measure the sizes of worms, preparing the worms is critical. Typically you want to compare different worm lines or treatments at a specific stage. For this worms need to be synchronized and grown to the desired stage. Worms can be synchronized by picking, bleaching or hand selection of the desired stage directly.

For the synchronizing-by-picking method, pick (at least) 20 gravid Adult worms and place them on a fresh OP50 plate. Allow worms to lay eggs for 4 hours and then remove Adults from plates.
Note
Try to keep the number of worms and time allowed to lay eggs constant between plates if the goal is to compare different lines.

3h
Grow worms to the desired stage.
3d
Wash worms off the plate using M9. To remove all bacteria, let worms settle in a tube for 10 min and carefully replace the M9 with fresh M9. Repeat this step 3 times. After the last step, remove most M9 from the tube, leaving only 20 µl with the worms.
35m
To get a clear picture of the worms, lightly anesthetize the worms by adding 10 mM Levamisol to the tube. Wait 5 minutes and gently pipette worms onto an unseeded agar plate.
Note
Anesthetizing the worms stops their movement, making it easier to get unblurred images and capture worms only once while taking pictures.
Try to keep the amount of liquid on the fresh plate minimal as it can interfere with analyzing the images later.

10m
Separate the worms from each other using an eyelash pick. The goal is to have evenly spread worms that are not touching and are not too close to the wall.
Note
It can be helpful to mark the plate on the bottom with thin marks to orient oneself while imaging

Imaging worms
Imaging worms
To capture images of the worms, an eyepiece camera (for example the Dino-Eye camera) can be used. It is also possible to capture images using a phone with an adapter. Phone adapters can be 3D printed with many available designs online. Importantly, keep the zoom of the camera and the microscope constant for one experiment. Try not to image worms twice. If the camera allows it save raw file formats otherwise use the camera format that is available.
Equipment
AM4025X Dino-Eye Edge Eyepiece Camera
NAME
Eyepiece Camera
TYPE
Dino-Lite
BRAND
AM4025X
SKU
LINK

Use a microscope calibration ruler and take an image with the same settings. This will allow you later to give the results a unit.



Microscope calibration rulers can be found here.

Preparing images for analysis
Preparing images for analysis
Save images for one condition in a folder.
Use Fiji to open the images and remove background.
Software
FIJI (FIJI Is Just ImageJ)
NAME
  1. Open image using Fiji
  2. Set the image to 8-bit: Image > Type > 8-bit
  3. Subtract background: Process -> Subtract Background. Set the preview checkbox to see how changing rolling ball radius changes the results.

4. Threshold: Image -> Adjust -> Threshold; where it says “Default”, change it to “Otsu”. Move the sliding bars so that you get as much of the worms highlighted, and as little of the background. Then click “Apply”.




5. Save the image to a new folder for further analysis.
To run the above code on many images, you can use this Fiji macro. Make sure to adapt the parameters in the script after finding them manually.

To get the resolution of your measurements, open the image of the calibration ruler.
  • Use the line tool in Fiji

  • Draw a line between two known points on your ruler (for instance a millimetre)
  • Press command + M to open a results Window with the measurements to give you the length in pixels.

  • For “Microns per Pixel”, divide the number of microns your line is (In our case it was a mm, so it would be 1000 microns), by the length of the line in pixels from the step above.
  • Write down this number for the next step


Alternatively, read here for more instructions.

Measuring worm size
Measuring worm size
Download the WormSizer plugin through the Fiji plugin menu. In Fiji navigate to "Help" > "Update" > "Manage Update Sites" and select "WormSizer" in the list of plugins and click "Close" and "Apply changes". After restarting Fiji, the plugin can be found in the Plugin drop-down menu.
CITATION
Moore BT, Jordan JM, Baugh LR (2013). WormSizer: high-throughput analysis of nematode size and shape.. PloS one.




More info on how to use the plugin can be found here.

Select an input directory including your pictures and an output directory to save the results. Click the >> button to continue.





Set the length in microns that were measured for the calibration ruler. Click the >> button to continue (this can take a moment depending on the number of images in the folder).


Next, select the settings to find the worm outlines. Depending on the images and the magnification they will be different. After the selection, pressing the >> button will start the detection in all images in the folder.

The processing complete image will signal when the plugin detected all worms and the review can start.



The plugin produced three files in the output folder:

  • settings .csv file
  • experiment .xml file
  • results csv file

The settings file saves the settings selected for detection. The XML file saves the outline information about each worm and can be used to review the outlines. The results file contains the worm measurements for each detected worm.



Reviewing the detections is done using the magnifying symbol. Navigate to the output folder and select the .xml file.


In the review part of the plugin, you can go through all detected worms in all images and select whether you want them to be included in the downstream analysis.




The results file is updated while reviewing and changes the value in the "pass" column to either TRUE or FALSE.
Plotting results
Plotting results
The results file can be used to plot the results. An example script using Python can be found in this GitHub repository.



Citations
Breimann L, Morao AK, Kim J, Sebastian Jimenez D, Maryn N, Bikkasani K, Carrozza MJ, Albritton SE, Kramer M, Street LA, Cerimi K, Schumann VF, Bahry E, Preibisch S, Woehler A, Ercan S. The histone H4 lysine 20 demethylase DPY-21 regulates the dynamics of condensin DC binding.
https://doi.org/pii:jcs258818.10.1242/jcs.258818
Step 13
Moore BT, Jordan JM, Baugh LR. WormSizer: high-throughput analysis of nematode size and shape.
https://doi.org/10.1371/journal.pone.0057142