The survival of animals depends, among other things, on their ability to identify threats in their surrounding environment. Senses such as olfaction, vision and taste play an essential role in sampling their living environment, including microorganisms, some of which are potentially pathogenic. This study focuses on the mechanisms of detection of bacteria by the Drosophila gustatory system. We demonstrate that the peptidoglycan (PGN) that forms the cell wall of bacteria triggers an immediate feeding aversive response when detected by the gustatory system of adult flies. Although we identify ppk23+ and Gr66a+ gustatory neurons as necessary to transduce fly response to PGN, we demonstrate that they play very different roles in the process. Time-controlled functional inactivation and in vivo calcium imaging demonstrate that while ppk23+ neurons are required in the adult flies to directly transduce PGN signal, Gr66a+ neurons must be functional in larvae to allow future adults to become PGN sensitive. Furthermore, the ability of adult flies to respond to bacterial PGN is lost when they hatch from larvae reared under axenic conditions. Recolonization of germ-free larvae, but not adults, with a single bacterial species, Lactobacillus brevis, is sufficient to restore the ability of adults to respond to PGN. Our data demonstrate that the genetic and environmental characteristics of the larvae are essential to make the future adults competent to respond to certain sensory stimuli such as PGN.
© 2024. The Author(s).