C. elegans detects a large number of odorants and elicits a multitude of olfactory behaviors (Bargmann, 1993, Cell). Previous genetic and behavioral experiments have identified a set of signaling genes, including olfactory receptors, but the knowledge is still limited. Specifically, the mechanisms of how the same odorants can elicit either attractive or aversive responses depending on the chemical concentration have not been known in detail. Dimethyl trisulfide (DMTS) is an organic chemical, which smells like garlic and is derived from bacterial decomposition. Here, we show that C. elegans attracts to a low concentration of DMTS via the AWC neurons and avoids a high concentration of DMTS via the ASH neurons. We then find that chemosensory GPCR
sri-14 is required for both attraction to a low concentration of DMTS and aversion to a high concentration of DMTS. The defects of DMTS chemotaxis in
sri-14 mutants are restored when we expressed the wild-type
sri-14 gene to the AWC and ASH neurons for attraction and avoidance, respectively. Ca2+ responses of AWC and ASH upon acute exposure to DMTS are decreased in
sri-14 mutants. Moreover, ectopic expression of
sri-14 in the ADL neurons is sufficient to elicit Ca2+ responses to DMTS in the ADL neurons. Furthermore, we heterologously expressed the SRI-14 receptor in the mammalian cell and found that these cells confer dose-dependent response upon DMTS exposure, suggesting that SRI-14 is indeed a bona fide DMTS receptor. Next, we investigated how downstream interneurons translate and process DMTS signals from the ASH or AWC neurons to generate alternative behaviors. We found that the AIB interneurons, receiving signals from AWC and ASH neurons, exhibit distinct Ca2+ responses depending upon the concentration of DMTS; the AIB interneurons are activated upon removal of low concentration of DMTS or addition of high concentration of DMTS. Moreover, the
sri-14 mutation fully suppresses the AIB Ca2+ response to DMTS odor. Furthermore, we identified that the
glr-1 and
glr-5 glutamate receptors expressed in AIB are required for different concentration signals from low and high DMTS. Thus, our results demonstrate molecular and circuit mechanisms by which an animal connects chemosensory neurons detecting the same ligand to alternate downstream circuitry to efficiently trigger precise behavioral programs.