<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.2 20190208//EN"  "JATS-archivearticle1-mathml3.dtd"><article xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.2"><front><journal-meta><journal-id journal-id-type="nlm-ta">elife</journal-id><journal-id journal-id-type="publisher-id">eLife</journal-id><journal-title-group><journal-title>eLife</journal-title></journal-title-group><issn publication-format="electronic" pub-type="epub">2050-084X</issn><publisher><publisher-name>eLife Sciences Publications, Ltd</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">77252</article-id><article-id pub-id-type="doi">10.7554/eLife.77252</article-id><article-categories><subj-group subj-group-type="display-channel"><subject>Tools and Resources</subject></subj-group><subj-group subj-group-type="heading"><subject>Computational and Systems Biology</subject></subj-group><subj-group subj-group-type="heading"><subject>Neuroscience</subject></subj-group></article-categories><title-group><article-title>Automatically tracking feeding behavior in populations of foraging <italic>C. elegans</italic></article-title></title-group><contrib-group><contrib contrib-type="author" equal-contrib="yes" id="author-268292"><name><surname>Bonnard</surname><given-names>Elsa</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0001-6363-1684</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="equal-contrib1">†</xref><xref ref-type="fn" rid="con1"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" equal-contrib="yes" id="author-268293"><name><surname>Liu</surname><given-names>Jun</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0001-6472-3871</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="equal-contrib1">†</xref><xref ref-type="fn" rid="con2"/><xref ref-type="fn" rid="conf2"/></contrib><contrib contrib-type="author" id="author-268294"><name><surname>Zjacic</surname><given-names>Nicolina</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-6413-7386</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con3"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" id="author-268295"><name><surname>Alvarez</surname><given-names>Luis</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-1027-2291</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="con4"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" corresp="yes" id="author-136030"><name><surname>Scholz</surname><given-names>Monika</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0003-2186-410X</contrib-id><email>monika.scholz@mpinb.mpg.de</email><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="other" rid="fund1"/><xref ref-type="fn" rid="con5"/><xref ref-type="fn" rid="conf2"/></contrib><aff id="aff1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02yjyfs84</institution-id><institution>Max Planck Research Group Neural Information Flow, Max Planck Institute for Neurobiology of Behavior – caesar</institution></institution-wrap><addr-line><named-content content-type="city">Bonn</named-content></addr-line><country>Germany</country></aff><aff id="aff2"><label>2</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02crff812</institution-id><institution>Institute of Medical Genetics, University of Zurich</institution></institution-wrap><addr-line><named-content content-type="city">Zurich</named-content></addr-line><country>Switzerland</country></aff></contrib-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Zimmer</surname><given-names>Manuel</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03prydq77</institution-id><institution>University of Vienna</institution></institution-wrap><country>Austria</country></aff></contrib><contrib contrib-type="senior_editor"><name><surname>Calabrese</surname><given-names>Ronald L</given-names></name><role>Senior Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03czfpz43</institution-id><institution>Emory University</institution></institution-wrap><country>United States</country></aff></contrib></contrib-group><author-notes><fn fn-type="con" id="equal-contrib1"><label>†</label><p>These authors contributed equally to this work</p></fn></author-notes><pub-date publication-format="electronic" date-type="publication"><day>09</day><month>09</month><year>2022</year></pub-date><pub-date pub-type="collection"><year>2022</year></pub-date><volume>11</volume><elocation-id>e77252</elocation-id><history><date date-type="received" iso-8601-date="2022-01-21"><day>21</day><month>01</month><year>2022</year></date><date date-type="accepted" iso-8601-date="2022-08-15"><day>15</day><month>08</month><year>2022</year></date></history><pub-history><event><event-desc>This manuscript was published as a preprint at bioRxiv.</event-desc><date date-type="preprint" iso-8601-date="2022-01-22"><day>22</day><month>01</month><year>2022</year></date><self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2022.01.20.477072"/></event></pub-history><permissions><copyright-statement>© 2022, Bonnard, Liu et al</copyright-statement><copyright-year>2022</copyright-year><copyright-holder>Bonnard, Liu et al</copyright-holder><ali:free_to_read/><license xlink:href="http://creativecommons.org/licenses/by/4.0/"><ali:license_ref>http://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License</ext-link>, which permits unrestricted use and redistribution provided that the original author and source are credited.</license-p></license></permissions><self-uri content-type="pdf" xlink:href="elife-77252-v2.pdf"/><self-uri content-type="figures-pdf" xlink:href="elife-77252-figures-v2.pdf"/><abstract><p><italic>Caenorhabditis elegans</italic> feeds on bacteria and other small microorganisms which it ingests using its pharynx, a neuromuscular pump. Currently, measuring feeding behavior requires tracking a single animal, indirectly estimating food intake from population-level metrics, or using restrained animals. To enable large throughput feeding measurements of unrestrained, crawling worms on agarose plates at a single worm resolution, we developed an imaging protocol and a complementary image analysis tool called PharaGlow. We image up to 50 unrestrained crawling worms simultaneously and extract locomotion and feeding behaviors. We demonstrate the tool’s robustness and high-throughput capabilities by measuring feeding in different use-case scenarios, such as through development, with genetic and chemical perturbations that result in faster and slower pumping, and in the presence or absence of food. Finally, we demonstrate that our tool is capable of long-term imaging by showing behavioral dynamics of mating animals and worms with different genetic backgrounds. The low-resolution fluorescence microscopes required are readily available in <italic>C. elegans</italic> laboratories, and in combination with our python-based analysis workflow makes this methodology easily accessible. PharaGlow therefore enables the observation and analysis of the temporal dynamics of feeding and locomotory behaviors with high-throughput and precision in a user-friendly system.</p></abstract><abstract abstract-type="plain-language-summary"><title>eLife digest</title><p>A small worm called <italic>C. elegans</italic> is constantly hungry. It spends all its time looking for food or eating. Hunger and environmental factors, like light, influence its feeding behavior. Studying these worms has helped scientists learn how feeding affects health, longevity, and aging. Feeding studies might also help scientists learn how the nervous system works and how it controls feeding.</p><p>Most studies have used one of two approaches. Scientists may measure how much food a group of <italic>C. elegans</italic> eat by measuring food before and after it is offered to the worms. Or they restrain individual worms and measure the movement of a tube-like muscle, called the pharynx, which the animals use to vacuum up food. Restraining the worms can alter their behavior or brain activity, and studying group feeding habits may miss individual differences, so neither is optimal. Ideally, scientists could measure the feeding activity of many free-ranging worms, but because the movements of the pharynx are small, that too can be a challenge.</p><p>Bonnard, Liu et al. developed a software tool that automatically detects and measures feeding behavior in a group of about 30 free-ranging <italic>C. elegans</italic> simultaneously. In the experiments, Bonnard, Liu et al. genetically engineered worms expressing a fluorescent protein in their pharynx, making it possible to measure its movements with a microscope. They used the microscope to capture images of 30-50 animals at a time as they foraged for food in a dish. Then, they used the software to analyze the data they collected. Over three days and five imaging sessions, Bonnard and Liu et al. tracked the feeding behavior of about 1,000 animals under different conditions. The experiments show that the pharynx grows rapidly during early worm development when the worms quadruple their length, but the rate of pharynx muscle contractions stays the same. They also showed the technique could measure feeding behaviors in animals with different genetic backgrounds, ages, or those engaged in behaviors like mating.</p><p>The tool allows for larger and longer-term studies of worm feeding behaviors than previous approaches. Bonnard, Liu et al. made their software, called PharaGlow, available for use by other researchers. The tool may make feeding measurements a routine part of <italic>C. elegans</italic> studies. It will allow scientists to gain new insights into the role of feeding in a range of processes, including aging, fitness, mating, and overall health. Follow-up studies could determine if these findings are general strategies that also apply to other animals.</p></abstract><kwd-group kwd-group-type="author-keywords"><kwd>feeding</kwd><kwd>behavior tracking</kwd><kwd>foraging</kwd><kwd>pumping</kwd><kwd>development</kwd></kwd-group><kwd-group kwd-group-type="research-organism"><title>Research organism</title><kwd><italic>C. elegans</italic></kwd></kwd-group><funding-group><award-group id="fund1"><funding-source><institution-wrap><institution>Max Planck institute for Neurobiology of Behavior — caesar</institution></institution-wrap></funding-source><award-id>Open access funding</award-id><principal-award-recipient><name><surname>Scholz</surname><given-names>Monika</given-names></name></principal-award-recipient></award-group><funding-statement>The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.</funding-statement></funding-group><custom-meta-group><custom-meta specific-use="meta-only"><meta-name>Author impact statement</meta-name><meta-value>A new tool enables measuring feeding and locomotion simultaneously which will enable insights into environmental, developmental, neuronal, and genetic factors underlying behavioral regulation.</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Feeding is important for animal physiology, affecting energy balance, longevity, healthspan, or aging (<xref ref-type="bibr" rid="bib25">Fontana and Partridge, 2015</xref>; <xref ref-type="bibr" rid="bib65">Trepanowski et al., 2011</xref>; <xref ref-type="bibr" rid="bib7">Balasubramanian et al., 2017</xref>). Accurate measurements of feeding behavior are required to assess these physiological effects. Thanks to its fully sequenced and annotated genome that shares at least 50% homology with human genome and the availability of advanced genome editing tools, short life cycle and transparency, the roundworm <italic>Caenorhabditis elegans</italic> is a powerful model to study feeding. Research in <italic>C. elegans</italic> has shed light on how internal states such as hunger, peptidergic, and bioaminergic regulation (<xref ref-type="bibr" rid="bib4">Avery and Horvitz, 1990</xref>; <xref ref-type="bibr" rid="bib69">You et al., 2006</xref>; <xref ref-type="bibr" rid="bib70">You et al., 2008</xref>; <xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>; <xref ref-type="bibr" rid="bib60">Song and Avery, 2012</xref>; <xref ref-type="bibr" rid="bib56">Scholz et al., 2017</xref>; <xref ref-type="bibr" rid="bib35">Kang and Avery, 2021</xref>; <xref ref-type="bibr" rid="bib62">Srinivasan et al., 2008</xref>; <xref ref-type="bibr" rid="bib32">Hobson et al., 2006</xref>), and decision making affect feeding (<xref ref-type="bibr" rid="bib36">Katzen et al., 1983</xref>; <xref ref-type="bibr" rid="bib59">Shtonda and Avery, 2006</xref>). Being able to detect feeding in large populations at single-animal resolution would enable further insight into inter-animal variability, internal states and subtle modulatory effects in the temporal dynamics of feeding. To understand the coupling of multiple behaviors, such as locomotion and feeding, it is required to allow animals to roam freely while feeding and assess both behaviors at the same time. Here, we propose a method to measure the feeding activity in unrestrained populations of <italic>C. elegans</italic> with sufficient temporal resolution to observe single feeding events.</p><p><italic>C. elegans</italic> feeds on bacteria and other small microorganisms by drawing in a suspension of food particles from the environment. The bacteria are ingested and separated from the liquid by the pumping action of its powerful pharyngeal muscles (<xref ref-type="bibr" rid="bib58">Seymour et al., 1983</xref>; <xref ref-type="bibr" rid="bib6">Avery and Shtonda, 2003</xref>; <xref ref-type="bibr" rid="bib23">Fang-Yen et al., 2009</xref>). Transport of the bacteria proceeds with occasional peristaltic contractions that move food further toward the terminal bulb where a hard cuticular structure, the grinder, crushes the bacteria before they are pushed into the intestine (<xref ref-type="bibr" rid="bib1">Albertson and Thomson, 1976</xref>). Pumping is the limiting step for food intake that is, the total food consumed is the product of pumping rate and external food concentration (<xref ref-type="bibr" rid="bib58">Seymour et al., 1983</xref>; <xref ref-type="bibr" rid="bib6">Avery and Shtonda, 2003</xref>; <xref ref-type="bibr" rid="bib23">Fang-Yen et al., 2009</xref>). Pumping is inherently a stochastic process (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>). It has been suggested that stochastic pumping results from a decision making process that serves to regulate pumping based on food availability (<xref ref-type="bibr" rid="bib56">Scholz et al., 2017</xref>). Even in the absence of food, pumping has been observed and interpreted as a mechanism for food sampling (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>; <xref ref-type="bibr" rid="bib56">Scholz et al., 2017</xref>; <xref ref-type="bibr" rid="bib66">Trojanowski et al., 2016</xref>). On average, pumping occurs up to 300 times per minute when food is abundant (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>; <xref ref-type="bibr" rid="bib60">Song and Avery, 2012</xref>; <xref ref-type="bibr" rid="bib55">Scholz et al., 2016</xref>). Pumping rates are altered in response to the type, concentration, size, and familiarity of the surrounding bacteria (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>; <xref ref-type="bibr" rid="bib6">Avery and Shtonda, 2003</xref>; <xref ref-type="bibr" rid="bib55">Scholz et al., 2016</xref>; <xref ref-type="bibr" rid="bib61">Song et al., 2013</xref>). The behavioral and metabolic context, such as hunger, satiety, and mating drive also influence the rate of food intake (<xref ref-type="bibr" rid="bib4">Avery and Horvitz, 1990</xref>; <xref ref-type="bibr" rid="bib69">You et al., 2006</xref>; <xref ref-type="bibr" rid="bib70">You et al., 2008</xref>; <xref ref-type="bibr" rid="bib29">Gruninger et al., 2006</xref>). Feeding behavior is thus regulated at different time scales ranging from immediate neuro-muscular activity (<xref ref-type="bibr" rid="bib66">Trojanowski et al., 2016</xref>; <xref ref-type="bibr" rid="bib49">Raizen et al., 1995</xref>; <xref ref-type="bibr" rid="bib43">McKay et al., 2004</xref>; <xref ref-type="bibr" rid="bib48">Raizen and Avery, 1994</xref>), to the intermediate scales of food choice and foraging (<xref ref-type="bibr" rid="bib56">Scholz et al., 2017</xref>; <xref ref-type="bibr" rid="bib36">Katzen et al., 1983</xref>; <xref ref-type="bibr" rid="bib41">Li et al., 2012</xref>), to longer-term life history traits and behavioral state changes of the animal (<xref ref-type="bibr" rid="bib4">Avery and Horvitz, 1990</xref>; <xref ref-type="bibr" rid="bib12">Cermak et al., 2020</xref>).</p><p>Because of the transparent body of <italic>C. elegans</italic>, the pharynx can be directly observed through light microscopy, which in principle enables simultaneous detection of food particles (bacteria), muscular motion, and locomotion (<xref ref-type="bibr" rid="bib23">Fang-Yen et al., 2009</xref>). However, these experiments are often performed in immobilized animals, which can introduce artifacts in the observed behavior, as the activity of the body wall muscles feedbacks to the pharynx via parallel synaptic and hormonal routes (<xref ref-type="bibr" rid="bib64">Takahashi and Takagi, 2017</xref>; <xref ref-type="bibr" rid="bib34">Izquierdo et al., 2022</xref>). While desirable, imaging feeding in unrestrained animals, especially in large populations, is challenging due to the disparate time- and length scales of the motions involved. While worms move over centimeters within minutes (<xref ref-type="bibr" rid="bib50">Ramot et al., 2008</xref>; <xref ref-type="bibr" rid="bib63">Swierczek et al., 2011</xref>), the observable pharyngeal contractions are over µm within ms (<xref ref-type="bibr" rid="bib23">Fang-Yen et al., 2009</xref>), making large-scale foraging experiments technically challenging.</p><p>Existing techniques to measure feeding fall broadly into two categories. The first focuses on indirect measures of population food intake, and the second detects each pumping contraction (<xref ref-type="table" rid="table1">Table 1</xref>). Indirect food intake measures rely either on labeling the food intake of the worm, for example using bioluminescent bacteria (<xref ref-type="bibr" rid="bib22">Ding et al., 2020</xref>), fluorescent bacteria (<xref ref-type="bibr" rid="bib70">You et al., 2008</xref>; <xref ref-type="bibr" rid="bib3">Andersen et al., 2014</xref>), or fluorescent beads (<xref ref-type="bibr" rid="bib23">Fang-Yen et al., 2009</xref>; <xref ref-type="bibr" rid="bib38">Kiyama et al., 2020</xref>), or by measuring the remaining food concentration over time in large liquid cultures of worms (<xref ref-type="bibr" rid="bib27">Gomez-Amaro et al., 2020</xref>). However, liquid culture neither allows direct measure of pumping activity nor of feeding related behavior such as locomotion toward food. Resolving single pump information can be achieved by combining bright-field microscopy with live worm tracking to remove center of mass motion and enable imaging of the grinder (<xref ref-type="bibr" rid="bib41">Li et al., 2012</xref>; <xref ref-type="bibr" rid="bib12">Cermak et al., 2020</xref>; <xref ref-type="bibr" rid="bib72">Zou et al., 2018</xref>), or alternatively by constraining animals in microfluidics. In tracking and constrained configurations, one can read out pumps by directly following the grinder motion in the pharynx (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>; <xref ref-type="bibr" rid="bib55">Scholz et al., 2016</xref>). A complementary technique relies on recording electropharyngeograms that detect the signature of muscular contractions in a small population of constrained animals without requiring a tracking microscope (<xref ref-type="bibr" rid="bib42">Lockery et al., 2012</xref>). Despite these numerous approaches, what is lacking is a method that allows time-resolved pumping detection in large populations of unrestrained crawling animals.</p><table-wrap id="table1" position="float"><label>Table 1.</label><caption><title>Comparison of methods for measuring pumping.</title></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">Technique</th><th align="left" valign="bottom">Single pump</th><th align="left" valign="bottom">Single worm</th><th align="left" valign="bottom">Animals/ setup</th><th align="left" valign="bottom">Method</th><th align="left" valign="bottom">Label</th><th align="left" valign="bottom">Constrained</th><th align="left" valign="bottom">Source</th></tr></thead><tbody><tr><td align="left" valign="bottom">Bioluminescent bacteria</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">No</td><td align="char" char="ndash" valign="bottom">100–1000</td><td align="left" valign="bottom">Microscopy</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">No</td><td align="char" char="." valign="bottom"><xref ref-type="bibr" rid="bib22">Ding et al., 2020</xref></td></tr><tr><td align="left" valign="bottom">Luciferase expressing worms</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">Yes</td><td align="char" char="." valign="bottom">100</td><td align="left" valign="bottom">Microscopy</td><td align="left" valign="bottom">Yes</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib51">Rodríguez-Palero et al., 2018</xref></td></tr><tr><td align="left" valign="bottom">Optical density</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">No</td><td align="char" char="ndash" valign="bottom">100–1000</td><td align="left" valign="bottom">Absorption</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib27">Gomez-Amaro et al., 2020</xref></td></tr><tr><td align="left" valign="bottom">Tracking microscope</td><td align="left" valign="bottom">Yes</td><td align="left" valign="bottom">Yes</td><td align="char" char="." valign="bottom">1</td><td align="left" valign="bottom">Microscopy</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib41">Li et al., 2012</xref>; <xref ref-type="bibr" rid="bib12">Cermak et al., 2020</xref>; <xref ref-type="bibr" rid="bib72">Zou et al., 2018</xref></td></tr><tr><td align="left" valign="bottom">pWarp</td><td align="left" valign="bottom">Yes</td><td align="left" valign="bottom">Yes</td><td align="char" char="." valign="bottom">4</td><td align="left" valign="bottom">Microscopy</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">microfluidic</td><td align="char" char="." valign="bottom"><xref ref-type="bibr" rid="bib55">Scholz et al., 2016</xref></td></tr><tr><td align="left" valign="bottom">NemaChip</td><td align="left" valign="bottom">Yes</td><td align="left" valign="bottom">Yes</td><td align="char" char="." valign="bottom">8</td><td align="left" valign="bottom">Electrophysiology / EPG</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">microfluidic</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib42">Lockery et al., 2012</xref></td></tr><tr><td align="left" valign="bottom">Manual counting</td><td align="left" valign="bottom">Yes</td><td align="left" valign="bottom">Yes</td><td align="char" char="." valign="bottom">1</td><td align="left" valign="bottom">Microscopy</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom">No</td><td align="left" valign="bottom"><xref ref-type="bibr" rid="bib60">Song and Avery, 2012</xref>; <xref ref-type="bibr" rid="bib17">Dallière et al., 2016</xref>; <xref ref-type="bibr" rid="bib8">Bhatla et al., 2015</xref> and many others</td></tr><tr><td align="left" valign="bottom"><bold>PharaGlow</bold></td><td align="left" valign="bottom"><bold>Yes</bold></td><td align="left" valign="bottom"><bold>Yes</bold></td><td align="char" char="ndash" valign="bottom"><bold>1–50</bold></td><td align="left" valign="bottom"><bold>Microscopy</bold></td><td align="left" valign="bottom"><bold>Yes</bold></td><td align="left" valign="bottom"><bold>No</bold></td><td align="left" valign="bottom"><bold>This work</bold></td></tr></tbody></table></table-wrap><p>We wanted to fill the gap to allow imaging of pumping activity at high-throughput with single-pump temporal resolution in unrestrained animals, while using only optical setups already available in most <italic>C. elegans</italic> laboratories. Our method is based on epi-fluorescence microscopy of the pharyngeal muscle with a cost effective, large chip camera that enables imaging of many worms as they explore freely on an agarose plate. We determined that the method is relatively insensitive to the optical instrument used, and does not require high-end or custom optics. The accompanying analysis software (PharaGlow) is written in Python and can be accessed using beginner friendly semi-graphical jupyter notebooks. PharaGlow is available under a permissive open source license. We demonstrate the usability and throughput of the method for multiple use cases, including those not previously possible in restrained animals, such as repeated imaging of a population of developing animals and investigating the coupling of locomotion and pumping rates. Finally, we demonstrate the utility of our approach by imaging a pair of mating animals over more than 1 hr.</p></sec><sec id="s2" sec-type="results"><title>Results</title><sec id="s2-1"><title>Detection of pumping rates in crawling animals</title><p>To enable automated, high-throughput detection of pumping in animals crawling on culture plates, we combined epi-fluorescence microscopy with a large area scan camera (<xref ref-type="fig" rid="fig1">Figure 1A</xref>). Typically, pumping is detected by manual or automated counting using high magnification to resolve the motion of the grinder in the terminal bulb (<xref ref-type="bibr" rid="bib17">Dallière et al., 2016</xref>; <xref ref-type="bibr" rid="bib8">Bhatla et al., 2015</xref>). Using animals expressing a fluorescent protein in the pharyngeal muscle allowed us to image at a lower magnification compared to the resolution required for bright-field imaging of the grinder. Specifically, we image animals expressing YFP under the pharyngeal myosin promoter <italic>myo-2p</italic> (<italic>gnaIs1 [myo-2p::yfp]</italic>), which is present in all pharyngeal muscles except pm1 and pm2 (<xref ref-type="bibr" rid="bib46">Okkema et al., 1993</xref>; <xref ref-type="bibr" rid="bib47">Okkema and Fire, 1994</xref>).</p><fig id="fig1" position="float"><label>Figure 1.</label><caption><title>High-throughput optical detection of pharyngeal pumping in moving worms.</title><p>(<bold>A</bold>) Hundreds of animals expressing <italic>myo-2p::YFP</italic> are washed in M9 and pipetted onto the assay plate before imaging with an epi-fluorescence microscope at x1 magnification resulting in a full field of view of 7 by 5 mm. (<bold>B</bold>) Workflow of using the PharaGlow image analysis pipeline. Animal center of mass tracking can be substituted with any available tracker, but subsequent steps are specific to tracking pumping. (<bold>C</bold>) Representative trajectory of an animal after tracking. (<bold>D</bold>) Processing steps followed for detection of pharyngeal pumping. Example of a fluorescent image (left; 2x magnification). Segmentation of pharyngeal contour, centerline, and widths (middle) calculated for virtual straightening along the anterior-posterior axis (<bold>A–P</bold>) and the resulting straightened animal (right). (<bold>E</bold>) Three straightened frames of an animal before, during, and after a pump and their dorso-ventral variation in brightness along the A-P axis. (<bold>F</bold>) The metric that is used to detect pumping events. Bottom, a portion of the top trace (orange). Highlighted time points correspond to the images in (<bold>E</bold>). (<bold>G</bold>) Average of all images during a detected pump (‘Pump’) and for all remaining timepoints (‘Off’). The difference image (‘Diff’) shows that pumps are characterized by the opening of the lumen and terminal bulb contraction. Colorbar indicates brightness difference (a.u.). (<bold>H</bold>) Example image sequence of a pharynx recorded at 10 x using bright-field (left) and in epi-fluorescence (right) microscopy before, during, and after a pump. Arrows denote changes in the terminal bulb (cyan) and corpus (orange). (<bold>I</bold>) Correlation between the average pumping rates for the expert annotator and PharaGlow (N=11 animals). (<bold>J</bold>) Deviation of the number of events between the expert and PharaGlow reported as the number of events in 10 s, a typical time period used in manually counted experiments.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig1-v2.tif"/></fig><p>By using a low magnification of 1x, we could image a field of view of 7 by 5 mm, corresponding to multiple body lengths of the worms (<xref ref-type="fig" rid="fig1">Figure 1A</xref>). We simultaneously imaged tens of animals (typically 30–50) as they crawled and analyzed their behavior off-line using our custom analysis software (<xref ref-type="fig" rid="fig1">Figure 1B</xref>; <xref ref-type="video" rid="video1">Video 1</xref>). The analysis pipeline combines a particle-tracking workflow with custom shape segmentation of the fluorescent pharynx (<xref ref-type="fig" rid="fig1">Figure 1C</xref>). After detecting and tracking the pharynges in the field of view, the contour and centerlines are fitted. The centerline and width are used to virtually straighten the animal (<xref ref-type="fig" rid="fig1">Figure 1D</xref>). We then extract a pump metric from the straightened images based on the standard deviation of the fluorescence along the dorso-ventral axis (DV-axis) of the animal, which reflects pumping events (<xref ref-type="fig" rid="fig1">Figure 1E and F</xref>). By averaging images during these putative detected pumping events, we determined that this metric is sensitive to the opening of the pharyngeal lumen and contraction of the terminal bulb and thus indeed corresponds to pumping events (<xref ref-type="fig" rid="fig1">Figure 1G</xref>).</p><media mimetype="video" mime-subtype="mp4" id="video1" xlink:href="elife-77252-video1.mp4"><label>Video 1.</label><caption><title>GRU101 worm pumping with the pumping metric shown.</title></caption></media><p>Although the low magnification (1x) we use to image the animals allows us to increase the number of observed animals, this could compromise pumping detection. To determine how accurate our software detects pumping in these imaging conditions, we compared the results of our automated method and a manual annotator. Since manual annotation of pumping rates is still widely used, but practiced at higher magnifications, we simultaneously imaged worms at a magnification of 10x (pixel size 240 nm/px) in bright field and fluorescence (<xref ref-type="fig" rid="fig1">Figure 1H</xref>; <xref ref-type="video" rid="video2">Video 2</xref>). A human expert counted pumps in the videos acquired using the bright-field channel. We then ran our automated analysis on the video acquired on the fluorescence channel, but downscaled to 1x (pixel size 2.4 µm/px). We found that PharaGlow was able to accurately detect pumping in these videos, and the resulting rate and counts were in agreement with the human expert. Both methods result in a comparable mean pumping rate for the animals counted (<xref ref-type="fig" rid="fig1">Figure 1I</xref>), with a deviation between the human and automated results of less than 2 pumps per 10 s (<xref ref-type="fig" rid="fig1">Figure 1J</xref>). To score a typical experiment of 30 animals over 5 min of recording time, the human experimenter would need, at best, to count for at least 150 min of data (real time). This time is regularly longer, as accurate counting often requires scrutinizing the recordings in slow motion or visualizing the same part of the recording several times. PharaGlow is therefore able to automatically and reliably detect pumping in low-resolution, large field of view images, enhancing the number of animals which can be scored simultaneously.</p><media mimetype="video" mime-subtype="mp4" id="video2" xlink:href="elife-77252-video2.mp4"><label>Video 2.</label><caption><title>Simultaneous bright-field (top-left) and fluorescence imaging (top-right) of a freely moving GRU101 worm at ×10 magnification.</title><p>Downscaled fluorescent images (×1 magnification; bottom-left) and resulting pumping events detected by PharaGlow (bottom-right).</p></caption></media></sec><sec id="s2-2"><title>Developmental pumping</title><p>Having developed this new high-throughput method which enables accurate measurements of many animals simultaneously, we wondered how pumping changes over the course of development, where the animal changes its size and its energy needs. During development, the pharynx grows with the body (<xref ref-type="bibr" rid="bib39">Knight et al., 2002</xref>), but the ratio between pharynx and body length decreases from L1 stage to adulthood (<xref ref-type="bibr" rid="bib6">Avery and Shtonda, 2003</xref>). To investigate how pumping rates change during development, we imaged cohorts of synchronized worms consecutively over three days in the middle of each of the four larval stages and as young adults (YA). Animals were imaged directly on their culturing plates while moving freely in the field of view (<xref ref-type="fig" rid="fig2">Figure 2A</xref>). We accounted for the growing pharynx by adapting the magnification of our imaging system to achieve approximately the same spatial sampling of the pharynx at each stage (<xref ref-type="fig" rid="fig2">Figure 2B</xref>). Under these conditions, we were able to sample at least 150 trajectories per developmental stage. Altogether, more than 1000 animal tracks remained after filtering animals that spend less than one minute in the field of view. Filtering leads to over-proportionally reducing young adult trajectories since these animals traverse the field of view quickly despite the spatially proportional scaling. Nevertheless, we obtain large samples of animals due to new animals continually entering, with a total measured time of four animal-hours for the adult stage, and more than 10 animal-hours for the L1 stage. The average track duration is well over one minute with 1.9 ± 0.9 min (mean ±s.d.) for L1 and 1.6 ± 0.6 min for adults (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1</xref>). These data represent up to two orders of magnitude more single worm pumping data than is obtainable with conventional methods (see <xref ref-type="table" rid="table1">Table 1</xref>).</p><fig-group><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>Changes in pumping and locomotion during larval development.</title><p>(<bold>A</bold>) Trajectories of 10 randomly selected animals at different larval stages (<bold>L1–L4</bold>) and young adults (YA). All scale bars correspond to 1 mm (top). (<bold>B</bold>) Size of the larvae and YA at the same scale (outlines, top) compared to the equal sizing achieved by adjusting the magnification (bottom). The image corresponds to the red track from (<bold>A</bold>). (<bold>C–E</bold>) Time-averaged mean velocity (<bold>C</bold>), (<bold>D</bold>) mean pumping rate, and reversals (<bold>E</bold>) for all animals. The boxplots follow Tukey’s rule where the middle line indicates the median, the box denotes the first and third quartiles, and the whiskers show the 1.5 interquartile range above and below the box. The number of tracklets per developmental stage are shown in (<bold>E</bold>), with N=6 independent replicates per condition. (<bold>F</bold>) Relative change in the animal’s area compared to the mean area of the YA stage (top) and relative change in velocity (blue) and pumping rate (orange) across development compared to the mean of the YA stage (bottom). Error bars denote s.d. (<bold>G</bold>) Pumping rate distribution for all larval stages as calculated by counting pumping events in a sliding window of width = 10 s and combining data from all animals of the same stage. The YA pumping rate distribution is underlaid in gray. (<bold>H</bold>) Pumping frequency distribution of individual worms for different developmental stages and YA.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-v2.tif"/></fig><fig id="fig2s1" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 1.</label><caption><title>Track duration and number of tracked animals per experiment.</title><p>(<bold>A</bold>) Mean track duration per experiment across larval stages (N=6 plates per larval stage). Error bars denote s.d. between plates. (<bold>B</bold>) Correlation between the number of animals initially in the field of view, and the resulting number of tracks (N=6 plates per larval stage). The dashed line denotes unity. Error bars denote s.d. between plates.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-figsupp1-v2.tif"/></fig><fig id="fig2s2" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 2.</label><caption><title>Reversal rates across development.</title><p>(<bold>A</bold>) Area of the pharynx as measured by thresholding and segmentation. Sample sizes are given in panel (<bold>B</bold>). (<bold>B</bold>) Reversal rates throughout development are detected by comparing the nose-tip motion to the center of mass motion. Rates were rescaled to reversals per 10 min to allow comparison to other studies. Error bars denote s.e.m. Significant differences between stages are indicated as ** (p&lt;0.01) and *** (p&lt;0.001), and exact p-values are reported in each panel for all p-values &lt;0.01 (Welch’s unequal variance two-tailed t-test). Number of animal tracks is shown in parenthesis.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-figsupp2-v2.tif"/></fig><fig id="fig2s3" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 3.</label><caption><title>Only a mild leaving was induced by light.</title><p>Mean number of animals in the field of view during the recording. Shaded: average across plates (N=6 plates per condition), line: smoothed (averaging window = 10 s).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-figsupp3-v2.tif"/></fig><fig id="fig2s4" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 4.</label><caption><title>Possible light-induced behavioral changes.</title><p>(<bold>A</bold>) Pharyngeal area of the detected animals for the group of animals that were imaged once (dark blue) or multiple times (light blue). (<bold>B</bold>) Velocity, (<bold>C</bold>) reversal rate and (<bold>D</bold>) pumping rate for the same two cohorts. p-values are reported at the bottom for all p-values &lt;0.01. (Welch’s unequal variance two-tailed t-test). The sample size of each group was L1 (191/144), L2 (132/153), L3 (87/114), L4 (112/59), and YA (38/142), for N<sub>multiple</sub>,/N<sub>Single</sub>, respectively. Significant p-values are explicitly reported in the figure, all other pairwise comparisons were not significant (Welch’s unequal variance two-tailed t-test).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-figsupp4-v2.tif"/></fig><fig id="fig2s5" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 5.</label><caption><title>Pumping detection is robust at two different excitation wavelengths.</title><p>Animals expressing either YFP (blue) or mCherry (red) were imaged on food and analyzed using PharaGlow. The pumping rates are not significantly different (Welch’s unequal variance two-tailed t-test).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-figsupp5-v2.tif"/></fig><fig id="fig2s6" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 6.</label><caption><title>Detection accuracy for all developmental stages.</title><p>(<bold>A</bold>) Manually counted pumping events for 10 worms per stage (color coded) from two independent experts compared to the automated tracking. Counts of each expert are shown as a circle or triangle. The dashed line indicates unity; the dotted lines denote a 0.5 Hz difference in the resulting pumping rate. (<bold>B</bold>) The mean pumping rates per developmental stage from the experts and automated method (N=10 animal tracks per stage). The error bars are s.d. between animal tracks. The two expert counts were averaged to obtain one mean count per animal. The dashed line indicates unity; the dotted lines denote a 0.5 Hz rate difference.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig2-figsupp6-v2.tif"/></fig></fig-group><p>We find that on-food pumping rates increase slightly over the course of the larval stages, but much less dramatically than the velocity increases over development, despite the substantial growth of both the body and the pharyngeal muscles (<xref ref-type="fig" rid="fig2">Figure 2C–F</xref>). Owing to time resolution and the large number of individual worms that can be analyzed using PharaGlow, it is possible to generate smooth probability density functions of pumping across the different larval stages (<xref ref-type="fig" rid="fig2">Figure 2G</xref>). A small fraction of animals did not show pumping during our recording (<xref ref-type="fig" rid="fig2">Figure 2H</xref>, 5 animal tracks in L1 with &lt;0.5 Hz, &lt;1% for all other conditions). We wondered if we had captured animals during lethargus, the period of sleep preceding each molt despite choosing the imaging time points in the middle of each larval stage and working with an age synchronized population. However, lethargus is incompatible with the observed velocities of these animals. Alternatively, it is possible that these animals transiently show satiety quiescence, which might be absent under these conditions in the larger YA population (<xref ref-type="bibr" rid="bib70">You et al., 2008</xref>; <xref ref-type="bibr" rid="bib26">Gallagher et al., 2013</xref>; <xref ref-type="bibr" rid="bib19">Davis et al., 2018</xref>).</p><p>As we image unrestrained animals, we can simultaneously assess pumping and locomotor behaviors. Animals move forward on agar by generating waves of muscular contraction through their body. When the animals reverse the direction of these waves, they move backwards. Such spontaneous reversals are rare events, but can be triggered by diverse stimuli, such as nose touch (<xref ref-type="bibr" rid="bib13">Chalfie et al., 1985</xref>) or heat (<xref ref-type="bibr" rid="bib71">Zhao et al., 2003</xref>). The reversal rate depends also on the food condition and the developmental stage of the animal. In the absence of food, the reversal rate is higher in young adults than in larvae (about 45 events vs 30 events in 10 min), but constant throughout larval development (<xref ref-type="bibr" rid="bib14">Chiba and Rankin, 1990</xref>). In our on-food measurements, we find some significant differences in reversal rates, however, the effect size is small (e.g. corresponding to a rate of 47 vs 49 pumps/10 min between L2 and L3 animals). The only strong difference appears between the earlier larvae L1-L3 and the later L4/young adult stages with a difference of approximately 10 reversals /10 min (<xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2</xref>).</p><p>We investigated whether extended exposure to light might affect worm behaviors by monitoring the amount of reversals, pumping rate, and speed. Our results suggest that there is a mild light avoidance reaction (5–25%) which depends on the developmental stage (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3</xref>). Repeated exposure did not affect behavior in most developmental stages, except for the young adult stage, for which a higher velocity was observed when exposed to light multiple times (<xref ref-type="fig" rid="fig2s4">Figure 2—figure supplement 4</xref>). Additionally, we tested whether light exposure caused phototoxic effects. Long-term exposure (up to 5 hr) did not affect worm viability. Lastly, different excitation light did not affect the pumping rate, but had a mild impact on velocity (<xref ref-type="fig" rid="fig2s5">Figure 2—figure supplement 5</xref>; see Appendix for details).</p><p>Overall, we find that our imaging approach can be adapted to larvae by increasing the magnification, and our analysis pipeline is capable of handling data from hundreds of animals. While there are small deviations between the automated detection and human counted data (<xref ref-type="fig" rid="fig2s6">Figure 2—figure supplement 6</xref>), we accurately detect both mean and individual rates for all stages, with a median of error between experts and our method of less than 10%. Over the course of three days and five imaging sessions, more than 1000 animals were tracked, significantly more than can be achieved with comparable methods (<xref ref-type="table" rid="table1">Table 1</xref>).</p></sec><sec id="s2-3"><title>Food intake is modulated by starvation</title><p>Next, we wanted to determine if our method was robust to changes in locomotion and plate context, allowing a wider range of applications such as investigating starvation or different pharmacological treatments without the presence of a bacterial food source. Off-food locomotion is faster (<xref ref-type="bibr" rid="bib21">Dillon et al., 2016</xref>; <xref ref-type="bibr" rid="bib28">Gray et al., 2005</xref>), and pumping irregular (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>; <xref ref-type="bibr" rid="bib55">Scholz et al., 2016</xref>), which could potentially be more challenging for detecting pumping. Prior work showed that pumping rates off food are lower, but increase over the course of starvation and that this increase is mediated by a cholinergic pathway (<xref ref-type="bibr" rid="bib69">You et al., 2006</xref>). We track animals either on-, or off food over an increasing amount of starvation time and extract behavioral dynamics (<xref ref-type="fig" rid="fig3">Figure 3A–D</xref>). We confirm that pumping is dependent on the starvation duration, with a reduction in pumping rate over the course of three hours (<xref ref-type="fig" rid="fig3">Figure 3B, D</xref>). Beyond the first time point, our data are consistent with prior data (<xref ref-type="bibr" rid="bib69">You et al., 2006</xref>), showing a sustained rate of around 2–2.5 Hz (<xref ref-type="fig" rid="fig3">Figure 3E</xref>). Previously, rates measured immediately after transferring worms off food (&lt;30 min of starvation) were very low, possibly due to a lasting pumping suppression after harsh touch (<xref ref-type="bibr" rid="bib37">Keane and Avery, 2003</xref>), which we avoid by washing worms off plates instead of picking (see Methods).</p><fig-group><fig id="fig3" position="float"><label>Figure 3.</label><caption><title>Pumping is modulated by starvation.</title><p>(<bold>A</bold>) Example trajectories of worms after 30 min starvation (blue) or 30 min continuously on food (red), N=10. (<bold>B</bold>) The pumping rate distributions for the conditions in (<bold>A</bold>) for all animals (N<sub>starved</sub> = 33, N<sub>onFood</sub> = 111). (<bold>C</bold>) Same as (<bold>A</bold>) but for animals starved, or kept on food for 210 min. (<bold>D</bold>) The pumping rate distributions corresponding to (C; N<sub>starved</sub> = 33, N<sub>onFood</sub> = 85). (<bold>E</bold>) Velocity, reversal rate, and pumping rate for animals starved and on-food controls. The sample size is given in the bottom panel. *** indicates <italic>P</italic>&lt;0.001 (Welch’s unequal variance two-tailed t-test). The sample size is given in parentheses in the bottom panel. (<bold>F</bold>) Joint distribution of velocity and pumping rate for increasing starvation times. The cross indicates the mean (red) and standard deviation (white). The density is normalized by sample number. (<bold>G</bold>) Distribution of instantaneous pumping rates for each animal (tracklet). Rows are sorted by the mean pumping rate to aid visualization.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig3-v2.tif"/></fig><fig id="fig3s1" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 1.</label><caption><title>Pumping and velocity correlation on food.</title><p>Correlation between velocity and pumping rate for increasing times on food. The cross indicates the mean (red) and standard deviation (white). The density is normalized by sample number.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig3-figsupp1-v2.tif"/></fig></fig-group><p>As we are able to measure pumping and locomotion behaviors simultaneously, we wanted to see if we could observe co-regulation of locomotion and feeding off-food. When taken off of food, <italic>C. elegans</italic> displays a restricted area search (local area search) which is characterized by frequent turns and reversals and an elevated speed (<xref ref-type="bibr" rid="bib28">Gray et al., 2005</xref>; <xref ref-type="bibr" rid="bib31">Hills et al., 2004</xref>; <xref ref-type="bibr" rid="bib52">Sawin et al., 2000</xref>; <xref ref-type="bibr" rid="bib11">Calhoun et al., 2014</xref>). This behavior lasts between 30 and 60 min, after which animals switch to longer runs that cover more area, which is a strategy for dispersal (<xref ref-type="bibr" rid="bib31">Hills et al., 2004</xref>; <xref ref-type="bibr" rid="bib67">Wakabayashi et al., 2004</xref>). Interestingly, for starved worms at 30 and 90 min, the joint distribution of pumping rates and velocities show distinct sub-populations (<xref ref-type="fig" rid="fig3">Figure 3F</xref>). For longer starvation durations, the population becomes homogeneous with a well-defined mean pumping rate and speed. For the shortest starvation time point we sampled, we see a mixed population with distinct speeds and pumping rates, possibly reflecting some animals that are still performing a local search and others that are not. This is consistent with the fact that these distinct populations are not apparent in worm populations that stay on food (<xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1</xref>).</p><p>To further investigate the origin of the two sub-populations observed at short starvation time, we analyzed the pumping rate distributions of individual animals (<xref ref-type="fig" rid="fig3">Figure 3G</xref>). Taken together, the data suggests that at 30 min starvation, a fraction of the animals show low speeds and pumping rates, and the remainder are in a high-speed, high pumping state (<xref ref-type="fig" rid="fig3">Figure 3F, G</xref>). This suggests two possible interpretations. First, it is possible that, with increasing starvation time, a subset of animals transitions to lower pumping rates until all animals show a similar pumping rate distribution with an average of ~2 Hz. Alternatively, the two sub-populations could result from transient behavioral changes among animals to high pumping rates. These transitions would occur less frequently with increasing starvation time. To discern among these two possibilities would require measuring single animals over longer periods of time. Further studies are required to reveal these population dynamics upon starvation.</p></sec><sec id="s2-4"><title>Long-term recording of mating animals</title><p>Having established that PharaGlow can robustly detect locomotion and pumping behaviors across a range of conditions, we wanted to test if it is a suitable tool for long-term recordings. As a proof of principle, we imaged the interactions of a male and a hermaphrodite over the course of 74 min at 30 fps (<xref ref-type="fig" rid="fig4">Figure 4A and B</xref>).</p><fig-group><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Long-term imaging of mating animals.</title><p>(<bold>A</bold>) Composite image of the two animals in the arena while exposed to bright-field illumination and exciting fluorescence of YFP using green light. On the right, the hermaphrodite, on the left the male identifiable by its smaller size and its tail with sensory rays and fan. (<bold>B</bold>) Trajectories obtained from the full recording of the male (blue) and hermaphrodite (red). (<bold>C</bold>) Example mating events. (<bold>D</bold>) Behavioral measures for 1 hr of data. The distance between the animals, the reversal events, pumping rate, and velocity are shown for the hermaphrodite and the male. The male shows an extended period of quiescence (orange arrow). (<bold>E</bold>) Behavioral measures for 10 min of data and (<bold>F</bold>) 100 s of data corresponding to the mating event 1 in panel (<bold>C</bold>). (<bold>G</bold>) Velocity distribution and (<bold>H</bold>) pumping rate distribution for the male and hermaphrodite.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig4-v2.tif"/></fig><fig id="fig4s1" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 1.</label><caption><title>Bleaching of YFP.</title><p>Bleaching of YFP fluorescence during continuous acquisition at 30 FPS (×1 magnification). Stroboscopic illumination was used (5ms light pulses; see Methods). Average of N=11 worms. Individual worm bleaching curves were normalized to unity at <italic>t</italic>=0. The fit to an exponential decay function yields a decay rate of 410±47 min (95% confidence bounds). Error bars indicate sem across worms.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig4-figsupp1-v2.tif"/></fig></fig-group><p>As the resulting data volume would have been prohibitive, we implemented a live segmentation method that allowed us to only store the animals coordinates and the region of interest around each animal (<xref ref-type="video" rid="video3">Videos 3</xref> and <xref ref-type="video" rid="video4">4</xref>; Methods). We then calculated the distance between the animals, allowing us to identify mating events (<xref ref-type="fig" rid="fig4">Figure 4C and D</xref>). We find that the animals frequently interact over the course of 1 h with multiple close encounters (<xref ref-type="fig" rid="fig4">Figure 4D</xref>). The male also showed a long period of quiescence in both locomotion and pumping rate. Overall, the animals are closer at the beginning of the recording, but later spend time at larger distances (<xref ref-type="fig" rid="fig4">Figure 4E</xref>, left and right panels). Despite the long imaging duration, we still observe pumping at the end of the recording, indicating that we have sufficient signal remaining to detect pumping events. We confirm this observation by calculating photo-bleaching curves. We find that the decay time of the signal is 410±47 min (<xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1</xref>), which indicates that it is possible to do continuous imaging over multiple hours. In this case, the recording was limited by the male escaping the enclosure, rather than loss of signal.</p><media mimetype="video" mime-subtype="mp4" id="video3" xlink:href="elife-77252-video3.mp4"><label>Video 3.</label><caption><title><italic>eat-18</italic> worm pumping.</title></caption></media><media mimetype="video" mime-subtype="mp4" id="video4" xlink:href="elife-77252-video4.mp4"><label>Video 4.</label><caption><title>Live segmentation of worms.</title><p>The program stores only the segmented worms from individual images and their xyzt coordinates to reduce storage requirements by several orders of magnitude thus allowing uninterrupted recordings for hours at 30 FPS.</p></caption></media><p>Having this multi-scale data allows observing both large-scale structure and smaller events in the data. We further examined the mating event displayed in <xref ref-type="fig" rid="fig4">Figure 4C</xref>. During the encounter, the male shows a larger velocity and performs many long reversals when the animals are close, as is typical for a mating attempt. It is also interesting to note that pumping does not completely cease during the attempt (<xref ref-type="fig" rid="fig4">Figure 4F</xref>). Despite being in the same arena, and covering most of the enclosure during the recording (<xref ref-type="fig" rid="fig4">Figure 4B</xref>), the velocity and pumping distributions differ strongly between the two animals (<xref ref-type="fig" rid="fig4">Figure 4G and H</xref>). While the distributions of the male are dominated by the long quiescence period, the hermaphrodite overall shows a bi-modal rate distribution with some infrequent pumping at 4 Hz. PharaGlow is therefore able to track behavior over more than an hour, and keep the identity of animals given that these are constrained to the field of view.</p></sec><sec id="s2-5"><title>Feeding mutants</title><p>A desired capability for a high-throughput feeding tool is the ability to faithfully detect pumping rates in mutant animals which might have different pharyngeal contraction patterns and body motion, potentially increasing the difficulty of detecting pumping events. To determine if PharaGlow could faithfully detect pumping and locomotion in mutant animals, we wanted to assay a range of feeding and locomotion phenotypes. We therefore selected mutants with reported constitutively high (<italic>unc-31</italic>) or reduced (<italic>eat-18</italic>) pumping rates and different locomotory patterns (<xref ref-type="bibr" rid="bib49">Raizen et al., 1995</xref>; <xref ref-type="bibr" rid="bib43">McKay et al., 2004</xref>; <xref ref-type="bibr" rid="bib5">Avery et al., 1993</xref>). UNC-31 is involved in dense-core vesicle release, and <italic>unc-31</italic> mutant animals display reduced, uncoordinated locomotion on food (<xref ref-type="fig" rid="fig5">Figure 5A</xref>). We confirm that <italic>unc-31(e928</italic>) and <italic>unc-31(n1304</italic>) animals pump at rates comparable to wildtype. However, we see a bimodal distribution of rates with a fraction of animals showing markedly lower rates (<xref ref-type="fig" rid="fig5">Figure 5B</xref>). By looking at the individual animals' pumping rates, we find that <italic>unc-31</italic> animals show long pauses in pumping, unlike wt animals (<xref ref-type="fig" rid="fig5">Figure 5F</xref>).</p><fig-group><fig id="fig5" position="float"><label>Figure 5.</label><caption><title>Automated pumping detection in feeding mutants.</title><p>(<bold>A</bold>) Example trajectories of tracked animals (N=20, except N=18 for <italic>eat-18(ad820</italic>)). (<bold>B</bold>) Velocity, reversal rate and pumping rate for all genotypes. The sample size is given in parentheses in the bottom panel. (<bold>C</bold>) Mean and standard deviation of the pharyngeal areas relative to wt. (<bold>D</bold>) Pumping metric for a representative sample animal per genotype. Arrows in the <italic>eat-18(ad820</italic>) trace denote slow contractions. (<bold>E</bold>) Average peak shape of the pumping signal for wt (blue) and <italic>eat-18(ad820</italic>) (orange). The shaded area denotes s.d. (<bold>F</bold>) Pumping rate distributions. The wt pumping rate distribution is underlaid in dark blue. (<bold>G</bold>) Heatmap of the pumping rates for animals recorded over 2 h. (<bold>H</bold>) Heatmap thresholded to determine ‘fast pumping’ (defined as pumping rate &gt;2.5 Hz) and ‘slow’ states. (<bold>I</bold>) Fraction of time spent in fast pumping of each animal and (<bold>J</bold>) the number of state transitions (slow to fast and fast to slow) for each animal in (<bold>H</bold>). Significant differences between a mutant and wt are indicated as * (p&lt;0.05), *** (p&lt;0.001) and **** (p&lt;0.0001). Welch’s unequal variance two-tailed t-test was for the large sample size measurements (<bold>B, C</bold>). For (<bold>I–J</bold>) significance differences were assessed with the Mann-Whitney-U test.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig5-v2.tif"/></fig><fig id="fig5s1" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 1.</label><caption><title>Peak-triggered average of the pumping metric.</title><p>(<bold>A</bold>) Average of the pumping metric around the detected peaks of N=10 randomly selected sample animal tracks. The shaded area denotes the standard deviation. (<bold>B</bold>), (<bold>C</bold>), (<bold>D</bold>) same as (<bold>A</bold>) but the wildtype peak shape is underlaid in dark blue.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig5-figsupp1-v2.tif"/></fig><fig id="fig5s2" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 2.</label><caption><title>Pumping rate autocorrelation.</title><p>Autocorrelation of the pumping rate for the multi-hour imaging. Individual traces (colored lines) and sample mean across all measurements (black). The dashed line denotes the time at which the autocorrelation is statistically not distinguishable from zero. N=13, 12, and 12 independent animals for wt, <italic>unc-31(e928</italic>) and <italic>unc-31(n1304</italic>), respectively.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77252-fig5-figsupp2-v2.tif"/></fig></fig-group><p>In contrast to <italic>unc-31</italic>, <italic>eat-18</italic> mutant animals have no previously reported locomotor defects, but pump slower than wildtype (<xref ref-type="bibr" rid="bib43">McKay et al., 2004</xref>). EAT-18 is expressed in the pharyngeal muscle and interacts with a nAChR subunit EAT-2 to form a functional acetylcholine receptor (<xref ref-type="bibr" rid="bib49">Raizen et al., 1995</xref>; <xref ref-type="bibr" rid="bib15">Choudhary et al., 2020</xref>). Feeding impaired mutants were previously reported to have reduced body lengths and widths (<xref ref-type="bibr" rid="bib45">Mörck and Pilon, 2006</xref>). As expected, we found that <italic>eat-18</italic> animals were smaller (<xref ref-type="fig" rid="fig5">Figure 5C</xref>) and developed more slowly (approximately 91 hr from egg to adulthood compared to 63 hr for wildtype). While we detected pumping events at an average rate of 1 Hz, the animals showed a different contraction pattern and timing than either <italic>unc-31</italic> or wt animals (<xref ref-type="fig" rid="fig5">Figure 5D and E</xref>). We confirmed that <italic>eat-18(ad820</italic>) animals lack the ability to perform fast pumping bursts (<xref ref-type="fig" rid="fig5">Figure 5B and F</xref>) and the duration of a pharyngeal contraction is approximately doubled compared to wt (<xref ref-type="fig" rid="fig5">Figure 5E</xref>, <xref ref-type="fig" rid="fig5s1">Figure 5—figure supplement 1</xref>, <xref ref-type="video" rid="video3">Video 3</xref>). We do observe a higher pumping rate than previously reported for <italic>eat-18</italic>, where animals were reported to rarely pump during experiments (&lt;0.5 Hz, <xref ref-type="bibr" rid="bib49">Raizen et al., 1995</xref>; <xref ref-type="bibr" rid="bib43">McKay et al., 2004</xref>). To verify that the detected motion is pumping and not peristaltic movements or other non-pharyngeal muscular motion, we verified the rate by inspecting individual videos. When verifying these sample animals, we did observe slow pumping bursts at the 1–2 Hz rates indicated by PharaGlow, suggesting that these animals are able to pump at this frequency (<xref ref-type="fig" rid="fig5">Figure 5E</xref>, arrows and <xref ref-type="video" rid="video3">Video 3</xref>). We also found that <italic>eat-18</italic> animals showed significantly fewer reversals than wildtype, indicating a role for the nAch receptor in modulating reversals. This is likely mediated by extrapharyngeally located neurons, since <italic>eat-18</italic> is reported to show expression not only in the pharyngeal muscle, but also in some unidentified somatic neurons (<xref ref-type="bibr" rid="bib43">McKay et al., 2004</xref>).</p><p>Considering the split distribution of mean pumping rates we observed for <italic>unc-31</italic> in our short term (5 min) recordings (<xref ref-type="fig" rid="fig5">Figure 5B</xref>), we wondered if these distributions reflect a persistent difference between animals or if instead the animals perform infrequent switches between high - and low pumping rate states. We therefore tracked animals for at least three hours on food, restrained to our field of view using a copper enclosure. By confining only a few animals (&lt;5 in the field of view), we were able to maintain animal identity over the course of the experiment (see Methods) and quantify their pumping rate over at least 2 hr (<xref ref-type="fig" rid="fig5">Figure 5G</xref>). If the population reflects a snapshot of the overall dynamics, a large population measured for a short period of time should result in similar pumping rates as a few animals measured over long time periods. To test this hypothesis, we quantified the autocorrelation of the pumping rate for single worms revealing that pumping rates were correlated for different time scales for <italic>wt</italic> and <italic>unc-31</italic> mutants, with the <italic>unc-31</italic> mutants showing a more persistent pumping behavior (<italic>τ</italic>=9.6 min for <italic>unc-31(e928</italic>) and <italic>τ</italic>=11.0 min for <italic>unc-31(n1304</italic>)) compared to wt (<italic>τ</italic>=7.9 min) (<xref ref-type="fig" rid="fig5s2">Figure 5—figure supplement 2</xref>). These data indicate that on-food pumping rates are autocorrelated over multi-minute time-scales.</p><p>To further investigate the different persistence of pumping across the different animals, we quantified the transitions between states of pumping and no or low pumping rates. We define a ‘fast’ state as a period at which the animals pump at &gt;2.5 Hz and ‘off’ states as the converse (see also a similar analysis in <xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>). Wild-type animals displayed frequent switching between low and high pumping rates (<xref ref-type="fig" rid="fig5">Figure 5H and J</xref>). In contrast, <italic>unc-31</italic> animals displayed infrequent switches, consistent with prior reports of constitutive pumping (<xref ref-type="bibr" rid="bib5">Avery et al., 1993</xref>) and the role of neuropeptides such as PDF in regulating switches between foraging states (<xref ref-type="bibr" rid="bib24">Flavell et al., 2013</xref>). Taken together, these results show that studying the underlying behaviors and dynamics in a worm population requires large statistics and long recordings. Depending on the desired data, both long-term recordings and short-term high-throughput measurements are accessible with PharaGlow.</p></sec><sec id="s2-6"><title>Limitations and requirements</title><p>Using a combination of low-magnification fluorescence imaging and dedicated analysis software, we show that it is possible to perform high-throughput, automated pumping detection of worms crawling on standard culture plates. There are some limitations to the method that are due to the reliance on a fluorescent indicator in the pharyngeal muscle and the handling of the large datasets that are generated. We find that uneven plates or improper focus leads to low signal-to-noise ratios. With careful focusing, imaging the center of evenly poured plates and using our custom peak detection method that is adaptive to the image quality (see Methods), these pitfalls can be mitigated. Additionally, once at focus, small variations of the worm height do not affect the result, as low-magnification imaging results in a large depth of field.</p><p>As it is necessary for our approach to label the pharynx, mutant characterization with our tool would require crossing all possible mutants with a fluorescent reporter strain, and albeit labor intensive this is nonetheless still a standard genetic practice when a reporter is used. While most experiments in this paper were performed with a homozygous, integrated reporter background (<italic>gnaIs1</italic>), we have also used extrachromosomal arrays with success (<xref ref-type="fig" rid="fig2s5">Figure 2—figure supplement 5</xref>), which allows the use of animals that have a <italic>myo-2</italic> reporter as a co-injection marker, for example. In addition, since our tool relies on the detection of fluorescent protein, siblings losing the transgene on the plate will not interfere with the analysis.</p><p>To maximize the field of view, we have chosen the smallest spatial resolution at which we could reliably detect pumping in wildtype adults. To ensure detection in smaller animals, increasing the magnification in these cases is recommended, as we did to detect pumping in larvae. The final requirement is related to data management and handling. While the hardware requirements are restricted to equipment commonly available in many laboratories (a fluorescence dissecting microscope or a epifluorescence microscope and a Megapixel camera are needed), the data rate of the large area scan cameras is &gt;6 GB/min. On a 4-core laptop, the expected analysis time is approximately 8 hr for 150 worm-minutes of data. While the analysis can be run on a laptop or desktop computer, runtime is much improved when using a computing cluster (see Supplementary materials).</p></sec></sec><sec id="s3" sec-type="discussion"><title>Discussion</title><p>We developed a microscopy protocol and customized image analysis software that enables simultaneous measurements of locomotion and feeding in unrestrained animals. We are able to accurately detect pumping rates in populations of animals on plates at single-worm, single-pump resolution. Our fully automatic method provides an increase in throughput by more than one order of magnitude, and does not require any laborious handling of the animals or microfluidic devices. As our imaging does not adversely affect worms, animals can be imaged multiple times, as we demonstrated by following pumping in a population of developing animals or can be imaged continuously for hours as shown for the mating animals. In addition, by enabling measurements of unrestrained animals directly on agarose plates, our approach creates opportunities for studying novel behaviors, such as foraging in complex environments (<xref ref-type="bibr" rid="bib22">Ding et al., 2020</xref>; <xref ref-type="bibr" rid="bib33">Iwanir et al., 2016</xref>) or behavioral coordination (<xref ref-type="bibr" rid="bib12">Cermak et al., 2020</xref>; <xref ref-type="bibr" rid="bib30">Hardaker et al., 2001</xref>).</p><p>Using our method, we were able to detect quiescent episodes in all four larval stages that were absent in the young adult. It will be interesting to study the food needs at different stages and how feeding is regulated on the scale of minutes. To understand the neural basis of feeding, resolving the decisions underlying feeding behavior is required (<xref ref-type="bibr" rid="bib56">Scholz et al., 2017</xref>; <xref ref-type="bibr" rid="bib36">Katzen et al., 1983</xref>). However, current bulk methods capable of extracting population averages of pumping rates are insufficient to understand underlying neural activity, as the data lack the temporal resolution to correlate pumping with neural activity. Additionally, it is desirable to image animals in their normal culturing environments to compare feeding behaviors to established baselines for example, for velocity and reversals. Our method enables the quantification of pumping activity, in multiple animals simultaneously, as a marker of feeding behavior in <italic>C. elegans</italic>.</p><p>An essential requirement for the broad applicability of such a tool is its use for genetic and pharmacological screens. We demonstrated the suitability of our tool for studying the pumping and locomotory behaviors of <italic>unc-31</italic> and <italic>eat-18</italic> animals. We could identify a bimodal distribution of pumping rates for <italic>unc-31</italic> mutants with some animals showing low rates for the duration of the recording. This indicates that while these animals are capable of fast pumping, they do not show the same temporal regulation as N2 animals, which show rapid transitions between slow and fast pumping, and pump fast most of the time at high food levels (<xref ref-type="bibr" rid="bib56">Scholz et al., 2017</xref>). We could also reveal a previously unreported alteration in pump duration for <italic>eat-18</italic> animals. Surprisingly, during confirmation of the feeding defect, we also discovered a previously unreported locomotion defect, hinting at a broader function for <italic>eat-18</italic> possibly outside of the pharynx.</p><p>Additionally, PharaGlow enables easy pharmacological screens on plates, by allowing experimenters to directly apply compounds to culture plates without requiring microfluidics or immobilization. Immobilization often requires the addition of serotonin (5-HT) to stimulate pumping, as pumping is suppressed in restrained animals (<xref ref-type="bibr" rid="bib64">Takahashi and Takagi, 2017</xref>). It is likely that observed feeding defects differ between crawling, food-stimulated animals and serotonin-stimulated animals (<xref ref-type="bibr" rid="bib40">Lee et al., 2017</xref>), and that new experiments will be effective in identifying phenotypes that went unnoticed in immobilized preparations.</p><p>To mimic realistic foraging situations would require extending the foraging arena by supplying variable patches of food, and providing a more interesting landscape rather than a homogenous 2D plate environment. Patch foraging has been extensively studied in <italic>C. elegans</italic>, both with respect to entry into single patches (<xref ref-type="bibr" rid="bib36">Katzen et al., 1983</xref>; <xref ref-type="bibr" rid="bib24">Flavell et al., 2013</xref>; <xref ref-type="bibr" rid="bib33">Iwanir et al., 2016</xref>) and food choice (<xref ref-type="bibr" rid="bib36">Katzen et al., 1983</xref>; <xref ref-type="bibr" rid="bib44">Milward et al., 2011</xref>; <xref ref-type="bibr" rid="bib16">Dal Bello et al., 2021</xref>), although these studies focused on locomotion rather than pumping rates. Testing models of patch foraging and their predictions (<xref ref-type="bibr" rid="bib18">Davidson and El Hady, 2019</xref>) while explicitly including measured food intake will help better define the limits in which simple models of foraging are applicable. Moreover, this would ideally expand our understanding of the underlying strategies learned or inherited by worms living in different environments. Technically, current imaging limitations, such as the field of view, can be extended by using larger camera arrays, which will enable scanning across multiple centimeter-sized fields of view. These experiments would also require long-term imaging of the animals to observe transitions between food patches, which is possible using our method.</p><p>A further extension of this work would be to image pumping activity in related species, either <italic>Caenorhabditis</italic> nematodes collected from different field sites, or even predatory nematodes like <italic>Pristionchus pacificus,</italic> which has a bacterial feeding mode similar to <italic>C. elegans,</italic> and additionally a predatory mode when killing the larvae of other nematodes. While the requirement for labeling the muscle is a prerequisite of our method, the <italic>myo-2</italic> gene is a myosin heavy chain that is conserved among nematodes and will likely show similar expression in closely related species. A strain with the <italic>myo-2</italic> promoter construct for the closely related <italic>C. briggsae</italic> is already available at the CGC. Our tool opens new venues to study feeding behaviors at multiple scales. We envision that its application will lead to new insights into worm behavior.</p></sec><sec id="s4" sec-type="materials|methods"><title>Materials and methods</title><table-wrap id="keyresource" position="anchor"><label>Key resources table</label><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">Reagent type (species) or resource</th><th align="left" valign="bottom">Designation</th><th align="left" valign="bottom">Source or reference</th><th align="left" valign="bottom">Identifiers</th><th align="left" valign="bottom">Additional information</th></tr></thead><tbody><tr><td align="left" valign="bottom">Strain, strain background (<italic>Escherichia coli</italic> OP50)</td><td align="left" valign="bottom">OP50</td><td align="left" valign="bottom">CGC</td><td align="left" valign="bottom">CGC:OP50</td><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom">Recombinant DNA reagent</td><td align="left" valign="bottom"><italic>myo-2p mCherry unc-54 3’utr</italic></td><td align="left" valign="bottom">Addgene</td><td align="left" valign="bottom">pCFJ90</td><td align="left" valign="bottom">5 ng/µl injected into N2</td></tr><tr><td align="left" valign="bottom">Recombinant DNA reagent</td><td align="left" valign="bottom"><italic>pPHA2 GFP-F</italic></td><td align="left" valign="bottom">Gift from Marc Pilon</td><td align="left" valign="bottom">pMS17</td><td align="left" valign="bottom">50 ng/µl injected into N2</td></tr><tr><td align="left" valign="bottom">Strain, strain background (<italic>C. elegans</italic>)</td><td align="left" valign="bottom">N2</td><td align="left" valign="bottom">CGC</td><td align="left" valign="bottom">N2</td><td align="left" valign="bottom">Background for INF30</td></tr><tr><td align="left" valign="bottom">Strain, strain background (<italic>C. elegans</italic>)</td><td align="left" valign="bottom"><italic>gnaIs1[myo-2p::yfp]</italic></td><td align="left" valign="bottom">CGC</td><td align="left" valign="bottom">GRU101</td><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom">Strain, strain background (<italic>C. elegans</italic>)</td><td align="left" valign="bottom"><italic>nonEx9[pPHA2 GFP-F myo-2p::mCherry::unc-54 3’utr]</italic></td><td align="left" valign="bottom">This publication</td><td align="left" valign="bottom">INF30</td><td align="left" valign="bottom">5 ng/ul of pMS17 and 5 ng/ul of pCFJ90 injected into N2; <xref ref-type="fig" rid="fig2s4">Figure 2—figure supplement 4</xref></td></tr><tr><td align="left" valign="bottom">Strain, strain background (<italic>C. elegans</italic>)</td><td align="left" valign="bottom"><italic>unc-31(e928) gnaIs1 IV</italic></td><td align="left" valign="bottom">This publication</td><td align="left" valign="bottom">INF5</td><td align="left" valign="bottom">Cross of <italic>unc-31(e928)</italic> with GRU101; <xref ref-type="fig" rid="fig3">Figure 3</xref></td></tr><tr><td align="left" valign="bottom">Strain, strain background (<italic>C. elegans</italic>)</td><td align="left" valign="bottom"><italic>unc-31(n1304) gnaIs1 IV</italic></td><td align="left" valign="bottom">This publication</td><td align="left" valign="bottom">INF17</td><td align="left" valign="bottom">Cross of <italic>unc-31(n1304)</italic> with GRU101; <xref ref-type="fig" rid="fig3">Figure 3</xref></td></tr><tr><td align="left" valign="bottom">Strain, strain background (<italic>C. elegans</italic>)</td><td align="left" valign="bottom"><italic>eat-18(ad820) I; gnaIs1 IV</italic></td><td align="left" valign="bottom">This publication</td><td align="left" valign="bottom">INF44</td><td align="left" valign="bottom">Cross of <italic>eat-18(ad820)</italic> with GRU101; <xref ref-type="fig" rid="fig3">Figure 3</xref></td></tr><tr><td align="left" valign="bottom">Software, algorithm</td><td align="left" valign="bottom">PharaGlow</td><td align="left" valign="bottom">This publication</td><td align="left" valign="bottom"/><td align="left" valign="bottom"><ext-link ext-link-type="uri" xlink:href="https://github.com/scholz-lab/PharaGlow">https://github.com/scholz-lab/PharaGlow</ext-link>; <xref ref-type="bibr" rid="bib57">Scholz, 2022</xref>.</td></tr></tbody></table></table-wrap><sec id="s4-1"><title><italic>C. elegans</italic> maintenance</title><p><italic>C. elegans</italic> were grown on NGM plates at 20 °C. Worms were synchronized by letting adult gravid animals lay eggs for 2–3 hr, then removing the adults. The average time from egg to young adult stage for strain GRU101 (<italic>gnaIs1[myo-2p::yfp]</italic>) was 63 hr. Before the experiment, synchronized adults were washed off the culture plates with 1 ml of M9 and collected in an Eppendorf tube. Worms were allowed to settle for 1 min, the supernatant was removed and the tube was refilled with M9. Washing was repeated two more times. The washing was sufficient in that we did not observe animals remaining in the spots containing the remainder of M9 on the assay plates, suggesting that the bacterial amount was too diluted to induce dwelling behavior.</p></sec><sec id="s4-2"><title>Imaging setup</title><p>Imaging of worms at ×1 magnification was performed using a commercial upright epi-fluorescence microscope (Axio Zoom V16; Zeiss) equipped with a 1 x objective (PlanNeoFluar Z 1.0 x/N.A. 0.25). For imaging of YFP fluorescence, light from an LED lamp (X-Cite XYLIS) was reflected towards the sample using a dichroic mirror (FT 515; Zeiss) and filtered (BP 500/25; Zeiss). Emitted light was filtered using a band-pass filter (BP 535/30; Zeiss) and focused onto the camera sensor (acA3088-57um; BASLER) using a camera adapter with an additional 0.5 x magnification (60 N-C ⅔’’ 0.5 x; Zeiss). The power density of fluorescence excitation at the focal plane (0.24 mW/mm<sup>2</sup> at 500 nm) was measured using a power meter sensor (PS19Q; Coherent) with the corresponding controller (PowerMax; Coherent). Animals were imaged at 30 fps for 5 min unless otherwise indicated. For imaging of mCherry, the filter cube was replaced with a commercial filter set (64 HE; Zeiss). The resulting power density using this cube was 0.76 mW/mm<sup>2</sup> at the focal plane.</p></sec><sec id="s4-3"><title>Long-term imaging</title><p>For long-term imaging, stroboscopic illumination (5ms light pulses) were used to reduce bleaching. Excitation light was synchronized with the camera exposure using the GPIO camera line and the TTL input of the LED lamp. Frames were collected using a custom software (LabVIEW). To reduce the amount of stored data and allow continuous recording using a standard computer (Celsius W520; Fujitsu), images were segmented automatically and only areas containing worms, and their coordinates within the image, were stored. This procedure allowed a data reduction by approximately 1000 fold. For imaging, a copper frame (5.3 x 3.75 x 1 mm) was filled with 2% low melting point agarose (Sigma Aldrich) in M9 and 2–5 µl of a 10-fold concentrated overnight OP50 culture was seeded on top. The frame was deposited into a 10 cm NGM plate, and worms were transferred to the agarose arena. To preserve the moisture of the preparation and prevent shrinking of the gel, about ⅓ of the agar at the outer rim of the plate was removed using a scalpel and the space was filled with 6 ml of M9. Animals were recorded for at least 3 hr and all animals that were continuously tracked for at least 2 hr were included in the analyses in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p></sec><sec id="s4-4"><title>Dual bright-field and fluorescence imaging</title><p>Dual imaging was performed using an upright microscope (BX51WI; Olympus) and a 10 x objective (UplanSApo, NA 0.4; Olympus). For bright-field imaging, light emanating from a near-infrared (780 nm) LED (M780LP1 and driver LEDD1B; Thorlabs) was filtered using a (785/62 BrightLine HC; Semrock) and projected onto the sample via the bright-field illumination condenser. To excite fluorescence, the Teal line from an LED lamp (Spectra X light engine; Lumencor) was filtered (513/17 BrightLine HC; Semrock) and projected onto the sample using a 520 nm long-pass dichroic (FF520-Di02; Semrock). Transmitted and emitted light were filtered using a 532 long-pass filter (BLP01-532R; Semrock). To simultaneously record images in bright-field and fluorescence, a dual-camera device was used (DC<sup>2</sup>; Photometrics). Light was split into two channels using a 695 long-pass dichroic mirror (695DCXRUV; Photometrics) and images were projected into two cameras (acA3088-57um; BASLER). Fluorescent light was band-pass filtered (550/49 Brightline HC; Semrock) before reaching the camera sensor. The exposure time (6ms) of one camera served to synchronize the acquisition of the second camera and the Lumencor light engine. Individual worms were manually tracked using a 3-axis motorized stage (X-LSM150A; Zaber).</p></sec><sec id="s4-5"><title>Developmental pumping experiments</title><p>Worms were pre-synchronized by hypochlorite bleaching, allowed to hatch overnight in M9 and then cultured on NGM plates with OP50 at 20 °C. On day 3 after pre-synchronization, worms were synchronized again by letting 20 gravid animals lay eggs for 2 hr per assay plate, then removing the adults and letting embryos grow for specific durations to reach the appropriate larval or adult stage (19 hr for mid-L1, 31 hr for mid-L2, 39 hr for mid-L3, 50 hr for mid-L4, 65 hr for young adults). For the assay plates, 40 µl of <italic>E. coli</italic> OP50 culture was spotted onto an empty 6 cm NGM plate a few hours before the synchronization and left to dry. Synchronized worms were imaged directly on their assay plates as described in section ‘Imaging setup’. The magnification for each stage was chosen to achieve an approximate pharynx length of ~60 pixels (2 x (1.18 µm/px) for L1, 1.5 x (1.57 µm/px) for L2, 1.4 x (1.69 µm/px) for L3, 1.3 x (1.81 µm/px) for L4 and the standard 1 x (2.36 µm/px) for young adults). Three assay plates were imaged once per stage, and three additional plates were imaged at each stage to test for photo-sensitivity.</p></sec><sec id="s4-6"><title>Starvation experiments</title><p>Washed animals were transferred to the center of an empty 6 cm NGM plate at room temperature and left to recover for 15 min before imaging. The same plate was imaged at defined time points for progressively more starved animals (at 30 min, 90 min, 150 min and 210 min after being taken off food). The field of view was chosen randomly on the plate but was required to contain at minimum 3 worms at the beginning of the recording. For control, washed animals were transferred close to a 40 µl of <italic>E. coli</italic> OP50 lawn, which was spotted onto an empty 6 cm NGM plate a few hours before the recordings and allowed to dry. Acclimation time and recording are similar for starved animals.</p></sec><sec id="s4-7"><title>Automated analysis</title><sec id="s4-7-1"><title>Pharyngeal pumping - fluorescence data</title><p>Animals were tracked using our custom python analysis package <italic>PharaGlow</italic> which is freely available under a permissive GPL 3.0 license. In brief, PharaGlow runs a three-step analysis: 1. center of mass tracking and collision detection, 2. linking detected objects to trajectories and 3. extracting centerline, contour, width, and other parameters of the shape to allow extracting pharyngeal pumping events. Tracking uses the soft matter package (<xref ref-type="bibr" rid="bib2">Allan et al., 2019</xref>). The code is fully modular and any existing tracking code could in principle be used for the first two steps provided the input data is formatted to PharaGlow standards. We provide example data and example jupyter notebooks to help users make use of our package both in personal computer and high-performance cluster settings. The resulting files contain the position, and the straightened images which are further processed to extract the behavioral measures as described in <xref ref-type="fig" rid="fig1">Figure 1</xref> and section ‘<italic>Pharyngeal pumping - postprocessing’</italic>’.</p></sec><sec id="s4-7-2"><title>Pharyngeal pumping - postprocessing</title><p>To obtain pumping traces from straightened animals, the inverted maximum of the dorso-ventral standard deviation of brightness is calculated for each straightened frame per animal (<xref ref-type="fig" rid="fig1">Figure 1E</xref>). This metric is sensitive to the opening of the pharyngeal lumen and terminal bulb contractions. Peaks in the resulting trace correspond to pumping events. Due to the animal motion, uneven illumination or defocusing can modify the baseline of the pumping metric. We correct for baseline fluctuations and spurious fluorescence changes by subtracting the background fluctuations using a rolling mean filter of 1 s (except for <italic>eat-18</italic> mutants, where we use 3 s otherwise the slow contractions were removed too). To the remaining signal we apply a smoothing filter of width = 66 ms (2 frames). We detect peaks using AMPD, an algorithm for peak detection in quasi-periodic signals (<xref ref-type="bibr" rid="bib54">Scholkmann et al., 2012</xref>). We also require the peak distances to obey physiologically reasonable rates i.e., the peaks can not be closer than <inline-formula><mml:math id="inf1"><mml:mi>d</mml:mi><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mo>=</mml:mo></mml:math></inline-formula> 132 ms (4 frames). To automatically establish the noise level of the trace, we compare the incidence of intervals between detected peaks that violate the assumption <inline-formula><mml:math id="inf2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>d</mml:mi><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mo>&gt;</mml:mo></mml:mrow></mml:mstyle></mml:math></inline-formula> 132 ms and select the minimal prominence required, such that the fraction of violating intervals is lower than a sensitivity parameter <inline-formula><mml:math id="inf3"><mml:mi>s</mml:mi></mml:math></inline-formula>. For all dataset with 5-min recordings, we set <inline-formula><mml:math id="inf4"><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>0.999</mml:mn><mml:mo>.</mml:mo></mml:math></inline-formula></p><p>In the long-term recordings, we use a hampel filter with a width of 300 frames to remove spurious outliers in the signal which affect peak detection and set <inline-formula><mml:math id="inf5"><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>0.9999</mml:mn><mml:mo>.</mml:mo></mml:math></inline-formula></p><p>Depending on the purpose, pumping rates have been calculated as follows: To determine the average pumping rate per track, we calculate the number of pumping events/ total track duration (e.g. <xref ref-type="fig" rid="fig3">Figure 3F</xref>, box plots). To obtain pumping rate distributions, we calculate the number of pumps in a sliding window of 10 s and combine data from all tracks. The ‘instantaneous pumping rate’ is defined as <inline-formula><mml:math id="inf6"><mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mo>/</mml:mo><mml:mrow><mml:mi>Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> between pumps. We use the instantaneous rate when a higher temporal resolution is desired. Which rate metric is used is indicated in the caption.</p></sec><sec id="s4-7-3"><title>Assigning high and low pumping rate states</title><p>Pumping rates were calculated from the detected pumping events in a 30 s block window. The resulting rates were thresholded with a threshold of 2.5 Hz to discriminate between fast and slow pumping. The binary heatmap was filtered with a rolling median filter of width 5 min, which removes spurious events and allows extraction of longer term dynamics.</p></sec><sec id="s4-7-4"><title>Autocorrelation of pumping rates</title><p>The autocorrelation of the pumping rates for the 2 hr recordings was calculated from the 10 s average pumping rates (see <italic>Pharyngeal pumping - postprocessing</italic>). The decay time of the autocorrelation was determined using a one-sided t-test for each timepoint and calculating if the sample mean of the autocorrelation for each animal differed from 0. To determine the uncertainty of the decay time, we ran leave-one-out bootstrapping and report the mean and s.t.d. of the leave-one-out testing.</p></sec><sec id="s4-7-5"><title>Other behavioral parameters</title><p>Velocity was calculated from the tracked center of mass of the labeled pharynx. Reversals were calculated based on the angle between the pharynx and the animal’s nose tip direction. To avoid spurious reversals, the nose tip trajectories are coarse-grained to 6 Hz, and the angle between the nose tip and pharynx is smoothed with a window of width = 1 s (30 frames). Timepoints with angles exceeding 120° were annotated as reversals. Reversals shorter than 0.5 s are removed. The estimation of the pharyngeal area is based on an automated threshold of the pharynx.</p></sec><sec id="s4-7-6"><title>Animal selection</title><p>All animals that were successfully tracked for at least 60 s (<xref ref-type="fig" rid="fig1">Figures 1</xref>—<xref ref-type="fig" rid="fig3">3</xref>) were included. No other filtering or outlier removal was performed. Due to age synchronization, all animals in the field of view were of similar size in the wildtype experiments. For <italic>eat-18</italic> mutants, the size and developmental stage of the animals were more dispersed and only animals that had the appropriate size for their stage were included (<xref ref-type="fig" rid="fig5">Figure 5</xref>). In the starvation experiments, animals that were successfully tracked for at least 20 s were included due to the larger velocity in this condition (<xref ref-type="fig" rid="fig3">Figure 3</xref>).</p></sec></sec><sec id="s4-8"><title>Manual annotation of pumping behavior</title><p>Movies for individual animals were created from a large field of view and expert annotators counted pumps by displaying the movie using the cell counter tool in Fiji (<xref ref-type="bibr" rid="bib53">Schindelin et al., 2012</xref>). The annotators were blinded to the movie conditions and to the other experts’ results.</p></sec><sec id="s4-9"><title>Data and code availability statement</title><p>The data from this manuscript is available at <ext-link ext-link-type="uri" xlink:href="https://osf.io/fy4ed/">https://osf.io/fy4ed/</ext-link>. The code repository for the PharaGlow package can be found at <ext-link ext-link-type="uri" xlink:href="https://github.com/scholz-lab/PharaGlow">https://github.com/scholz-lab/PharaGlow</ext-link> (<xref ref-type="bibr" rid="bib57">Scholz, 2022</xref>). Imaging software can be found at <ext-link ext-link-type="uri" xlink:href="https://github.com/scholz-lab/Acquisition_PharaGlow">https://github.com/scholz-lab/Acquisition_PharaGlow</ext-link>, (<xref ref-type="bibr" rid="bib10">Bonnard, 2022</xref> copy archived at <ext-link ext-link-type="uri" xlink:href="https://archive.softwareheritage.org/swh:1:dir:9c1dd532341c9f3f6ed6b00971cee35287b5d8f2;origin=https://github.com/scholz-lab/Acquisition_PharaGlow;visit=swh:1:snp:9fd92035f3884efdd327c4b00afc0decea354847;anchor=swh:1:rev:29ae8971f66fa0722f4914deb4b70b7d53f76f07">swh:1:rev:29ae8971f66fa0722f4914deb4b70b7d53f76f07</ext-link>).</p></sec></sec></body><back><sec sec-type="additional-information" id="s5"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn><fn fn-type="COI-statement" id="conf2"><p>No competing interests declared</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Data curation, Investigation, Methodology, Writing – review and editing</p></fn><fn fn-type="con" id="con2"><p>Resources, Data curation, Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Data curation, Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con4"><p>Resources, Investigation, Writing – review and editing, Software</p></fn><fn fn-type="con" id="con5"><p>Conceptualization, Software, Funding acquisition, Methodology, Writing - original draft, Project administration, Writing – review and editing</p></fn></fn-group></sec><sec sec-type="supplementary-material" id="s6"><title>Additional files</title><supplementary-material id="transrepform"><label>Transparent reporting form</label><media xlink:href="elife-77252-transrepform1-v2.docx" mimetype="application" mime-subtype="docx"/></supplementary-material></sec><sec sec-type="data-availability" id="s7"><title>Data availability</title><p>The data from this manuscript is available at <ext-link ext-link-type="uri" xlink:href="https://osf.io/fy4ed/">https://osf.io/fy4ed/</ext-link>. The code repository for the PharaGlow package can be found at <ext-link ext-link-type="uri" xlink:href="https://github.com/scholz-lab/PharaGlow">https://github.com/scholz-lab/PharaGlow</ext-link>.</p><p>The following dataset was generated:</p><p><element-citation publication-type="data" specific-use="isSupplementedBy" id="dataset1"><person-group person-group-type="author"><name><surname>Scholz</surname><given-names>M</given-names></name><name><surname>Bonnard</surname><given-names>E</given-names></name><name><surname>Liu</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2022">2022</year><data-title>Automatically tracking feeding behavior in populations of foraging worms</data-title><source>Open Science Framework</source><pub-id pub-id-type="accession" xlink:href="https://osf.io/fy4ed/">fy4ed</pub-id></element-citation></p></sec><ack id="ack"><title>Acknowledgements</title><p>We thank James Lightfoot and Shawn Lockery for helpful comments. We wish to acknowledge Omar Valerio Minero (MPINB HPC) for assistance with benchmarking. We thank Marc Pilon for giving us a plasmid. Some strains were provided by the CGC, which is funded by NIH Office of Research Infrastructure Programs (P40 OD010440). Some figure panels were created with <ext-link ext-link-type="uri" xlink:href="https://biorender.com/">biorender.com</ext-link>.</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Albertson</surname><given-names>DG</given-names></name><name><surname>Thomson</surname><given-names>JN</given-names></name></person-group><year iso-8601-date="1976">1976</year><article-title>The pharynx of <italic>Caenorhabditis elegans</italic></article-title><source>Philosophical Transactions of the Royal Society of London. Series B, Biological Sciences</source><volume>275</volume><fpage>299</fpage><lpage>325</lpage><pub-id pub-id-type="doi">10.1098/rstb.1976.0085</pub-id><pub-id pub-id-type="pmid">8805</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Allan</surname><given-names>D</given-names></name><name><surname>Keim</surname><given-names>N</given-names></name><name><surname>Caswell</surname><given-names>TA</given-names></name><name><surname>Wieker</surname><given-names>D</given-names></name><name><surname>Verweij</surname><given-names>R</given-names></name><name><surname>Reid</surname><given-names>C</given-names></name><name><surname>Grueter</surname><given-names>L</given-names></name><name><surname>Ramos</surname><given-names>K</given-names></name><name><surname>Perry</surname><given-names>RW</given-names></name></person-group><year iso-8601-date="2019">2019</year><data-title>Soft-matter/trackpy: trackpy</data-title><version designator="V0.4.2">V0.4.2</version><source>Zenodo</source><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.4682814">https://doi.org/10.5281/zenodo.4682814</ext-link></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Andersen</surname><given-names>EC</given-names></name><name><surname>Bloom</surname><given-names>JS</given-names></name><name><surname>Gerke</surname><given-names>JP</given-names></name><name><surname>Kruglyak</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>A variant in the neuropeptide receptor npr-1 is A major determinant of <italic>Caenorhabditis elegans</italic> growth and physiology</article-title><source>PLOS Genetics</source><volume>10</volume><elocation-id>e1004156</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pgen.1004156</pub-id><pub-id pub-id-type="pmid">24586193</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Avery</surname><given-names>L</given-names></name><name><surname>Horvitz</surname><given-names>HR</given-names></name></person-group><year iso-8601-date="1990">1990</year><article-title>Effects of starvation and neuroactive drugs on feeding in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Experimental Zoology</source><volume>253</volume><fpage>263</fpage><lpage>270</lpage><pub-id pub-id-type="doi">10.1002/jez.1402530305</pub-id><pub-id pub-id-type="pmid">2181052</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Avery</surname><given-names>L</given-names></name><name><surname>Bargmann</surname><given-names>CI</given-names></name><name><surname>Horvitz</surname><given-names>HR</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>The <italic>Caenorhabditis elegans</italic> unc-31 gene affects multiple nervous system-controlled functions</article-title><source>Genetics</source><volume>134</volume><fpage>455</fpage><lpage>464</lpage><pub-id pub-id-type="doi">10.1093/genetics/134.2.455</pub-id><pub-id pub-id-type="pmid">8325482</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Avery</surname><given-names>L</given-names></name><name><surname>Shtonda</surname><given-names>BB</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Food transport in the <italic>C. elegans</italic> pharynx</article-title><source>The Journal of Experimental Biology</source><volume>206</volume><fpage>2441</fpage><lpage>2457</lpage><pub-id pub-id-type="doi">10.1242/jeb.00433</pub-id><pub-id pub-id-type="pmid">12796460</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Balasubramanian</surname><given-names>P</given-names></name><name><surname>Howell</surname><given-names>PR</given-names></name><name><surname>Anderson</surname><given-names>RM</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Aging and caloric restriction research: A biological perspective with translational potential</article-title><source>EBioMedicine</source><volume>21</volume><fpage>37</fpage><lpage>44</lpage><pub-id pub-id-type="doi">10.1016/j.ebiom.2017.06.015</pub-id><pub-id pub-id-type="pmid">28648985</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bhatla</surname><given-names>N</given-names></name><name><surname>Droste</surname><given-names>R</given-names></name><name><surname>Sando</surname><given-names>SR</given-names></name><name><surname>Huang</surname><given-names>A</given-names></name><name><surname>Horvitz</surname><given-names>HR</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Distinct neural circuits control rhythm inhibition and spitting by the myogenic pharynx of <italic>C. elegans</italic></article-title><source>Current Biology</source><volume>25</volume><fpage>2075</fpage><lpage>2089</lpage><pub-id pub-id-type="doi">10.1016/j.cub.2015.06.052</pub-id><pub-id pub-id-type="pmid">26212880</pub-id></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bhatla</surname><given-names>N</given-names></name><name><surname>Horvitz</surname><given-names>HR</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Light and hydrogen peroxide inhibit <italic>C. elegans</italic> feeding through gustatory receptor orthologs and pharyngeal neurons</article-title><source>Neuron</source><volume>85</volume><fpage>804</fpage><lpage>818</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2014.12.061</pub-id><pub-id pub-id-type="pmid">25640076</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Bonnard</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2022">2022</year><data-title>Acquisition_PharaGlow</data-title><version designator="swh:1:rev:29ae8971f66fa0722f4914deb4b70b7d53f76f07">swh:1:rev:29ae8971f66fa0722f4914deb4b70b7d53f76f07</version><source>SoftwarevHeritage</source><ext-link ext-link-type="uri" xlink:href="https://archive.softwareheritage.org/swh:1:dir:9c1dd532341c9f3f6ed6b00971cee35287b5d8f2;origin=https://github.com/scholz-lab/Acquisition_PharaGlow;visit=swh:1:snp:9fd92035f3884efdd327c4b00afc0decea354847;anchor=swh:1:rev:29ae8971f66fa0722f4914deb4b70b7d53f76f07">https://archive.softwareheritage.org/swh:1:dir:9c1dd532341c9f3f6ed6b00971cee35287b5d8f2;origin=https://github.com/scholz-lab/Acquisition_PharaGlow;visit=swh:1:snp:9fd92035f3884efdd327c4b00afc0decea354847;anchor=swh:1:rev:29ae8971f66fa0722f4914deb4b70b7d53f76f07</ext-link></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Calhoun</surname><given-names>AJ</given-names></name><name><surname>Chalasani</surname><given-names>SH</given-names></name><name><surname>Sharpee</surname><given-names>TO</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Maximally informative foraging by <italic>Caenorhabditis elegans</italic></article-title><source>eLife</source><volume>3</volume><elocation-id>e04220</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.04220</pub-id><pub-id pub-id-type="pmid">25490069</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cermak</surname><given-names>N</given-names></name><name><surname>Yu</surname><given-names>SK</given-names></name><name><surname>Clark</surname><given-names>R</given-names></name><name><surname>Huang</surname><given-names>YC</given-names></name><name><surname>Baskoylu</surname><given-names>SN</given-names></name><name><surname>Flavell</surname><given-names>SW</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Whole-organism behavioral profiling reveals a role for dopamine in state-dependent motor program coupling in <italic>C. elegans</italic></article-title><source>eLife</source><volume>9</volume><elocation-id>e57093</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.57093</pub-id><pub-id pub-id-type="pmid">32510332</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chalfie</surname><given-names>M</given-names></name><name><surname>Sulston</surname><given-names>JE</given-names></name><name><surname>White</surname><given-names>JG</given-names></name><name><surname>Southgate</surname><given-names>E</given-names></name><name><surname>Thomson</surname><given-names>JN</given-names></name><name><surname>Brenner</surname><given-names>S</given-names></name></person-group><year iso-8601-date="1985">1985</year><article-title>The neural circuit for touch sensitivity in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Neuroscience</source><volume>5</volume><fpage>956</fpage><lpage>964</lpage><pub-id pub-id-type="pmid">3981252</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chiba</surname><given-names>CM</given-names></name><name><surname>Rankin</surname><given-names>CH</given-names></name></person-group><year iso-8601-date="1990">1990</year><article-title>A developmental analysis of spontaneous and reflexive reversals in the nematode <italic>Caenorhabditis elegans</italic></article-title><source>Journal of Neurobiology</source><volume>21</volume><fpage>543</fpage><lpage>554</lpage><pub-id pub-id-type="doi">10.1002/neu.480210403</pub-id><pub-id pub-id-type="pmid">2376729</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Choudhary</surname><given-names>S</given-names></name><name><surname>Buxton</surname><given-names>SK</given-names></name><name><surname>Puttachary</surname><given-names>S</given-names></name><name><surname>Verma</surname><given-names>S</given-names></name><name><surname>Mair</surname><given-names>GR</given-names></name><name><surname>McCoy</surname><given-names>CJ</given-names></name><name><surname>Reaves</surname><given-names>BJ</given-names></name><name><surname>Wolstenholme</surname><given-names>AJ</given-names></name><name><surname>Martin</surname><given-names>RJ</given-names></name><name><surname>Robertson</surname><given-names>AP</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>EAT-18 is an essential auxiliary protein interacting with the non-alpha nachr subunit EAT-2 to form a functional receptor</article-title><source>PLOS Pathogens</source><volume>16</volume><elocation-id>e1008396</elocation-id><pub-id pub-id-type="doi">10.1371/journal.ppat.1008396</pub-id><pub-id pub-id-type="pmid">32243475</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dal Bello</surname><given-names>M</given-names></name><name><surname>Pérez-Escudero</surname><given-names>A</given-names></name><name><surname>Schroeder</surname><given-names>FC</given-names></name><name><surname>Gore</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Inversion of pheromone preference optimizes foraging in <italic>C. elegans</italic></article-title><source>eLife</source><volume>10</volume><elocation-id>e58144</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.58144</pub-id><pub-id pub-id-type="pmid">34227470</pub-id></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dallière</surname><given-names>N</given-names></name><name><surname>Bhatla</surname><given-names>N</given-names></name><name><surname>Luedtke</surname><given-names>Z</given-names></name><name><surname>Ma</surname><given-names>DK</given-names></name><name><surname>Woolman</surname><given-names>J</given-names></name><name><surname>Walker</surname><given-names>RJ</given-names></name><name><surname>Holden-Dye</surname><given-names>L</given-names></name><name><surname>O’Connor</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Multiple excitatory and inhibitory neural signals converge to fine-tune <italic>Caenorhabditis elegans</italic> feeding to food availability</article-title><source>FASEB Journal</source><volume>30</volume><fpage>836</fpage><lpage>848</lpage><pub-id pub-id-type="doi">10.1096/fj.15-279257</pub-id><pub-id pub-id-type="pmid">26514165</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Davidson</surname><given-names>JD</given-names></name><name><surname>El Hady</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Foraging as an evidence accumulation process</article-title><source>PLOS Computational Biology</source><volume>15</volume><elocation-id>e1007060</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1007060</pub-id><pub-id pub-id-type="pmid">31339878</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Davis</surname><given-names>KC</given-names></name><name><surname>Choi</surname><given-names>YI</given-names></name><name><surname>Kim</surname><given-names>J</given-names></name><name><surname>You</surname><given-names>YJ</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Satiety behavior is regulated by ASI/ASH reciprocal antagonism</article-title><source>Scientific Reports</source><volume>8</volume><elocation-id>6918</elocation-id><pub-id pub-id-type="doi">10.1038/s41598-018-24943-6</pub-id><pub-id pub-id-type="pmid">29720602</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>De Magalhaes Filho</surname><given-names>CD</given-names></name><name><surname>Henriquez</surname><given-names>B</given-names></name><name><surname>Seah</surname><given-names>NE</given-names></name><name><surname>Evans</surname><given-names>RM</given-names></name><name><surname>Lapierre</surname><given-names>LR</given-names></name><name><surname>Dillin</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Visible light reduces <italic>C. elegans</italic> longevity</article-title><source>Nature Communications</source><volume>9</volume><elocation-id>927</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-018-02934-5</pub-id><pub-id pub-id-type="pmid">29500338</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dillon</surname><given-names>J</given-names></name><name><surname>Holden-Dye</surname><given-names>L</given-names></name><name><surname>O’Connor</surname><given-names>V</given-names></name><name><surname>Hopper</surname><given-names>NA</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Context-dependent regulation of feeding behaviour by the insulin receptor, DAF-2, in <italic>Caenorhabditis elegans</italic></article-title><source>Invertebrate Neuroscience</source><volume>16</volume><elocation-id>4</elocation-id><pub-id pub-id-type="doi">10.1007/s10158-016-0187-2</pub-id><pub-id pub-id-type="pmid">27209024</pub-id></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ding</surname><given-names>SS</given-names></name><name><surname>Romenskyy</surname><given-names>M</given-names></name><name><surname>Sarkisyan</surname><given-names>KS</given-names></name><name><surname>Brown</surname><given-names>AEX</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>measuring <italic>Caenorhabditis elegans</italic> spatial foraging and food intake using bioluminescent bacteria</article-title><source>Genetics</source><volume>214</volume><fpage>577</fpage><lpage>587</lpage><pub-id pub-id-type="doi">10.1534/genetics.119.302804</pub-id><pub-id pub-id-type="pmid">31911453</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fang-Yen</surname><given-names>C</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name><name><surname>Samuel</surname><given-names>ADT</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Two size-selective mechanisms specifically trap bacteria-sized food particles in <italic>Caenorhabditis elegans</italic></article-title><source>PNAS</source><volume>106</volume><fpage>20093</fpage><lpage>20096</lpage><pub-id pub-id-type="doi">10.1073/pnas.0904036106</pub-id><pub-id pub-id-type="pmid">19903886</pub-id></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Flavell</surname><given-names>SW</given-names></name><name><surname>Pokala</surname><given-names>N</given-names></name><name><surname>Macosko</surname><given-names>EZ</given-names></name><name><surname>Albrecht</surname><given-names>DR</given-names></name><name><surname>Larsch</surname><given-names>J</given-names></name><name><surname>Bargmann</surname><given-names>CI</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Serotonin and the neuropeptide PDF initiate and extend opposing behavioral states in <italic>C. elegans</italic></article-title><source>Cell</source><volume>154</volume><fpage>1023</fpage><lpage>1035</lpage><pub-id pub-id-type="doi">10.1016/j.cell.2013.08.001</pub-id><pub-id pub-id-type="pmid">23972393</pub-id></element-citation></ref><ref id="bib25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fontana</surname><given-names>L</given-names></name><name><surname>Partridge</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Promoting health and longevity through diet: from model organisms to humans</article-title><source>Cell</source><volume>161</volume><fpage>106</fpage><lpage>118</lpage><pub-id pub-id-type="doi">10.1016/j.cell.2015.02.020</pub-id><pub-id pub-id-type="pmid">25815989</pub-id></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gallagher</surname><given-names>T</given-names></name><name><surname>Kim</surname><given-names>J</given-names></name><name><surname>Oldenbroek</surname><given-names>M</given-names></name><name><surname>Kerr</surname><given-names>R</given-names></name><name><surname>You</surname><given-names>YJ</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>ASI regulates satiety quiescence in <italic>C. elegans</italic></article-title><source>The Journal of Neuroscience</source><volume>33</volume><fpage>9716</fpage><lpage>9724</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.4493-12.2013</pub-id><pub-id pub-id-type="pmid">23739968</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gomez-Amaro</surname><given-names>RL</given-names></name><name><surname>Valentine</surname><given-names>ER</given-names></name><name><surname>Carretero</surname><given-names>M</given-names></name><name><surname>LeBoeuf</surname><given-names>SE</given-names></name><name><surname>Rangaraju</surname><given-names>S</given-names></name><name><surname>Broaddus</surname><given-names>CD</given-names></name><name><surname>Solis</surname><given-names>GM</given-names></name><name><surname>Williamson</surname><given-names>JR</given-names></name><name><surname>Petrascheck</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>measuring food intake and nutrient absorption in <italic>Caenorhabditis elegans</italic></article-title><source>Genetics</source><volume>200</volume><fpage>443</fpage><lpage>454</lpage><pub-id pub-id-type="doi">10.1534/genetics.115.175851</pub-id><pub-id pub-id-type="pmid">25903497</pub-id></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gray</surname><given-names>JM</given-names></name><name><surname>Hill</surname><given-names>JJ</given-names></name><name><surname>Bargmann</surname><given-names>CI</given-names></name></person-group><year iso-8601-date="2005">2005</year><article-title>A circuit for navigation in <italic>Caenorhabditis elegans</italic></article-title><source>PNAS</source><volume>102</volume><fpage>3184</fpage><lpage>3191</lpage><pub-id pub-id-type="doi">10.1073/pnas.0409009101</pub-id><pub-id pub-id-type="pmid">15689400</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gruninger</surname><given-names>TR</given-names></name><name><surname>Gualberto</surname><given-names>DG</given-names></name><name><surname>LeBoeuf</surname><given-names>B</given-names></name><name><surname>Garcia</surname><given-names>LR</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Integration of male mating and feeding behaviors in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Neuroscience</source><volume>26</volume><fpage>169</fpage><lpage>179</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.3364-05.2006</pub-id><pub-id pub-id-type="pmid">16399684</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hardaker</surname><given-names>LA</given-names></name><name><surname>Singer</surname><given-names>E</given-names></name><name><surname>Kerr</surname><given-names>R</given-names></name><name><surname>Zhou</surname><given-names>G</given-names></name><name><surname>Schafer</surname><given-names>WR</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Serotonin modulates locomotory behavior and coordinates egg-laying and movement in <italic>Caenorhabditis elegans</italic></article-title><source>Journal of Neurobiology</source><volume>49</volume><fpage>303</fpage><lpage>313</lpage><pub-id pub-id-type="doi">10.1002/neu.10014</pub-id><pub-id pub-id-type="pmid">11745666</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hills</surname><given-names>T</given-names></name><name><surname>Brockie</surname><given-names>PJ</given-names></name><name><surname>Maricq</surname><given-names>AV</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Dopamine and glutamate control area-restricted search behavior in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Neuroscience</source><volume>24</volume><fpage>1217</fpage><lpage>1225</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.1569-03.2004</pub-id><pub-id pub-id-type="pmid">14762140</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hobson</surname><given-names>RJ</given-names></name><name><surname>Hapiak</surname><given-names>VM</given-names></name><name><surname>Xiao</surname><given-names>H</given-names></name><name><surname>Buehrer</surname><given-names>KL</given-names></name><name><surname>Komuniecki</surname><given-names>PR</given-names></name><name><surname>Komuniecki</surname><given-names>RW</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>SER-7, a <italic>Caenorhabditis elegans</italic> 5-HT7-like receptor, is essential for the 5-HT stimulation of pharyngeal pumping and egg laying</article-title><source>Genetics</source><volume>172</volume><fpage>159</fpage><lpage>169</lpage><pub-id pub-id-type="doi">10.1534/genetics.105.044495</pub-id><pub-id pub-id-type="pmid">16204223</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Iwanir</surname><given-names>S</given-names></name><name><surname>Brown</surname><given-names>AS</given-names></name><name><surname>Nagy</surname><given-names>S</given-names></name><name><surname>Najjar</surname><given-names>D</given-names></name><name><surname>Kazakov</surname><given-names>A</given-names></name><name><surname>Lee</surname><given-names>KS</given-names></name><name><surname>Zaslaver</surname><given-names>A</given-names></name><name><surname>Levine</surname><given-names>E</given-names></name><name><surname>Biron</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Serotonin promotes exploitation in complex environments by accelerating decision-making</article-title><source>BMC Biology</source><volume>14</volume><elocation-id>9</elocation-id><pub-id pub-id-type="doi">10.1186/s12915-016-0232-y</pub-id><pub-id pub-id-type="pmid">26847342</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Izquierdo</surname><given-names>PG</given-names></name><name><surname>Calahorro</surname><given-names>F</given-names></name><name><surname>Thisainathan</surname><given-names>T</given-names></name><name><surname>Atkins</surname><given-names>JH</given-names></name><name><surname>Haszczyn</surname><given-names>J</given-names></name><name><surname>Lewis</surname><given-names>CJ</given-names></name><name><surname>Tattersall</surname><given-names>JEH</given-names></name><name><surname>Green</surname><given-names>AC</given-names></name><name><surname>Holden-Dye</surname><given-names>L</given-names></name><name><surname>O’Connor</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Cholinergic signaling at the body wall neuromuscular junction distally inhibits feeding behavior in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Biological Chemistry</source><volume>298</volume><elocation-id>101466</elocation-id><pub-id pub-id-type="doi">10.1016/j.jbc.2021.101466</pub-id><pub-id pub-id-type="pmid">34864060</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kang</surname><given-names>C</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>The fmrfamide neuropeptide FLP-20 acts as a systemic signal for starvation responses in <italic>Caenorhabditis elegans</italic></article-title><source>Molecules and Cells</source><volume>44</volume><fpage>529</fpage><lpage>537</lpage><pub-id pub-id-type="doi">10.14348/molcells.2021.0051</pub-id><pub-id pub-id-type="pmid">34140426</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Katzen</surname><given-names>A</given-names></name><name><surname>Chung</surname><given-names>HK</given-names></name><name><surname>Harbaugh</surname><given-names>WT</given-names></name><name><surname>Iacono</surname><given-names>CD</given-names></name><name><surname>Jackson</surname><given-names>N</given-names></name><name><surname>Yu</surname><given-names>SK</given-names></name><name><surname>Flavell</surname><given-names>SW</given-names></name><name><surname>Glimcher</surname><given-names>PW</given-names></name><name><surname>Lockery</surname><given-names>SR</given-names></name></person-group><year iso-8601-date="1983">1983</year><article-title>The Nematode Worm <italic>C. elegans</italic> Chooses between Bacterial Foods Exactly as If Maximizing Economic Utility</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2021.04.25.441352</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Keane</surname><given-names>J</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Mechanosensory inputs influence <italic>Caenorhabditis elegans</italic> pharyngeal activity via ivermectin sensitivity genes</article-title><source>Genetics</source><volume>164</volume><fpage>153</fpage><lpage>162</lpage><pub-id pub-id-type="doi">10.1093/genetics/164.1.153</pub-id><pub-id pub-id-type="pmid">12750328</pub-id></element-citation></ref><ref id="bib38"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kiyama</surname><given-names>Y</given-names></name><name><surname>Miyahara</surname><given-names>K</given-names></name><name><surname>Ohshima</surname><given-names>Y</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>active uptake of artificial particles in the nematode <italic>Caenorhabditis elegans</italic></article-title><source>Journal of Experimental Biology</source><volume>215</volume><fpage>1178</fpage><lpage>1183</lpage><pub-id pub-id-type="doi">10.1242/jeb.067199</pub-id><pub-id pub-id-type="pmid">22399663</pub-id></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Knight</surname><given-names>CG</given-names></name><name><surname>Patel</surname><given-names>MN</given-names></name><name><surname>Azevedo</surname><given-names>RBR</given-names></name><name><surname>Leroi</surname><given-names>AM</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>A novel mode of ecdysozoan growth in <italic>Caenorhabditis elegans</italic></article-title><source>Evolution &amp; Development</source><volume>4</volume><fpage>16</fpage><lpage>27</lpage><pub-id pub-id-type="doi">10.1046/j.1525-142x.2002.01058.x</pub-id><pub-id pub-id-type="pmid">11871396</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname><given-names>KS</given-names></name><name><surname>Iwanir</surname><given-names>S</given-names></name><name><surname>Kopito</surname><given-names>RB</given-names></name><name><surname>Scholz</surname><given-names>M</given-names></name><name><surname>Calarco</surname><given-names>JA</given-names></name><name><surname>Biron</surname><given-names>D</given-names></name><name><surname>Levine</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Serotonin-dependent kinetics of feeding bursts underlie a graded response to food availability in <italic>C. elegans</italic></article-title><source>Nature Communications</source><volume>8</volume><elocation-id>14221</elocation-id><pub-id pub-id-type="doi">10.1038/ncomms14221</pub-id><pub-id pub-id-type="pmid">28145493</pub-id></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Li</surname><given-names>Z</given-names></name><name><surname>Li</surname><given-names>Y</given-names></name><name><surname>Yi</surname><given-names>Y</given-names></name><name><surname>Huang</surname><given-names>W</given-names></name><name><surname>Yang</surname><given-names>S</given-names></name><name><surname>Niu</surname><given-names>W</given-names></name><name><surname>Zhang</surname><given-names>L</given-names></name><name><surname>Xu</surname><given-names>Z</given-names></name><name><surname>Qu</surname><given-names>A</given-names></name><name><surname>Wu</surname><given-names>Z</given-names></name><name><surname>Xu</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Dissecting a central flip-flop circuit that integrates contradictory sensory cues in <italic>C. elegans</italic> feeding regulation</article-title><source>Nature Communications</source><volume>3</volume><elocation-id>776</elocation-id><pub-id pub-id-type="doi">10.1038/ncomms1780</pub-id><pub-id pub-id-type="pmid">22491324</pub-id></element-citation></ref><ref id="bib42"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lockery</surname><given-names>SR</given-names></name><name><surname>Hulme</surname><given-names>SE</given-names></name><name><surname>Roberts</surname><given-names>WM</given-names></name><name><surname>Robinson</surname><given-names>KJ</given-names></name><name><surname>Laromaine</surname><given-names>A</given-names></name><name><surname>Lindsay</surname><given-names>TH</given-names></name><name><surname>Whitesides</surname><given-names>GM</given-names></name><name><surname>Weeks</surname><given-names>JC</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>A microfluidic device for whole-animal drug screening using electrophysiological measures in the nematode <italic>C. elegans</italic></article-title><source>Lab on a Chip</source><volume>12</volume><fpage>2211</fpage><lpage>2220</lpage><pub-id pub-id-type="doi">10.1039/c2lc00001f</pub-id><pub-id pub-id-type="pmid">22588281</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>McKay</surname><given-names>JP</given-names></name><name><surname>Raizen</surname><given-names>DM</given-names></name><name><surname>Gottschalk</surname><given-names>A</given-names></name><name><surname>Schafer</surname><given-names>WR</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Eat-2 and eat-18 are required for nicotinic neurotransmission in the <italic>Caenorhabditis elegans</italic> pharynx</article-title><source>Genetics</source><volume>166</volume><fpage>161</fpage><lpage>169</lpage><pub-id pub-id-type="doi">10.1534/genetics.166.1.161</pub-id><pub-id pub-id-type="pmid">15020415</pub-id></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Milward</surname><given-names>K</given-names></name><name><surname>Busch</surname><given-names>KE</given-names></name><name><surname>Murphy</surname><given-names>RJ</given-names></name><name><surname>de Bono</surname><given-names>M</given-names></name><name><surname>Olofsson</surname><given-names>B</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Neuronal and molecular substrates for optimal foraging in <italic>Caenorhabditis elegans</italic></article-title><source>PNAS</source><volume>108</volume><fpage>20672</fpage><lpage>20677</lpage><pub-id pub-id-type="doi">10.1073/pnas.1106134109</pub-id><pub-id pub-id-type="pmid">22135454</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mörck</surname><given-names>C</given-names></name><name><surname>Pilon</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title><italic>C. elegans</italic> feeding defective mutants have shorter body lengths and increased autophagy</article-title><source>BMC Developmental Biology</source><volume>6</volume><elocation-id>39</elocation-id><pub-id pub-id-type="doi">10.1186/1471-213X-6-39</pub-id><pub-id pub-id-type="pmid">16884547</pub-id></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Okkema</surname><given-names>PG</given-names></name><name><surname>Harrison</surname><given-names>SW</given-names></name><name><surname>Plunger</surname><given-names>V</given-names></name><name><surname>Aryana</surname><given-names>A</given-names></name><name><surname>Fire</surname><given-names>A</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Sequence requirements for myosin gene expression and regulation in <italic>Caenorhabditis elegans</italic></article-title><source>Genetics</source><volume>135</volume><fpage>385</fpage><lpage>404</lpage><pub-id pub-id-type="doi">10.1093/genetics/135.2.385</pub-id><pub-id pub-id-type="pmid">8244003</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Okkema</surname><given-names>PG</given-names></name><name><surname>Fire</surname><given-names>A</given-names></name></person-group><year iso-8601-date="1994">1994</year><article-title>The <italic>Caenorhabditis elegans</italic> NK-2 class homeoprotein CEH-22 is involved in combinatorial activation of gene expression in pharyngeal muscle</article-title><source>Development</source><volume>120</volume><fpage>2175</fpage><lpage>2186</lpage><pub-id pub-id-type="doi">10.1242/dev.120.8.2175</pub-id><pub-id pub-id-type="pmid">7925019</pub-id></element-citation></ref><ref id="bib48"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Raizen</surname><given-names>DM</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="1994">1994</year><article-title>Electrical activity and behavior in the pharynx of <italic>Caenorhabditis elegans</italic></article-title><source>Neuron</source><volume>12</volume><fpage>483</fpage><lpage>495</lpage><pub-id pub-id-type="doi">10.1016/0896-6273(94)90207-0</pub-id><pub-id pub-id-type="pmid">8155316</pub-id></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Raizen</surname><given-names>DM</given-names></name><name><surname>Lee</surname><given-names>RY</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Interacting genes required for pharyngeal excitation by motor neuron MC in <italic>Caenorhabditis elegans</italic></article-title><source>Genetics</source><volume>141</volume><fpage>1365</fpage><lpage>1382</lpage><pub-id pub-id-type="doi">10.1093/genetics/141.4.1365</pub-id><pub-id pub-id-type="pmid">8601480</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ramot</surname><given-names>D</given-names></name><name><surname>Johnson</surname><given-names>BE</given-names></name><name><surname>Berry</surname><given-names>TL</given-names></name><name><surname>Carnell</surname><given-names>L</given-names></name><name><surname>Goodman</surname><given-names>MB</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>The parallel worm tracker: a platform for measuring average speed and drug-induced paralysis in nematodes</article-title><source>PLOS ONE</source><volume>3</volume><elocation-id>e2208</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pone.0002208</pub-id><pub-id pub-id-type="pmid">18493300</pub-id></element-citation></ref><ref id="bib51"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rodríguez-Palero</surname><given-names>MJ</given-names></name><name><surname>López-Díaz</surname><given-names>A</given-names></name><name><surname>Marsac</surname><given-names>R</given-names></name><name><surname>Gomes</surname><given-names>JE</given-names></name><name><surname>Olmedo</surname><given-names>M</given-names></name><name><surname>Artal-Sanz</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>An automated method for the analysis of food intake behaviour in <italic>Caenorhabditis elegans</italic></article-title><source>Scientific Reports</source><volume>8</volume><elocation-id>3633</elocation-id><pub-id pub-id-type="doi">10.1038/s41598-018-21964-z</pub-id><pub-id pub-id-type="pmid">29483540</pub-id></element-citation></ref><ref id="bib52"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sawin</surname><given-names>ER</given-names></name><name><surname>Ranganathan</surname><given-names>R</given-names></name><name><surname>Horvitz</surname><given-names>HR</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title><italic>C. elegans</italic> locomotory rate is modulated by the environment through a dopaminergic pathway and by experience through a serotonergic pathway</article-title><source>Neuron</source><volume>26</volume><fpage>619</fpage><lpage>631</lpage><pub-id pub-id-type="doi">10.1016/s0896-6273(00)81199-x</pub-id><pub-id pub-id-type="pmid">10896158</pub-id></element-citation></ref><ref id="bib53"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Schindelin</surname><given-names>J</given-names></name><name><surname>Arganda-Carreras</surname><given-names>I</given-names></name><name><surname>Frise</surname><given-names>E</given-names></name><name><surname>Kaynig</surname><given-names>V</given-names></name><name><surname>Longair</surname><given-names>M</given-names></name><name><surname>Pietzsch</surname><given-names>T</given-names></name><name><surname>Preibisch</surname><given-names>S</given-names></name><name><surname>Rueden</surname><given-names>C</given-names></name><name><surname>Saalfeld</surname><given-names>S</given-names></name><name><surname>Schmid</surname><given-names>B</given-names></name><name><surname>Tinevez</surname><given-names>JY</given-names></name><name><surname>White</surname><given-names>DJ</given-names></name><name><surname>Hartenstein</surname><given-names>V</given-names></name><name><surname>Eliceiri</surname><given-names>K</given-names></name><name><surname>Tomancak</surname><given-names>P</given-names></name><name><surname>Cardona</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Fiji: an open-source platform for biological-image analysis</article-title><source>Nature Methods</source><volume>9</volume><fpage>676</fpage><lpage>682</lpage><pub-id pub-id-type="doi">10.1038/nmeth.2019</pub-id><pub-id pub-id-type="pmid">22743772</pub-id></element-citation></ref><ref id="bib54"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scholkmann</surname><given-names>F</given-names></name><name><surname>Boss</surname><given-names>J</given-names></name><name><surname>Wolf</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>An efficient algorithm for automatic peak detection in noisy periodic and quasi-periodic signals</article-title><source>Algorithms</source><volume>5</volume><fpage>588</fpage><lpage>603</lpage><pub-id pub-id-type="doi">10.3390/a5040588</pub-id></element-citation></ref><ref id="bib55"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scholz</surname><given-names>M</given-names></name><name><surname>Lynch</surname><given-names>DJ</given-names></name><name><surname>Lee</surname><given-names>KS</given-names></name><name><surname>Levine</surname><given-names>E</given-names></name><name><surname>Biron</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>A scalable method for automatically measuring pharyngeal pumping in <italic>C. elegans</italic></article-title><source>Journal of Neuroscience Methods</source><volume>274</volume><fpage>172</fpage><lpage>178</lpage><pub-id pub-id-type="doi">10.1016/j.jneumeth.2016.07.016</pub-id><pub-id pub-id-type="pmid">27474347</pub-id></element-citation></ref><ref id="bib56"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scholz</surname><given-names>M</given-names></name><name><surname>Dinner</surname><given-names>AR</given-names></name><name><surname>Levine</surname><given-names>E</given-names></name><name><surname>Biron</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Stochastic feeding dynamics arise from the need for information and energy</article-title><source>PNAS</source><volume>114</volume><fpage>9261</fpage><lpage>9266</lpage><pub-id pub-id-type="doi">10.1073/pnas.1703958114</pub-id><pub-id pub-id-type="pmid">28802256</pub-id></element-citation></ref><ref id="bib57"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Scholz</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2022">2022</year><data-title>Pharaglow</data-title><source>GitHub</source><ext-link ext-link-type="uri" xlink:href="https://github.com/scholz-lab/PharaGlow">https://github.com/scholz-lab/PharaGlow</ext-link></element-citation></ref><ref id="bib58"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Seymour</surname><given-names>MK</given-names></name><name><surname>Wright</surname><given-names>KA</given-names></name><name><surname>Doncaster</surname><given-names>CC</given-names></name></person-group><year iso-8601-date="1983">1983</year><article-title>The action of the anterior feeding apparatus of <italic>Caenorhabditis elegans</italic> (nematoda: rhabditida)</article-title><source>Journal of Zoology</source><volume>201</volume><fpage>527</fpage><lpage>539</lpage><pub-id pub-id-type="doi">10.1111/j.1469-7998.1983.tb05074.x</pub-id></element-citation></ref><ref id="bib59"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shtonda</surname><given-names>BB</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Dietary choice behavior in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Experimental Biology</source><volume>209</volume><fpage>89</fpage><lpage>102</lpage><pub-id pub-id-type="doi">10.1242/jeb.01955</pub-id><pub-id pub-id-type="pmid">16354781</pub-id></element-citation></ref><ref id="bib60"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Song</surname><given-names>B</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Serotonin activates overall feeding by activating two separate neural pathways in <italic>Caenorhabditis elegans</italic></article-title><source>The Journal of Neuroscience</source><volume>32</volume><fpage>1920</fpage><lpage>1931</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.2064-11.2012</pub-id><pub-id pub-id-type="pmid">22323705</pub-id></element-citation></ref><ref id="bib61"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Song</surname><given-names>BM</given-names></name><name><surname>Faumont</surname><given-names>S</given-names></name><name><surname>Lockery</surname><given-names>S</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Recognition of familiar food activates feeding via an endocrine serotonin signal in <italic>Caenorhabditis elegans</italic></article-title><source>eLife</source><volume>2</volume><elocation-id>e00329</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.00329</pub-id><pub-id pub-id-type="pmid">23390589</pub-id></element-citation></ref><ref id="bib62"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Srinivasan</surname><given-names>S</given-names></name><name><surname>Sadegh</surname><given-names>L</given-names></name><name><surname>Elle</surname><given-names>IC</given-names></name><name><surname>Christensen</surname><given-names>AGL</given-names></name><name><surname>Faergeman</surname><given-names>NJ</given-names></name><name><surname>Ashrafi</surname><given-names>K</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Serotonin regulates <italic>C. elegans</italic> fat and feeding through independent molecular mechanisms</article-title><source>Cell Metabolism</source><volume>7</volume><fpage>533</fpage><lpage>544</lpage><pub-id pub-id-type="doi">10.1016/j.cmet.2008.04.012</pub-id><pub-id pub-id-type="pmid">18522834</pub-id></element-citation></ref><ref id="bib63"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Swierczek</surname><given-names>NA</given-names></name><name><surname>Giles</surname><given-names>AC</given-names></name><name><surname>Rankin</surname><given-names>CH</given-names></name><name><surname>Kerr</surname><given-names>RA</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>High-throughput behavioral analysis in <italic>C. elegans</italic></article-title><source>Nature Methods</source><volume>8</volume><fpage>592</fpage><lpage>598</lpage><pub-id pub-id-type="doi">10.1038/nmeth.1625</pub-id><pub-id pub-id-type="pmid">21642964</pub-id></element-citation></ref><ref id="bib64"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Takahashi</surname><given-names>M</given-names></name><name><surname>Takagi</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Optical silencing of body wall muscles induces pumping inhibition in <italic>Caenorhabditis elegans</italic></article-title><source>PLOS Genetics</source><volume>13</volume><elocation-id>e1007134</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pgen.1007134</pub-id><pub-id pub-id-type="pmid">29281635</pub-id></element-citation></ref><ref id="bib65"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Trepanowski</surname><given-names>JF</given-names></name><name><surname>Canale</surname><given-names>RE</given-names></name><name><surname>Marshall</surname><given-names>KE</given-names></name><name><surname>Kabir</surname><given-names>MM</given-names></name><name><surname>Bloomer</surname><given-names>RJ</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Impact of caloric and dietary restriction regimens on markers of health and longevity in humans and animals: a summary of available findings</article-title><source>Nutrition Journal</source><volume>10</volume><elocation-id>107</elocation-id><pub-id pub-id-type="doi">10.1186/1475-2891-10-107</pub-id><pub-id pub-id-type="pmid">21981968</pub-id></element-citation></ref><ref id="bib66"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Trojanowski</surname><given-names>NF</given-names></name><name><surname>Raizen</surname><given-names>DM</given-names></name><name><surname>Fang-Yen</surname><given-names>C</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Pharyngeal pumping in <italic>Caenorhabditis elegans</italic> depends on tonic and phasic signaling from the nervous system</article-title><source>Scientific Reports</source><volume>6</volume><elocation-id>22940</elocation-id><pub-id pub-id-type="doi">10.1038/srep22940</pub-id><pub-id pub-id-type="pmid">26976078</pub-id></element-citation></ref><ref id="bib67"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wakabayashi</surname><given-names>T</given-names></name><name><surname>Kitagawa</surname><given-names>I</given-names></name><name><surname>Shingai</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Neurons regulating the duration of forward locomotion in <italic>Caenorhabditis elegans</italic></article-title><source>Neuroscience Research</source><volume>50</volume><fpage>103</fpage><lpage>111</lpage><pub-id pub-id-type="doi">10.1016/j.neures.2004.06.005</pub-id><pub-id pub-id-type="pmid">15288503</pub-id></element-citation></ref><ref id="bib68"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ward</surname><given-names>A</given-names></name><name><surname>Liu</surname><given-names>J</given-names></name><name><surname>Feng</surname><given-names>Z</given-names></name><name><surname>Xu</surname><given-names>XZS</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Light-sensitive neurons and channels mediate phototaxis in <italic>C. elegans</italic></article-title><source>Nature Neuroscience</source><volume>11</volume><fpage>916</fpage><lpage>922</lpage><pub-id pub-id-type="doi">10.1038/nn.2155</pub-id><pub-id pub-id-type="pmid">18604203</pub-id></element-citation></ref><ref id="bib69"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>You</surname><given-names>Y</given-names></name><name><surname>Kim</surname><given-names>J</given-names></name><name><surname>Cobb</surname><given-names>M</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Starvation activates MAP kinase through the muscarinic acetylcholine pathway in <italic>Caenorhabditis elegans</italic> pharynx</article-title><source>Cell Metabolism</source><volume>3</volume><fpage>237</fpage><lpage>245</lpage><pub-id pub-id-type="doi">10.1016/j.cmet.2006.02.012</pub-id><pub-id pub-id-type="pmid">16581001</pub-id></element-citation></ref><ref id="bib70"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>You</surname><given-names>Y</given-names></name><name><surname>Kim</surname><given-names>J</given-names></name><name><surname>Raizen</surname><given-names>DM</given-names></name><name><surname>Avery</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Insulin, cgmp, and TGF-beta signals regulate food intake and quiescence in <italic>C. elegans</italic>: a model for satiety</article-title><source>Cell Metabolism</source><volume>7</volume><fpage>249</fpage><lpage>257</lpage><pub-id pub-id-type="doi">10.1016/j.cmet.2008.01.005</pub-id><pub-id pub-id-type="pmid">18316030</pub-id></element-citation></ref><ref id="bib71"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhao</surname><given-names>B</given-names></name><name><surname>Khare</surname><given-names>P</given-names></name><name><surname>Feldman</surname><given-names>L</given-names></name><name><surname>Dent</surname><given-names>JA</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Reversal frequency in <italic>Caenorhabditis elegans</italic> represents an integrated response to the state of the animal and its environment</article-title><source>The Journal of Neuroscience</source><volume>23</volume><fpage>5319</fpage><lpage>5328</lpage><pub-id pub-id-type="pmid">12832557</pub-id></element-citation></ref><ref id="bib72"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zou</surname><given-names>W</given-names></name><name><surname>Fu</surname><given-names>J</given-names></name><name><surname>Zhang</surname><given-names>H</given-names></name><name><surname>Du</surname><given-names>K</given-names></name><name><surname>Huang</surname><given-names>W</given-names></name><name><surname>Yu</surname><given-names>J</given-names></name><name><surname>Li</surname><given-names>S</given-names></name><name><surname>Fan</surname><given-names>Y</given-names></name><name><surname>Baylis</surname><given-names>HA</given-names></name><name><surname>Gao</surname><given-names>S</given-names></name><name><surname>Xiao</surname><given-names>R</given-names></name><name><surname>Ji</surname><given-names>W</given-names></name><name><surname>Kang</surname><given-names>L</given-names></name><name><surname>Xu</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Decoding the intensity of sensory input by two glutamate receptors in one <italic>C. elegans</italic> interneuron</article-title><source>Nature Communications</source><volume>9</volume><elocation-id>4311</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-018-06819-5</pub-id><pub-id pub-id-type="pmid">30333484</pub-id></element-citation></ref></ref-list><app-group><app id="appendix-1"><title>Appendix 1</title><sec sec-type="appendix" id="s8"><title>Collision detection and effective number of independent animals in the field-of-view</title><p>PharaGlow detects all fluorescent objects in the field of view. The experimenter should choose a minimal and maximal size to allow only tracking objects that are single worms. If animals touch, an object that is larger than the maximally allowed size (maxSize) will be detected. In this case, the program automatically re-segments the region and attempts to separate the large object into multiple smaller objects using repeated filtering and thresholding. If this process is successful and two or more objects of the correct size can be separated, the program will continue tracking these animals. This approach is successful when animals touch, but do not overlap. We are unable to resolve crossings where animals are physically overlapping.</p><p>To determine the effect of collisions on tracking, we determine the number of detected objects in the field-of-view and compare it to the number of tracks obtained. Analysis of the track duration shows that average tracks are two min, and this duration depends on the velocity (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1</xref>). We find that these two measures correlate well, supporting the view that animal tracks are not frequently broken into small tracklets (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1B</xref>).</p></sec><sec sec-type="appendix" id="s9"><title>Computational cost and scaling</title><p>We benchmarked the performance and scaling of the software using perfplot. <xref ref-type="table" rid="app1table1">Appendix 1—table 1</xref> details the pure computation time as run on a 1000 frame demo recording (available for download at the data repository). We find that parallelization improves performance for the object detection for up to 8 workers, and continues improving for &gt;16 workers in the segmentation step. In our implementation, this option is already provided based on the python package multiprocessing. As the different steps depend on the details of the imaging, we have decided to report processing time per step.</p><list list-type="order"><list-item><p>Object detection</p><p>The object detection step uses a full frame and does masking and object detection for each individual object. For this case, computational cost scales with the number of frames and can be easily parallelized to enable a faster speed. The average single-core computation time per frame is 300ms, which includes I/O, as we employ lazy data loading, which allows analyses of data that are much larger than the RAM available. Of note, this step can be omitted if our acquisition software is used (see Methods) as single worms are segmented already during acquisition.</p></list-item><list-item><p>Tracking and trajectory interpolation</p><p>The tracking step is based on trackpy and here the scaling depends on the search range (how far can an object move between frames) and the memory (how many subsequent frames can an object be unobserved). Typically, this step is much faster than the other two as it does not handle large I/O or image processing.</p></list-item><list-item><p>Segmentation, centerline detection, straightening, and pump detection</p><p>In this step, the previously detected images of detected pharynx are further processed. The total compute time here depends on the product between the number of objects and the number of recording frames. We therefore provide a per-object assessment of the processing time.</p></list-item></list><table-wrap id="app1table1" position="float"><label>Appendix 1—table 1.</label><caption><title>Benchmarking of the typical computing times.</title><p>Full frames are the multi-animal images with 3088x2064 px. Mini-frames are small regions of interest with one animal (<xref ref-type="fig" rid="fig1">Figure 1D</xref>).</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom"/><th align="left" valign="bottom" colspan="3">Compute time**Intel(R) Xeon(R) Gold 6230 CPU @ 2.10 GHz</th></tr></thead><tbody><tr><td align="left" valign="bottom"><bold>Step</bold></td><td align="char" char="." valign="bottom">1 worker</td><td align="char" char="." valign="bottom">4 workers</td><td align="char" char="." valign="bottom">16 workers</td></tr><tr><td align="left" valign="bottom">Object detection</td><td align="left" valign="bottom">186.6 ms / full frame</td><td align="left" valign="bottom">81.2 ms / full frame</td><td align="left" valign="bottom">57.4 ms / full frame</td></tr><tr><td align="left" valign="bottom">Tracking and trajectory interpolation</td><td align="left" valign="bottom">1 ms / miniframe</td><td align="left" valign="bottom">1 ms / miniframe</td><td align="left" valign="bottom">1 ms / miniframe</td></tr><tr><td align="left" valign="bottom">Segmentation etc.</td><td align="left" valign="bottom">378 ms / mini-frame</td><td align="left" valign="bottom">104 ms / miniframe</td><td align="left" valign="bottom">32 ms / miniframe</td></tr><tr><td align="left" valign="bottom"><bold>Typical recording</bold> 150 worm minutes of data (9000 full frames, 30 worms)</td><td align="char" char="." valign="bottom"><bold>1.2</bold> days</td><td align="char" char="." valign="bottom"><bold>8.2</bold> h</td><td align="char" char="." valign="bottom"><bold>3</bold> h</td></tr></tbody></table></table-wrap></sec><sec sec-type="appendix" id="s10"><title>Effects of light exposure</title><p><italic>C. elegans</italic> are known to sense and react to light by initiating reversals and suppressing pumping. These reactions occur more frequently at short wavelengths and high power densities (<xref ref-type="bibr" rid="bib68">Ward et al., 2008</xref>; <xref ref-type="bibr" rid="bib8">Bhatla et al., 2015</xref>; <xref ref-type="bibr" rid="bib9">Bhatla and Horvitz, 2015</xref>). To determine if our imaging conditions affected behavior, we measured the light intensity and the leaving rates of animals during imaging. We used excitation light centered at 500 nm, and measured an effective intensity of only 0.24 mW/mm<sup>2</sup> in the ﬁeld-of-view, 54 times lower than the reported intensity that induces pumping inhibition or spitting<sup>3</sup>. We observed 5–25% of animals leaving the ﬁeld-of-view during recordings, indicating a mild avoidance reaction which depends on the developmental stage (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3</xref>).</p><p>To control for photo-toxic effects, we split our developmental cohort into two groups. One group of animals was imaged consecutively at each larval stage (multiple exposures), the other group was left to grow under the same conditions, but only ever imaged once (single exposure). We ﬁnd that during all larval stages, the behavioral results of the two groups are similar, but not in young adults (<xref ref-type="fig" rid="fig2s4">Figure 2—figure supplement 4</xref>). For the young adult cohort, the animals that were repeatedly imaged show a higher velocity compared to the single-exposure group, as well as differences in all other behavioral metrics we report. We speculate that this could be due to differences in drying of the plates during repeated imaging, or a possible light-induced chronic effect.</p><p>Over longer time scales, exposure to light can reduce the worms’ lifespan (<xref ref-type="bibr" rid="bib20">De Magalhaes Filho et al., 2018</xref>). To test for chronic photo-toxic effects, we tested the viability of worms after long exposure to 500 nm light. We continuously illuminated 30 young adult GRU101 worms for ﬁve hours using the same illumination intensity as our PharaGlow assay (0.24 mW/mm<sup>2</sup> at the focal plane). We employed a copper frame to prevent the worms from escaping the illuminated area. A plate not exposed to the 500 nm light was placed on the same bench close to the microscope as our negative control. After ﬁve hours, the copper frame was removed and worms were scored for viability both immediately and after overnight recovery in a 20 °C incubator. All worms were viable and able to move upon gentle tapping on the plates immediately after illumination. Further checking after overnight recovery conﬁrmed their continued viability. This suggests that exposure to this light level does not cause observable photo-toxic effects.</p><p>To further assess the impact of the excitation light on behavior, we measured on-food pumping in adult animals expressing the red ﬂuorophore mCherry compared to the strain expressing YFP, which is used throughout the paper. If the impact of the wavelength is non-negligible, the red ﬂuorophore mCherry (excitation centered at 587 nm) should result in fewer reversals or accelerations compared to YFP, as these responses are wave-length dependent (<xref ref-type="bibr" rid="bib68">Ward et al., 2008</xref>; <xref ref-type="bibr" rid="bib8">Bhatla et al., 2015</xref>; <xref ref-type="bibr" rid="bib9">Bhatla and Horvitz, 2015</xref>). As expected, we ﬁnd an increase in the velocity for the green light exposed animals (<xref ref-type="fig" rid="fig2s5">Figure 2—figure supplement 5A</xref>). However, we ﬁnd that pumping rates between the two populations are not signiﬁcantly different (<xref ref-type="fig" rid="fig2s5">Figure 2—figure supplement 5B</xref>), suggesting that these light intensities do not affect pumping behavior. We note that the differential effects of excitation light on behavior should be taken into account when investigating the coupling between e.g., locomotory and feeding behaviors.</p></sec></app></app-group></back><sub-article article-type="editor-report" id="sa0"><front-stub><article-id pub-id-type="doi">10.7554/eLife.77252.sa0</article-id><title-group><article-title>Editor's evaluation</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Zimmer</surname><given-names>Manuel</given-names></name><role specific-use="editor">Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03prydq77</institution-id><institution>University of Vienna</institution></institution-wrap><country>Austria</country></aff></contrib></contrib-group><related-object id="sa0ro1" object-id-type="id" object-id="10.1101/2022.01.20.477072" link-type="continued-by" xlink:href="https://sciety.org/articles/activity/10.1101/2022.01.20.477072"/></front-stub><body><p>In this study, Bonnard and colleagues report a new method to assay feeding rates in <italic>C. elegans</italic>. Imaging fluorescence in the pharynx with subsequent image processing steps they make it possible to record pharyngeal pumping across freely behaving animal populations over periods up to 3 hs. They validate their method in different behavioural paradigms and with various feeding mutants.</p></body></sub-article><sub-article article-type="decision-letter" id="sa1"><front-stub><article-id pub-id-type="doi">10.7554/eLife.77252.sa1</article-id><title-group><article-title>Decision letter</article-title></title-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Zimmer</surname><given-names>Manuel</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03prydq77</institution-id><institution>University of Vienna</institution></institution-wrap><country>Austria</country></aff></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name><surname>Ding</surname><given-names>Serena</given-names></name><role>Reviewer</role></contrib></contrib-group></front-stub><body><boxed-text id="sa2-box1"><p>Our editorial process produces two outputs: (i) <ext-link ext-link-type="uri" xlink:href="https://sciety.org/articles/activity/10.1101/2022.01.20.477072">public reviews</ext-link> designed to be posted alongside <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/10.1101/2022.01.20.477072v1">the preprint</ext-link> for the benefit of readers; (ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.</p></boxed-text><p><bold>Decision letter after peer review:</bold></p><p>[Editors’ note: the authors submitted for reconsideration following the decision after peer review. What follows is the decision letter after the first round of review.]</p><p>Thank you for submitting the paper &quot;Automatically tracking feeding behavior in populations of foraging worms&quot; for consideration by <italic>eLife</italic>. Your article has been reviewed by 3 peer reviewers, one of whom is a member of our Board of Reviewing Editors, and the evaluation has been overseen by a Senior Editor. The following individual involved in the review of your submission has agreed to reveal their identity: Serena Ding (Reviewer #2).</p><p>Comments to the Authors:</p><p>We are sorry to say that, after consultation with the reviewers, we have decided that this work will not be considered further for publication by <italic>eLife</italic>. The reviewers found your work of high quality, and upon some revisions could represent a useful technique to study feeding behaviors in worms. However, the consensus of the reviewers was that your new method is useful only for this small circle of <italic>C. elegans</italic> researchers and therefore does not address the broader audience of <italic>eLife</italic> readers.</p><p>Please find their detailed comments and recommendations below.</p><p><italic>Reviewer #1 (Recommendations for the authors):</italic></p><p>(1) I think the authors did not fully exploit the great potential to perform long term observations in individual worms. I wonder whether they could perform experiments on single or few worms restricted to the imaging field of view so that they cannot collide and escape; thus, single worm identity is kept. How long is it possible to record without bleaching the pharyngeal marker? Is it possible to record over extended episodes, like feeding quiescence during lethargus or upon stress induction?</p><p>(2) Related to the above. Pumping rates in general show spread distributions, which I believe are not due to noise, please clarify. And under some conditions distributions show interesting bi-modality or skew e.g. Figure 4B (30min starvation) or unc-31 mutants (Figure 5F). Are inter-pump intervals autocorrelated and change smoothly in fed WT animals, and if yes on which timescales? Do 30min starved animals and unc-31 mutants switch between discrete states of high/low pumping rates and if yes, on which timescales. The authors report that they observed episodes of feeding quiescence, perhaps related to satiety quiescence. They could be more quantitative about this observation describing the time-scales and frequencies of these observations.</p><p>(3) The authors should be clearer about what n-numbers / sample sizes represent. Individual assays, worms used in assays (which would be less than data in the field of view), tracklets (which can be more than observed worms, see methods: 20-30s tracklets, meaning that many track interruptions could artificially blow-up the n-numbers) … ? E.g., in Figure 3 n numbers are in the hundreds; in Figure 3E two numbers are given in brackest. Please indicate these unambiguously in the Figure captions.</p><p>(3a) Depending on this, n numbers might be inaccurate in describing the real number of datapoints; or datapoints might not be independent of each other (e.g. many tracklets from the same worm). This affects the right choice of statistical testing procedures. Most figure panels that show comparisons lack any statistics.</p><p>(4) The authors state that a simple laptop/desktop would be sufficient but it seemed they used an HPC to generate the data in the manuscript. Please be clear about what the requirements really are and if the analyses are really feasible in a reasonable time using a standard computer. What were the CPU hours required to generate the data in this study?</p><p>(5) … &quot;also find that similar to off-food reversals, which are constant throughout</p><p>larval development&quot;… prior to this section the authors should explain better the general <italic>C. elegans</italic> behaviours known as some readers might not know what reversals are etc. For them, this comes out of nowhere.</p><p>(6) Figure 5D: the different contraction patterns should be qualitatively better described in the text so that readers get a better intuition of what causes the differences in the mean change images.</p><p>(7) The authors discuss a future outlook applying their method to 3D behaviour. For me, it is hard to imagine how this could ever work. Be precise, how this could be achieved realistically or remove this statement.</p><p>(8) …&quot; using a rolling mean filter of 1 s and a smoothing filter of width =</p><p>66 ms (2 frames)&quot;: please be precise what the smoothing filter was, and why was this needed, since there is already a 1s rolling mean applied.?</p><p><italic>Reviewer #2 (Recommendations for the authors):</italic></p><p>– This new method directly measures the pumping of the pharyngeal muscles as a proxy for feeding. However, worms are also known to pump their pharynx without actual food intake, such as when off-food. The authors should be more explicit about this limitation to their method and take care when using &quot;pumping&quot; and &quot;feeding&quot; interchangeably.</p><p>– One key advantage of this new method is that pumping and locomotion behaviour can be simultaneously detected to generate new insights e.g. regarding behavioural modularity and coordination. However, the authors report that while the pumping rates remain the same whether imaging with YFP or mCherry, other locomotion metrics such as velocity are different. This result thus calls for careful interpretation in future studies that link both types of behaviours using this method.</p><p>– The first sentence of the introduction (p.1) &quot;Animals must forage… and provide for their young&quot; is perhaps too generalised. There are animals that do not provide for their young, so I suggest removing this part of the sentence.</p><p>– Page 8, middle paragraph: multiple exposure vs. single exposure experimental differences &quot;could be due to … different remaining food levels&quot;. Why would this be, if the experiments and feeding rates are reported to be the same in both cases?</p><p>– &quot;Pharaglow&quot; is capitalised in some cases and not others.</p><p>– Perhaps the authors could also comment on what happens when animals overlap during the experiment, especially in the context of large scale foraging experiments.</p><p><italic>Reviewer #3 (Recommendations for the authors):</italic></p><p>Detailed comments:</p><p>The term &quot;worm&quot; is highly nonspecific, encompassing 3 phyla.</p><p>&quot;<italic>C. elegans</italic>&quot; or better yet &quot;<italic>Caenorhabditis elegans</italic>&quot; should be in the title.</p><p>The Introduction focuses somewhat narrowly on studies of foraging strategies and food intake. In addition to these interesting topics, the authors could discuss how assessment of feeding is used in studies of behavioral genetics, quiescence, and aging.</p><p>I found the description of pharyngeal pumping in the introduction to be quite confusing. The authors should strive to use standard anatomical and behavioral terms and explain them for the naive reader. For example, the sentence &quot;Transport proceeds with occasional peristaltic contractions that move food further toward the intestine where a hard cuticular structure, the grinder, crushes the bacteria before they are pushed into the intestine&quot; needs to be rephrased. The peristaltic motion is called isthmus peristalsis. It moves food particles to the terminal bulb which contains the grinder.</p><p>&quot;Of these motions, pumping is the most frequent contraction that is also the limiting step for food intake&quot;. I am lost as to what was intended here.</p><p>Figure 1F: Why is the y axis given as arbitrary units? I would like to see how large the variation in standard deviation is during pharyngeal pumping.</p><p>The comparison between automated assessment and expert manual assessment is weak because both were done with low-resolution fluorescence data. If the goal is to compare with how pharyngeal pumping is normally assessed, the authors should use high-resolution bright field or DIC images, as</p><p>Another problem with the automated/manual comparison is that the pumping rate varied over a fairly narrow range. As the authors acknowledge, pumping is modulated by many different factors, so it is not difficult to prepare worms with a wide range of pumping rates. Doing this would help assess linearity of the method, especially at low pump rates.</p><p>The sections describing various applications of the method (development, starvation, and mutants) are poorly motivated and written in a confusing manner. For each section the authors need to briefly introduce the questions being addressed and why they are important. Similarly, the results should be briefly discussed in light of the questions being asked.</p><p>Page 7: &quot;We find that on-food pumping rates increase slightly over the course of the larval stages, but much less dramatically than the velocity.&quot; Why are the authors comparing the increase in pumping rate with velocity? These are like apples and oranges.</p><p>The authors cite results showing that long-term exposure to light reduces lifespan. But to test for phototoxicity, the authors measure not lifespan but feeding rate! This seems odd. A simple experiment would be to keep the illumination on until all the animals have died. This would give some indication of how close to a lethal dose is being delivered to the worms.</p><p>Figure 3: The ordering of the panels here is confusing.</p><p>3C,3D: Specific Y axis labels would be better here. Why not measure area in µm^2? Why not have axes for pumping rate in Hz and velocity in mm/s?</p><p>Page 10: &quot;…the distributions of both pumping rates and velocities show distinct sub-populations&quot;. I see no evidence of subpopulations in velocity. There are some local maxima and minima in the pumping rate, but without further analyses these effects seem quite preliminary.</p><p>Page 12. &quot;It is possible that some of the detected pumps in our measurements are either peristaltic movements or other non-productive muscular motion&quot;. The authors imply that isthmus peristalsis is &quot;non-productive&quot;, which does not make sense to me. Have the authors observed isthmus peristalsis in their images? It should be straightforward to see if isthmus peristalsis is reflected in the traces shown in Figure 1F.</p><p>Page 16: &quot;labeling parts of the pharynx with lipophilic dyes would be a possibility to extend the usage of this tool beyond species that are genetically tractable&quot;. I do not understand how lipophilic dyes, which label certain structures but not the pharynx, would be useful here.</p><p>[Editors’ note: further revisions were suggested prior to acceptance, as described below.]</p><p>Thank you for resubmitting your work entitled &quot;Automatically tracking feeding behavior in populations of foraging worms&quot; for further consideration by <italic>eLife</italic>. Your revised article has been evaluated by Ronald Calabrese (Senior Editor) and a Reviewing Editor. I am happy to tell you that all reviewers are now very enthusiastic about your manuscript, which has been significantly improved. However, there are some remaining issues raised by reviewer #1 that need to be addressed, as outlined below.</p><p><italic>Reviewer #1 (Recommendations for the authors):</italic></p><p>In this revision, the authors have made some efforts to address my review points. My main point, however, which was to prove the suitability of their approach for long term observations with subsequent analyses is only partially addressed.</p><p>(1) It is very promising to see that there is almost no bleaching of the pharyngeal signal; this does not mean however that these experiments work practically for extended recording times of more than one hour (see #2 below). I suggest being more careful with the conclusions.</p><p>(2) The authors show an impressive example of male-hermaphrodite interactions recording behaviors over a period of 1h. This is great, but unfortunately just one example. Is this the best outcome the authors could have ever achieved or is it representative for many experiments? With the male-hermaphrodite paradigm, the authors go beyond what I was requesting. If their approach works as they claim, it should be feasible to perform a sufficient amount of single animal recordings.</p><p>(3) The authors attempted to address one of my points showing pumping rate distributions of individual animals (2H, 3G). I disagree with the authors statement that PharaGlow can &quot;produce large animal statistics while preserving single worm behavioral information&quot;. This ability is hampered by the short tracklet durations. One cannot conclude from e.g. 3G left panel whether individuals differ in an idiosyncratic way versus transient changes that are randomly captured in the short tracklet episodes. Hence, my previous request to perform statistics on longer recordings. Figure 5D indicates that the animals exhibit minutes lasting episodes of high and low pumping rates. More 1h recordings on individuals like in Figure 5 (perhaps no need to do male plus hermaphrodite) will enable the authors to perform the requested analyses. As mentioned above, if PharaGlow performs as the authors claim, these revisions should be doable with reasonable effort.</p><p><italic>Reviewer #2 (Recommendations for the authors):</italic></p><p>The authors have thoroughly and effectively responded to previous reviews, resulting in a significantly improved manuscript. It is now clear that the method is broadly applicable using common imaging microscopes and computing resources, and that it is suitable for studying pumping behaviour in populations of unrestrained animals across various time- and space- scales. The method affords novel observations not directly feasible with previous methods, for instance, exemplified by the authors' recent addition of pumping dynamics during mating events.</p><p><italic>Reviewer #3 (Recommendations for the authors):</italic></p><p>The statistical tests added to the paper were not reported correctly. There are multiple instances of &quot;p&lt;0.000&quot; and &quot;&quot;p=0.000&quot; in the figures and captions. In fact every single p value given in Figure 4 and its caption is either zero or negative! Similarly in Figure S2.2A , S2.5A.</p><p>But in general the revised manuscript is much improved compared to the original.</p></body></sub-article><sub-article article-type="reply" id="sa2"><front-stub><article-id pub-id-type="doi">10.7554/eLife.77252.sa2</article-id><title-group><article-title>Author response</article-title></title-group></front-stub><body><p>[Editors’ note: The authors appealed the original decision. What follows is the authors’ response to the first round of review.]</p><disp-quote content-type="editor-comment"><p>Reviewer #1 (Recommendations for the authors):</p><p>(1) I think the authors did not fully exploit the great potential to perform long term observations in individual worms. I wonder whether they could perform experiments on single or few worms restricted to the imaging field of view so that they cannot collide and escape; thus, single worm identity is kept. How long is it possible to record without bleaching the pharyngeal marker? Is it possible to record over extended episodes, like feeding quiescence during lethargus or upon stress induction?</p></disp-quote><p>We thank the reviewer for this important suggestion, which we now added to the manuscript. Due to the large data rate of these recordings, we combined a live-segmentation with our down-stream analysis. The results are now presented as Figure 5 of the revised manuscript.</p><p>Furthermore, we provide additional data characterizing photo-bleaching. This data shows that continuous recordings for extended periods of time (&gt; 5 hrs) are feasible using this approach (Figure S5.1).</p><disp-quote content-type="editor-comment"><p>(2) Related to the above. Pumping rates in general show spread distributions, which I believe are not due to noise, please clarify. And under some conditions distributions show interesting bi-modality or skew e.g. Figure 4B (30min starvation) or unc-31 mutants (Figure 5F). Are inter-pump intervals autocorrelated and change smoothly in fed WT animals, and if yes on which timescales?</p></disp-quote><p>We thank the reviewer for bringing up an important point regarding the stochasticity observed in pumping, and we discuss this now in more detail in the introduction. Off-food and low food pumping rates show interesting inter-pump dynamics (see e.g., Scholz et al., <italic>PNAS</italic> 2017) and also Figure 4 of this manuscript. In contrast, the on-food behavior shows mostly steady pumping at constant rates, as can be seen from the on-food pumping rate distribution in Figure S3.1. Broader distributions in on-food conditions arise from inter-animal variability in the peak rates and brief pauses in pumping, or in the case of <italic>unc-31</italic> due to effects of the mutant background. To illustrate individual animal data, we have added histograms for individual animals off-food as well as individual animal timeseries to Figures 2 and 3. We now introduce previous work highlighting the inherent stochasticity of pumping. Additionally, we describe in more detail in the methods section how we calculate pumping rates, as there is some variation depending if average pumps/ unit time or instantaneous rates are reported.</p><disp-quote content-type="editor-comment"><p>Do 30min starved animals and unc-31 mutants switch between discrete states of high/low pumping rates and if yes, on which timescales.</p></disp-quote><p>The reviewer raises an interesting question. To examine if there are switches between high and low pumping rates, we now present the pumping rate distributions for individual animals. For our experiments, animals appear to show distinct mean rates and not switch on the timescale of minutes (Figures 2H and 3G).</p><p>Understanding the timescale on which switches would occur and how this might differ in mutant animals would make for an interesting follow up study when combined with our long-term imaging (Figure 5).</p><disp-quote content-type="editor-comment"><p>The authors report that they observed episodes of feeding quiescence, perhaps related to satiety quiescence. They could be more quantitative about this observation describing the time-scales and frequencies of these observations.</p></disp-quote><p>As the reviewer recommends, we have added a quantification of the observed non-pumpers (&lt;1% for most recordings). Interestingly, we also observe long feeding quiescence in Figure 5 (male), indicating regulation at the tens of minutes timescale.</p><disp-quote content-type="editor-comment"><p>(3) The authors should be clearer about what n-numbers / sample sizes represent. Individual assays, worms used in assays (which would be less than data in the field of view), tracklets (which can be more than observed worms, see methods: 20-30s tracklets, meaning that many track interruptions could artificially blow-up the n-numbers) … ? E.g., in Figure 3 n numbers are in the hundreds; in Figure 3E two numbers are given in brackest. Please indicate these unambiguously in the Figure captions.</p></disp-quote><p>We thank the reviewer for pointing out this potentially confusing wording. We now state that the N numbers indicate animal tracks when referring to automatically analyzed data and have clarified the positioning and description of our N in the figures and captions. We would like to re-emphasize that we indeed record hundreds of animals in the experiments described in Figure 3. We record over 30 individuals in one field of view, and repeat this for 6 independent plates. We believe the large sample size is a major strength of our method and have altered the text to reflect this.</p><p>We have additionally added a section to the supplementary information showing the average track duration and how it relates to the number of individuals we record (Figure S3.6). As we state in the text, we only consider tracklets that are at least 1 min, except for the starvation data. However, this does not mean we only track for such short periods of time. Instead, our average track length is ~ 2 min (5 min recording time) and scales with velocity, indicating that leaving the field-of-view, rather than crossings, is what limits the tracking duration (Figure S2.1). We also describe how the tracker resolves crossings, which we are successful in doing except when worms are physically overlapping.</p><disp-quote content-type="editor-comment"><p>(3a) Depending on this, n numbers might be inaccurate in describing the real number of datapoints; or datapoints might not be independent of each other (e.g. many tracklets from the same worm). This affects the right choice of statistical testing procedures. Most figure panels that show comparisons lack any statistics.</p></disp-quote><p>Given the sample size and the additional analyses of track-length and track numbers as detailed above, we are confident that we are not vastly over-estimating our sample size and that our chosen tests are appropriate. We have added p-values to all pertinent figures (3,4,5 and supplementary).</p><disp-quote content-type="editor-comment"><p>(4) The authors state that a simple laptop/desktop would be sufficient but it seemed they used an HPC to generate the data in the manuscript. Please be clear about what the requirements really are and if the analyses are really feasible in a reasonable time using a standard computer. What were the CPU hours required to generate the data in this study?</p></disp-quote><p>We appreciate the reviewer’s suggestions regarding additional analyses of the required compute times. We have added a benchmarking of the PharaGlow analysis in the supplementary information, showing expected times for both an end user laptop (single core and 4 core), as well as on a typical HPC. Data analysis, as we state in the manuscript, is possible on a normal laptop, and one can expect analysis to take around ~ 8 h for a 4-fold parallelization on CPU for a typical dataset presented in this paper of 3 worm*hours of data (see Table TS1 for comparison and performance in different scenarios).</p><p>However, due to the total scale of our datasets we have chosen to use a central storage and compute cluster. Our benchmarking shows that parallelization is very effective.</p><disp-quote content-type="editor-comment"><p>(5) … &quot;also find that similar to off-food reversals, which are constant throughout</p><p>larval development&quot;… prior to this section the authors should explain better the general <italic>C. elegans</italic> behaviours known as some readers might not know what reversals are etc. For them, this comes out of nowhere.</p></disp-quote><p>We thank the reviewer for this comment. In response, we have expanded our discussion of locomotory behaviors and provided more context for the reversal measurements. We now include reversal rates in Figure 3, as well as the rescaled measurements to match other studies’ measurements in Figure S2.2. We have also included the following description in the text: “Animals move forward on agar by generating waves of muscular contraction through their body. When the animals reverse the direction of these waves, they move backwards”</p><disp-quote content-type="editor-comment"><p>(6) Figure 5D: the different contraction patterns should be qualitatively better described in the text so that readers get a better intuition of what causes the differences in the mean change images.</p></disp-quote><p>We appreciate the reviewer's suggestion to describe the contraction patterns. We discuss this in the text and now show the average peak shape in Figure 4E and S4.1 which highlights the slower, longer duration contractions in the <italic>eat-18</italic> mutant.</p><disp-quote content-type="editor-comment"><p>(7) The authors discuss a future outlook applying their method to 3D behaviour. For me, it is hard to imagine how this could ever work. Be precise, how this could be achieved realistically or remove this statement.</p></disp-quote><p>We envisioned using fast 3D imaging, e.g., using multifocal imaging, which could in principle enable such measurements at the required rates. However, to keep the discussion focused and considering our emphasis on simple imaging techniques, we have removed this statement.</p><disp-quote content-type="editor-comment"><p>(8) …&quot; using a rolling mean filter of 1 s and a smoothing filter of width = 66 ms (2 frames)&quot;: please be precise what the smoothing filter was, and why was this needed, since there is already a 1s rolling mean applied.?</p></disp-quote><p>We thank the reviewer for pointing out the misleading wording of this sentence. It now reads: <italic>We correct for baseline fluctuations and spurious fluorescence changes by subtracting the background fluctuations using a rolling mean filter of 1 s. To the remaining signal we apply a smoothing filter of width = 66 ms (2 frames).</italic></p><disp-quote content-type="editor-comment"><p>Reviewer #2 (Recommendations for the authors):</p><p>– This new method directly measures the pumping of the pharyngeal muscles as a proxy for feeding. However, worms are also known to pump their pharynx without actual food intake, such as when off-food. The authors should be more explicit about this limitation to their method and take care when using &quot;pumping&quot; and &quot;feeding&quot; interchangeably.</p></disp-quote><p>We thank the reviewer for bringing up this important point of nomenclature, and have corrected the manuscript to read “pumping” throughout when we refer to our measurements.</p><disp-quote content-type="editor-comment"><p>– One key advantage of this new method is that pumping and locomotion behaviour can be simultaneously detected to generate new insights e.g. regarding behavioural modularity and coordination. However, the authors report that while the pumping rates remain the same whether imaging with YFP or mCherry, other locomotion metrics such as velocity are different. This result thus calls for careful interpretation in future studies that link both types of behaviours using this method.</p></disp-quote><p>We appreciate the reviewer highlighting this differential effect of light on different behaviors. The light effects on locomotor behaviors are well established, and we agree that these have to be carefully controlled. To emphasize this in our manuscript we now state: <italic>We note that the differential effects of excitation light on behavior should be taken into account when investigating the coupling between e.g., locomotory and feeding behaviors.</italic></p><disp-quote content-type="editor-comment"><p>– The first sentence of the introduction (p.1) &quot;Animals must forage… and provide for their young&quot; is perhaps too generalised. There are animals that do not provide for their young, so I suggest removing this part of the sentence.</p></disp-quote><p>We thank the reviewer for this suggestion, and have removed this statement as suggested.</p><disp-quote content-type="editor-comment"><p>– Page 8, middle paragraph: multiple exposure vs. single exposure experimental differences &quot;could be due to … different remaining food levels&quot;. Why would this be, if the experiments and feeding rates are reported to be the same in both cases?</p></disp-quote><p>We thank the reviewer for pointing this out, we have removed this statement.</p><disp-quote content-type="editor-comment"><p>– &quot;Pharaglow&quot; is capitalised in some cases and not others.</p></disp-quote><p>We thank the reviewer for pointing out the inconsistency, we have now formatted all instances to on spelling.</p><disp-quote content-type="editor-comment"><p>– Perhaps the authors could also comment on what happens when animals overlap during the experiment, especially in the context of large scale foraging experiments.</p></disp-quote><p>We thank the reviewer for this suggestion. We have added a section to the supplementary information demonstrating how our software deals with collisions and overlaps, and how this impacts tracking. In brief, we employ collision detection and attempt to resolve objects where two or more animals touch. This is successful when animals touch, however we can not yet resolve overlapping animals (and the pumping signals obtained from these animals would be uninterpretable).</p><disp-quote content-type="editor-comment"><p>Reviewer #3 (Recommendations for the authors):</p><p>Detailed comments:</p><p>The term &quot;worm&quot; is highly nonspecific, encompassing 3 phyla.</p><p>&quot;<italic>C. elegans</italic>&quot; or better yet &quot;<italic>Caenorhabditis elegans</italic>&quot; should be in the title.</p></disp-quote><p>We agree with the reviewer and have changed the title to specify <italic>C. elegans</italic>.</p><disp-quote content-type="editor-comment"><p>The Introduction focuses somewhat narrowly on studies of foraging strategies and food intake. In addition to these interesting topics, the authors could discuss how assessment of feeding is used in studies of behavioral genetics, quiescence, and aging.</p></disp-quote><p>We thank the reviewer for this helpful suggestion. In the revised version we extend the introduction and include references to pertinent studies across subfields, including behavioral genetics, quiescence, aging, and pharmacological screens, that use feeding behavior as a read-out.</p><disp-quote content-type="editor-comment"><p>I found the description of pharyngeal pumping in the introduction to be quite confusing. The authors should strive to use standard anatomical and behavioral terms and explain them for the naive reader. For example, the sentence &quot;Transport proceeds with occasional peristaltic contractions that move food further toward the intestine where a hard cuticular structure, the grinder, crushes the bacteria before they are pushed into the intestine&quot; needs to be rephrased. The peristaltic motion is called isthmus peristalsis. It moves food particles to the terminal bulb which contains the grinder.</p></disp-quote><p>We thank the reviewer for pointing out this editing mistake. The corrected sentence reads as follows: ‘Transport of the bacteria proceeds with occasional peristaltic contractions that move food further toward the terminal bulb, where a hard cuticular structure, the grinder, crushes the bacteria before they are pushed into the intestine.<sub>’</sub></p><disp-quote content-type="editor-comment"><p>&quot;Of these motions, pumping is the most frequent contraction that is also the limiting step for food intake&quot;. I am lost as to what was intended here.</p></disp-quote><p>In light of this comment and a related comment by reviewer 2, we have expanded our discussion of the terms feeding and pumping as used in the field.</p><disp-quote content-type="editor-comment"><p>Figure 1F: Why is the y axis given as arbitrary units? I would like to see how large the variation in standard deviation is during pharyngeal pumping.</p></disp-quote><p>We thank the reviewer for pointing this out. In response to the reviewer’s suggestion we have added a scale bar to the y-axis. We would like to point out that the D-V variation scales with the average brightness and its absolute magnitude can therefore vary depending on expression level, camera settings and excitation light.</p><disp-quote content-type="editor-comment"><p>The comparison between automated assessment and expert manual assessment is weak because both were done with low-resolution fluorescence data. If the goal is to compare with how pharyngeal pumping is normally assessed, the authors should use high-resolution bright field or DIC images, as</p></disp-quote><p>We would like to emphasize that resolution, rather than magnification, is relevant here. We report manual counts in Figure 2 of the original submission at a pixel sizeof 1.2 µm/px and a resolution, based on the Rayleigh criterion of ~1.3 µm, which easily resolves the opening of the lumen of the corpus. However, as we state in response to the next comment, we have provided additional data at higher magnification (10x) for a range of pumping rates to demonstrate the accuracy of the method (see new Video2).</p><disp-quote content-type="editor-comment"><p>Another problem with the automated/manual comparison is that the pumping rate varied over a fairly narrow range. As the authors acknowledge, pumping is modulated by many different factors, so it is not difficult to prepare worms with a wide range of pumping rates. Doing this would help assess linearity of the method, especially at low pump rates.</p></disp-quote><p>We thank the reviewer for this suggestion to help strengthen our conclusion by additional verification of the method at a larger range of pumping rates than what was shown in Figure 2 and Figure S3.4. We now provide additional support for the accuracy of our method by showing data from simultaneous bright-field and fluorescence recordings of worms in a wide range of conditions to elicit different pumping rates. We find that Pharaglow accurately detects pumps across the relevant physiological range. These data are now shown as Figure 1H-J.</p><disp-quote content-type="editor-comment"><p>The sections describing various applications of the method (development, starvation, and mutants) are poorly motivated and written in a confusing manner. For each section the authors need to briefly introduce the questions being addressed and why they are important. Similarly, the results should be briefly discussed in light of the questions being asked.</p></disp-quote><p>We appreciate this suggestion by the reviewer to improve the readability of our manuscript. We have revised these sections accordingly.</p><disp-quote content-type="editor-comment"><p>Page 7: &quot;We find that on-food pumping rates increase slightly over the course of the larval stages, but much less dramatically than the velocity.&quot; Why are the authors comparing the increase in pumping rate with velocity? These are like apples and oranges.</p></disp-quote><p>In response to the reviewer's comment we have rephrased this sentence to read:</p><disp-quote content-type="editor-comment"><p>We find that on-food pumping rates increase slightly over the course of the larval stages, but much less dramatically than the velocity increases over development, despite the substantial growth of both the body and the pharyngeal muscle.</p></disp-quote><p>We hope this clarifies our intent to emphasize that some behaviors are altered by the changes and added muscle mass during development, but others are unaffected.</p><disp-quote content-type="editor-comment"><p>The authors cite results showing that long-term exposure to light reduces lifespan. But to test for phototoxicity, the authors measure not lifespan but feeding rate! This seems odd. A simple experiment would be to keep the illumination on until all the animals have died. This would give some indication of how close to a lethal dose is being delivered to the worms.</p></disp-quote><p>We appreciate this suggestion. In response to this question, we have re-organized the results section to separate acute and long-term photo-toxic effects. We have employed a long-term exposure of five hours continuous illumination and found that longer exposure to this level of light does not cause life-threatening phototoxic effects.</p><p>We thank the reviewer for their comments and suggestions about a life span experiment. It would be interesting to see the effect of long exposure but it is outside the current scope of our manuscript. We have demonstrated in Figures 3 and 5 that normal/extended exposure times of light have no impact on measured phenomena.</p><disp-quote content-type="editor-comment"><p>Figure 3: The ordering of the panels here is confusing.</p></disp-quote><p>We thank the reviewer for this point. We have revised Figure 3 with a clearer layout.</p><disp-quote content-type="editor-comment"><p>3C,3D: Specific Y axis labels would be better here. Why not measure area in µm^2? Why not have axes for pumping rate in Hz and velocity in mm/s?</p></disp-quote><p>We would like to point out that the data with appropriate units are present in Figure 3, as the box plot and the normalized panels are from the same dataset, but these two visualizations serve different purposes. We find that the normalized data are useful to compare rates with the adult stage, which is behaviorally most well characterized.</p><p>We have also added the area measurements in um^2 to the supplementary information in Figure S3.1.</p><disp-quote content-type="editor-comment"><p>Page 10: &quot;…the distributions of both pumping rates and velocities show distinct sub-populations&quot;. I see no evidence of subpopulations in velocity. There are some local maxima and minima in the pumping rate, but without further analyses these effects seem quite preliminary.</p></disp-quote><p>We thank the reviewer for pointing out this inaccuracy in our language. We have revised the sentence and corresponding figure reference to clearly indicate the joint distribution in panel 4F, and have added additional panels demonstrating the sub-populations more convincingly using single-animal data.</p><disp-quote content-type="editor-comment"><p>Page 12. &quot;It is possible that some of the detected pumps in our measurements are either peristaltic movements or other non-productive muscular motion&quot;. The authors imply that isthmus peristalsis is &quot;non-productive&quot;, which does not make sense to me. Have the authors observed isthmus peristalsis in their images? It should be straightforward to see if isthmus peristalsis is reflected in the traces shown in Figure 1F.</p></disp-quote><p>We have not investigated the presence of isthmus peristalsis in our images and this would be beyond the scope and goal of this paper. We have revised the corresponding section to avoid appraising the productive value of peristalsis. We thank the reviewer for pointing this out.</p><disp-quote content-type="editor-comment"><p>Page 16: &quot;labeling parts of the pharynx with lipophilic dyes would be a possibility to extend the usage of this tool beyond species that are genetically tractable&quot;. I do not understand how lipophilic dyes, which label certain structures but not the pharynx, would be useful here.</p></disp-quote><p>We have removed this sentence from the discussion.</p><p>[Editors’ note: what follows is the authors’ response to the second round of review.]</p><disp-quote content-type="editor-comment"><p>Reviewer #1 (Recommendations for the authors):</p><p>In this revision, the authors have made some efforts to address my review points. My main point, however, which was to prove the suitability of their approach for long term observations with subsequent analyses is only partially addressed.</p><p>(1) It is very promising to see that there is almost no bleaching of the pharyngeal signal; this does not mean however that these experiments work practically for extended recording times of more than one hour (see #2 below). I suggest being more careful with the conclusions.</p></disp-quote><p>We appreciate the reviewer's comments regarding the interpretation of the bleaching curves. We have since added a larger number of longer recordings (3h) to support our statements (see responses below).</p><disp-quote content-type="editor-comment"><p>(2) The authors show an impressive example of male-hermaphrodite interactions recording behaviors over a period of 1h. This is great, but unfortunately just one example. Is this the best outcome the authors could have ever achieved or is it representative for many experiments? With the male-hermaphrodite paradigm, the authors go beyond what I was requesting. If their approach works as they claim, it should be feasible to perform a sufficient amount of single animal recordings.</p></disp-quote><p>We agree with the reviewer and have added a substantial number of long-term recordings to this revised manuscript (a total of 37 recordings over 3 genotypes, recording time of 3 h, we selected tracks of &gt; 2 h duration). We wanted this data to be meaningful beyond observing wild type behavior, and have therefore decided to also assay the long-term pumping behavior of the <italic>unc-31</italic> mutants. We believe these data demonstrate the feasibility of the method for at least 2h long recordings. New data is provided on panels 5G-J.</p><disp-quote content-type="editor-comment"><p>(3) The authors attempted to address one of my points showing pumping rate distributions of individual animals (2H, 3G). I disagree with the authors statement that PharaGlow can &quot;produce large animal statistics while preserving single worm behavioral information&quot;. This ability is hampered by the short tracklet durations. One cannot conclude from e.g. 3G left panel whether individuals differ in an idiosyncratic way versus transient changes that are randomly captured in the short tracklet episodes. Hence, my previous request to perform statistics on longer recordings. Figure 5D indicates that the animals exhibit minutes lasting episodes of high and low pumping rates. More 1h recordings on individuals like in Figure 5 (perhaps no need to do male plus hermaphrodite) will enable the authors to perform the requested analyses. As mentioned above, if PharaGlow performs as the authors claim, these revisions should be doable with reasonable effort.</p></disp-quote><p>We thank the reviewer for pointing out this interesting aspect of animal behavioral dynamics. Based on the fact that we use isogenic, age-synchronized animals with the same life-history, we could expect that the short-term sampling of many animals corresponds to long-term sampling of one animal (assumption of ergodicity). We agree however, that given the animal individuality reported in e.g., <italic>C. elegans</italic> and <italic>D. melanogaster</italic>, this assumption likely does not fully hold. To address the question whether there are state switches in animal behavior as seen for the mating pair in Figure 5 and as suggested by the statistics shown in Figure 3, we have performed long-term recordings of wt and <italic>unc-31</italic> mutant animals. We analyzed tracks that are at least 2 hours long. We observe that <italic>unc-31</italic> animals switch between a high/low pumping state less frequently than wildtype. Additionally, we now state “Taken together, these results show that studying the underlying behaviors and dynamics in a worm population requires large statistics and long recordings. Depending on the desired data, both long-term recordings and short-term high-throughput measurements are accessible with PharaGlow.” We appreciate the suggestion of the reviewer.</p><disp-quote content-type="editor-comment"><p>Reviewer #3 (Recommendations for the authors):</p><p>The statistical tests added to the paper were not reported correctly. There are multiple instances of &quot;p&lt;0.000&quot; and &quot;&quot;p=0.000&quot; in the figures and captions. In fact every single p value given in Figure 4 and its caption is either zero or negative! Similarly in Figure S2.2A , S2.5A.</p><p>But in general the revised manuscript is much improved compared to the original.</p></disp-quote><p>We thank the reviewer for detecting this issue. We have now reformatted the p-values to the expected format e.g., p &lt; 0.001 or p &lt; 0.0001 or all figures and captions. We apologize for the confusion.</p></body></sub-article></article>