$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Among the many advantages of studying C. elegans, its simple nervous system offers the opportunity to study how changes at the genetic and cellular level impact network function and behavioral output. Despite having a limited number of neurons, C. elegans display a wide range of complex behaviors. One of these is lawn avoidance, in which the bacterivorous nematode responds to a harmful food source by leaving the bacterial lawn. C. elegans avoid lawns of pathogenic bacteria1,2,3, lawns of bacteria that produce toxins or are spiked with toxins1,4, and even RNAi-expressing bacteria whose target gene knockdown is detrimental to the health of the worms4,5. Studies have shown that worms respond to external cues such as metabolites produced by the pathogenic bacteria1,6, or internal cues that indicate that the food is making them sick4,7. These cues are processed through conserved signaling pathways, such as the mitogen-activated protein kinase (MAPK) pathway and the transforming growth factor beta (TGFβ) pathway, and require communication between the gut and the nervous system4,6,7,8.
Although the assay is simple, the learned behavior develops over many hours, often overnight. While there are mutants that are incapable of leaving, in which case scoring avoidance at just one time point is sufficient to demonstrate the defect, many mutants do leave eventually but are slower to come out. For these, the movement of the worms needs to be tracked every few hours, which can be difficult to do overnight. Counting itself also takes time, creating a lag time between the plates, and thus limits the number of plates that can be tested at the same time. Using an imaging setup to record many plates simultaneously for the whole duration of the assay would be very useful, but the cost of setup can be prohibitive, depending on the funding situation of the research lab.
To address this, we devised a very simple method that uses smartphones to record avoidance assays. Each phone can record time-lapse videos of up to six assay plates. To provide transmitted light, we use a light emitting diode (LED) light box that can be easily purchased online. Assay plates are placed on an elevated platform, supported by hollow rectangular tunnels, that focus the incoming light, creating contrast. We also provide a Python script that converts the videos into audio video interleave (AVI) files showing 10 s clips of each hourly time point. The videos are then cropped to individual plates and saved in separate files to use for manual counting.
The method provides a low-cost procedure that is also extremely easy to use, using items that are readily available to most people. Here, we describe the method using the well-established lawn avoidance assay against the human pathogen Pseudomonas aeruginosa (PA14), whose protocol has been previously described2,9. Finally, we also review the considerations and limitations of the imaging method for those that want to apply it to other C. elegans behavior experiments.