Abstract
Neurobiological research in genetically tractable organisms relies heavily on robust assays for behavioral phenotypes. The simple body plan of the nematode Caenorhabditis elegans makes it particularly amenable to the use of automated microscopy and image analysis to describe behavioral patterns quantitatively. Forward genetic screens and screens of drug libraries require high-throughput phenotyping, a task traditionally incompatible with manual scoring of quantitatively varying behaviors. High-throughput automated analysis of C. elegans movement behavior is now possible with several different tracking software packages. The Multiworm Tracker (MWT) described here is designed for high-throughput analysis: it can record dozens of worms simultaneously at 30 frames per second for hours or days at a time. This is accomplished by performing all image analysis in real time, saving only the worm centroid, bearing, and outline data to the disk. To simplify image processing, the system focuses only on worms that have moved, and detects and discards worms that are touching rather than trying to isolate them computationally. Because the software is entirely automated, protocols can run unattended once the worms have been placed and the software has been started. The MWT does not save images for later analysis, but behavior can be validated manually with a companion analysis tool that replays recorded body postures. This protocol describes a basic basal movement assay on food using the MWT; similar protocols apply to related assays and to similar multiple animal trackers. The protocol can be extended to a variety of assays ranging from tap response to chemotaxis.
Materials
It is essential that you consult the appropriate Material Safety Data Sheets and your institution's Environmental Health and Safety Office for proper handling of equipment and hazardous materials used in this protocol.
RECIPE: Please see the end of this article for recipes indicated by <R>. Additional recipes can be found online at http://cshprotocols.cshlp.org/site/recipes.
Reagents
C. elegans, Bristol N2, adult hermaphrodites
Nematode growth medium (NGM) <R>
For liquid medium, omit the agar.
OP50 Escherichia coli
Equipment
Computer with at least 2 GB RAM and 1680 × 1050 or 1600 × 1200 monitor
Dalsa Falcon 4M30 camera (2352 × 1728 at 31 Hz) with M42 to F-Mount lens adapter
Multiworm Tracker software (http://sourceforge.net/projects/mwt)
National Instruments NI PCIe-1427 image capture card
Petri dishes, ≥5 cm
Plate holder, ~15 cm above light, ~30 cm below camera
Rodenstock 60 mm, f/4.0 Rodagon lens with MFB F-mount adapter, modular focus block (25 mm), M39 ×0.75 lens adapter
Schott ACE light source with fiber-optic backlight (4 × 4.88 in.)
The complete hardware setup, including stage, camera, and light source, is shown in Figure 1.
Figure 1.
Hardware: (A) The stage, composed of x- and y-axis actuators and linear translation stages; (B) the camera; (C) the sample, a worm on an agar Petri dish; (D) a diffuser above a collimating Fresnel lens, to provide uniform illumination; (E) a high-intensity red light-emitting diode (LED) for illumination; (F) coarse and fine focusing knobs to focus the sample in view of the camera; (G) a rigid cage to center the illumination above the camera and eliminate vibrations caused by moving the stage.
Method
-
1.
Set up the recording system, the Multiworm Tracker (MWT), as described in its user manual, and use the Measurement and Automation Explorer tool to set the camera to 8 bit resolution.
-
2.
Measure the size of a pixel in millimeters: View a ruler with the camera and compute, for example [number of pixels in 1 in.]/25.4.
-
3.
Prepare worms for tracking.
-
i.
Seed one plate of NGM with 50 μL of NGM media, spread to cover the center of the plate.
-
ii.
Leave plate overnight.
-
iii.
Select five young adult hermaphrodites and transfer them onto the NGM plate. Incubate them for 3 h to lay eggs, and then remove the adult hermaphrodites.
-
iv.
Allow the eggs to grow to young adults (72–96 h).
-
i.
-
4.Place the plate in position for imaging with the lid on, making sure that the worms are in focus with the camera, that the brightness across the field of view varies by no more than ~40%, and that the brightest pixels are below saturation (a good target is 200–220 out of 255).See Troubleshooting.
-
5.
Run the tracker.
-
i.
In the MWT software, select a target directory, an experiment title, and a duration to record.
-
ii.Verify in the image window that the MWT is detecting the worms.See Troubleshooting.
-
iii.
Press “Go,” and wait for capture to complete.
-
i.
-
6.
Analyze the resulting data with the companion command-line Choreography program as described in the MWT user manual.
-
i.
Supply the pixel size measured in Step 2 with the -p option (e.g., -p 0.024 for a setup with 24 μm/pixel, which is approximately what it should be with the imaging setup described).
-
ii.Request the output parameters desired (e.g., -o Ns will produce a table containing the number of worms and the mean speed of those worms at each time point).See the users guide for more detail.
-
i.
Troubleshooting
Problem (Steps 4 and 5.ii): The worms are obscured by condensation on the lid of the plate.
Solution: Consider the following:
-
1.
Check the temperature in the room; if the lid of the plate is colder than the base, condensation will appear. The light source box may need to be moved farther away or downwind instead of upwind; the light plate itself should heat the base enough to cause fogging.
-
2.
Remove the lid from the Petri dish. Be aware, however, that worms are highly sensitive to drying, and long assays (>1 h) will be measuring predominantly a drying-related response unless the humidity is very high.
Problem (Step 5.ii): The MWT fails to show any image of worms.
Solution: Consider the following:
-
1.
Check that the Measurement and Automation Explorer tool can find the camera and view images from it; then close the Explorer and try the MWT again.
-
2.
The National Instrument Vision Runtime License has not been activated and the trial period has expired. Contact National Instruments to purchase a runtime license.
Problem (Step 5.ii): The tracker cannot find the worms.
Solution: Consider the following:
-
1.
Make sure there is good contrast between the worm and the background. With the optical setup as described, contrast should be ~50%
-
2.
Make sure the lighting is bright but does not saturate the camera.
-
3.
Alter the tracking parameters such as intensity threshold within the MWT.
Problem (Step 5.ii): The tracker finds many tiny worms as well as the adult worms.
Solution: Consider the following:
-
1.
Increase the minimum object size in the MWT.
-
2.
Raise the worms at a colder temperature or run the experiment before any eggs have hatched.
-
3.
Select and transfer adult worms to the plate instead of waiting for them to grow from eggs. Allow at least 2 h to elapse between transfer and recording, if possible.
Discussion
Worm trackers fall into two general types. Single-worm trackers follow individual animals at relatively high magnification, keeping them in the field of view by moving the camera or a motorized stage. Such systems have been used to study aspects of locomotion such as turning and speed (Pierce-Shimomura et al. 1999) as well as body posture and morphology (Karbowski et al. 2008). MWTs track multiple individuals in populations, by necessity at lower magnification, and usually focus on locomotion features. Generally speaking, single-worm trackers allow one to measure a greater number of parameters, whereas MWTs offer much higher efficiency and throughput. A discussion of the principles of single-worm tracking, along with a protocol, can be found in Preparation of Samples for Single-Worm Tracking (Yemini et al. 2011a). A protocol is also available for Illumination for Worm Tracking and Behavioral Imaging (Yemini et al. 2011b).
This protocol describes the use of the software package MWT, and discusses possible applications for genetic analyses of behavior. Neuronal tracking uses precisely the same algorithm to search for labeled neurons. The few minor changes this protocol may require involve using higher magnification to view tracked neurons and inverting the binary thresholding to discover bright neurons on a dark background (worms are usually imaged in bright-field, where they are darker than their background).
A variety of methods for recording many worms simultaneously have been developed recently. Image analysis methods used on single worms can be applied to high-resolution images of whole plates of worms to give similar data: some individual measurements are noisier or impossible, but collecting large sample sizes is much faster. Ramot et al. (2008) have created the Parallel Worm Tracker, a suite of three related open-source programs that acquire image data, perform basic image processing to identify worms and produce tracks of the worms’s centroid positions, and analyze those tracks to compute linear and angular velocity. Similarly, Roussel et al. (2007) and Tsechpenakis et al. (2008) have created software that analyzes stored image data with more sophisticated algorithms that account for noise and adjacent worms and can provide basic postural data in addition to centroid position. Other efforts at simultaneous worm tracking have focused on worms in 96-well plates with no (Simonetta and Golombek 2007) or very minimal (Buckingham and Sattelle 2009) image processing, or on robustly detecting pairs of worms in contact for detailed assays. The MWT discussed here is conceptually very similar to the trackers described by Ramot et al. (2008) and Tsechpenakis et al. (2008), save for its focus on real-time image processing.
Multiworm tracking is possible with a wide variety of cameras and imaging speeds. For the MWT, the primary two requirements are that worms must overlap over at least 50% of their bodies from one frame to the next, and must be large enough to cause a clear change in brightness when moving into a new area of the plate. Thus, frame rates slower than ~0.5 Hz for crawling or ~10 Hz for swimming (because the worm swings side to side) will tend to fail because of excessive movements; magnifications that result in pixels that span more than ~60 µm also tend to give substandard results.
Converting a single-worm manual assay to an automated assay can be a considerable amount of work. The MWT does not automatically detect qualitative phenotypes often scored manually (e.g., “kinker”), so a quantitative proxy must be discovered. For example, for tap habituation assays, reversal distance is a typical metric (Broster and Rankin 1994), but is relatively difficult to extract computationally. However, for longer interstimulus tap intervals, increase in speed of animals on food is a good alternative metric for response to tap (Fig. 2A; the transient increase in speed due to manipulation of the plate before the beginning of the experiment is typical). When beginning a new assay, it is valuable to compare manually scored behaviors with automated results. To assist in this, the Choreography program contains a –map option that brings up a map browser interface, which allows one to replay the movements of the tracked worms (Fig. 2B). The analysis parameters and exclusion criteria used in the results shown in Figure 2 are listed in Table 1.
Figure 2.
A tap habituation assay performed on the MWT. (A) Average speed of ~N worms over 10 min with plate tap delivered at 5 min and 3×/min thereafter (15 taps total). Black line is mean; standard error in gray. N = 45–50 animals per time point (one plate). (B) Manual validation of tap response with worm position 1.0 sec before (top), at (center), and 1.0 sec after (bottom) a tap. Colored dots are centroid positions colored by speed, where red is slower and yellow faster; one dot is drawn every 33 msec.
Table 1.
Choreography analysis parameters used in the example results shown in Figure 2
| Pixel size | Speed averaging window | Object min duration | Object min movement | Output quantities |
|---|---|---|---|---|
| 0.0243 mm/sec | 0.2 sec | 20 sec | 2 body lengths | ss*s# (speed: mean, standard deviation, number of samples) |
Recipe
Nematode Growth Medium (NGM)
| Reagent | Amount to add (for 1 L) | Final concentration |
|---|---|---|
| Agar | 17.0 g | 1.7% (w/v) |
| NaCl | 2.9 g | 50 mм |
| Peptone | 2.5 g | 0.25% (w/v) |
| CaCl2 (1 м) | 1 mL | 1 mм |
| Cholesterol (5 mg/mL) | 1 mL | 5 µg/mL |
| KH2PO4 (1 м) | 25 mL | 25 mм |
| MgSO4 (1 м) | 1 mL | 1 mм |
Mix the first three reagents and autoclave. After the mixture is cool, add the last four reagents.
References
- Broster BS, Rankin CH. Effects of changing interstimulus interval during habituation in Caenorhabditis elegans. Behav Neurosci. 1994;108:1019–1029. doi: 10.1037//0735-7044.108.6.1019. [DOI] [PubMed] [Google Scholar]
- Buckingham SD, Sattelle DB. Fast, automated measurement of nematode swimming (thrashing) without morphometry. BMC Neurosci. 2009;10:84. doi: 10.1186/1471-2202-10-84. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Karbowski J, Schindelman G, Cronin CJ, Seah A, Sternberg PW. Systems level circuit model of C. elegans undulatory locomotion: Mathematical modeling and molecular genetics. J Comput Neurosci. 2008;24:253–276. doi: 10.1007/s10827-007-0054-6. [DOI] [PubMed] [Google Scholar]
- Pierce-Shimomura JT, Morse TM, Lockery SR. The fundamental role of pirouettes in Caenorhabditis elegans chemotaxis. J Neurosci. 1999;19:9557–9569. doi: 10.1523/JNEUROSCI.19-21-09557.1999. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ramot D, Johnson BE, Berry TL, Jr, Carnell L, Goodman MB. The Parallel Worm Tracker: A platform for measuring average speed and drug-induced paralysis in nematodes. PLoS One. 2008;3:e2208. doi: 10.1371/journal.pone.0002208. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Roussel N, Morton CA, Finger FP, Roysam B. A computational model for C. elegans locomotory behavior: Application to multiworm tracking. IEEE Trans Biomed Eng. 2007;54:1786–1797. doi: 10.1109/TBME.2007.894981. [DOI] [PubMed] [Google Scholar]
- Simonetta SH, Golombek DA. An automated tracking system for Caenorhabditis elegans locomotor behavior and circadian studies application. J Neurosci Methods. 2007;161:273–280. doi: 10.1016/j.jneumeth.2006.11.015. [DOI] [PubMed] [Google Scholar]
- Tsechpenakis G, Bianchi L, Metaxas D, Driscoll M. A novel computational approach for simultaneous tracking and feature extraction of C. elegans populations in fluid environments. IEEE Trans Biomed Eng. 2008;55:1539–1549. doi: 10.1109/TBME.2008.918582. [DOI] [PubMed] [Google Scholar]
- Yemini E, Kerr RA, Schafer WR. Preparation of samples for single-worm tracking. Cold Spring Harb Protoc. 2011a doi: 10.1101/pdb.prot066993. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yemini E, Kerr RA, Schafer WR. Illumination for worm tracking and behavioral imaging. Cold Spring Harb Protoc. 2011b doi: 10.1101/pdb.prot067009. [DOI] [PMC free article] [PubMed] [Google Scholar]


