Skip to main content
microPublication Biology logoLink to microPublication Biology
. 2026 Jul 8;2026:10.17912/micropub.biology.002170. doi: 10.17912/micropub.biology.002170

Adaptive discrimination between non-tuberculous mycobacteria by Caenorhabditis elegans

Rashi Mittal 1, Abinaya P 2, Rajesh S Gokhale 3, Arnab Mukhopadhyay 2,§
Reviewed by: Anonymous
PMCID: PMC13401237  PMID: 42502756

Abstract

Caenorhabditis elegans modifies its behaviour in response to bacterial cues, but its ability to distinguish between closely related environmental bacteria remains unclear. Here, we examine responses to non-tuberculous mycobacteria, the opportunistic pathogen Mycobacterium abscessus and the non-pathogenic Mycobacterium smegmatis . While Escherichia coli OP50 was the preferred choice when available, worms showed distinct, time-dependent responses to the mycobacterial species. Notably, prior exposure to M. smegmatis drove faster and stronger avoidance of M. abscessus than exposure to the pathogen itself. These findings thus show that C. elegans can rapidly and adaptively discriminate between closely related mycobacteria, highlighting how prior experience shapes behavioural decisions.


Figure 1. Prior conditioning differentially shapes bacterial preference in C. elegans .

(A) Schematic illustration of the binary food choice assay used to assess bacterial preference behaviour in C. elegans

(B-D) Wild-type (WT) worms conditioned on OP (B), MA (C), or MS (D) exhibited a strong preference for OP when it was presented as one of the choices.

(E–G) Differences in bacterial choice kinetics emerged when OP-, MA-, or MS-conditioned worms were presented with a choice between MA and MS.

Statistical significance was determined using the Kruskal–Wallis test followed by Dunn's multiple comparisons test. Each dot represents an independent experimental replicate. Experiments were performed in triplicate, with 10–15 technical replicates per conditioning group.

Abbreviations: OP, Escherichia coli OP50; MA, Mycobacterium abscessus ; MS, Mycobacterium smegmatis .

graphic file with name 25789430-2026-micropub.biology.002170.jpg

Description

Animals that inhabit microbe-rich environments must continuously evaluate available microbial resources to balance nutritional benefits with potential pathogenic risks. This challenge is particularly relevant for Caenorhabditis elegans , a soil-dwelling nematode that thrives in microbially dense, decomposing environments, where it encounters diverse and fluctuating bacterial communities that influence its behaviour and physiology ( Samuel et al., 2016; Berg et al., 2016; Schulenburg & Félix, 2017 ). Previous studies have established that C. elegans can discriminate between bacterial species and preferentially accumulate on higher-quality diets using a combination of sensory cues and post-ingestive feedback ( Shtonda and Avery 2006 ). In addition, worms can modify their behavioural responses following exposure to pathogenic bacteria through experience-dependent avoidance mechanisms ( Zhang et al. 2005; Pradel et al. 2007; Meisel and Kim 2014 ).

Behavioural responses of C. elegans to pathogenic bacteria have been extensively characterized in systems such as Pseudomonas aeruginosa , Serratia marcescens , and Enterococcus faecalis , where worms exhibit both innate and learned avoidance behaviours ( Zhang et al. 2005; Pradel et al. 2007; Meisel and Kim 2014; Garsin et al. 2001 ). However, behavioural interactions between C. elegans and environmental mycobacteria remain unexplored. Non-tuberculous mycobacteria (NTMs) are ubiquitous environmental microorganisms that include both opportunistic pathogens and non-pathogenic species ( Falkinham 2009 ). Among these, Mycobacterium abscessus (MA) is a rapidly growing opportunistic pathogen associated with pulmonary and soft-tissue infections ( Lopeman et al. 2019; Bryant et al. 2016 ), whereas Mycobacterium smegmatis (MS) is generally considered non-pathogenic and is widely used as a model organism for mycobacterial biology ( Snapper et al. 1990 ). Whether C. elegans can distinguish between such closely related mycobacterial species remains unknown.

To address this, we examined behavioural responses of C. elegans using a binary choice assay ( Fig. 1A ). Worms were raised on Escherichia coli OP50 (OP) from the L1 to young adult stage, washed, and subsequently conditioned on OP, MA, or MS for 12 hours. Animals were then transferred to the centre of assay plates (0 hours), and their distribution between bacterial lawns was monitored over time (6, 8, and 10 hours).

Across all experimental conditions, when OP was presented as one of the available bacterial options, worms consistently accumulated on OP50 lawns, irrespective of prior conditioning ( Fig1. B, C, D ). These observations indicate that both mycobacterial species are perceived as less favourable relative to the standard laboratory diet.

In contrast, when worms were restricted to mycobacterial choices, a striking and condition-dependent behavioural pattern emerged. Worms conditioned on OP initially displayed a significant preference for MA at the early time point of 6 hours ( Fig1. E ). However, this preference was transient; over time, worms progressively redistributed toward MS, with a clear shift observed by 10 hours ( Fig1. E ). These dynamics indicate that worms conditioned on OP initially favour MA, but following sampling and likely post-ingestive evaluation, subsequently avoid MA and accumulate on MS, the non-pathogenic mycobacteria.

Prior conditioning on mycobacterial species, however, markedly altered both the timing and direction of this behavioural transition. Worms conditioned on MA did not exhibit immediate avoidance of the pathogenic bacterium. Instead, they initially distributed between MA and MS, consistent with continued sampling of the bacterial choice given. And then a gradual redistribution toward MS was observed, becoming significant by 8 hours and strengthening further by 10 hours ( Fig1. F) . Thus, prior exposure to MA does not eliminate early sampling behaviour, but it enables faster discrimination compared to OP-conditioned animals.

In contrast, worms conditioned on MS exhibited a fundamentally different response. These animals showed an immediate and sustained accumulation on MS, with minimal occupancy of MA from the earliest time points measured. Notably, this shift was evident as early as 6 hours ( Fig1. G), indicating a rapid and robust behavioural bias against the pathogenic species.

This differential response across conditioning states reveals an unexpected hierarchy in behavioural adaptation. While conditioning on the pathogenic bacterium results in a gradual shift away from it, conditioning on the non-pathogenic bacterium drives a more immediate and pronounced avoidance of the pathogenic species. In other words, prior exposure to a “favourable” microbial environment accelerates discrimination more effectively than exposure to a pathogenic one.

Taken together, our findings demonstrate that C. elegans can discriminate not only between standard laboratory bacteria and alternative species, but also between closely related mycobacterial species that differ in pathogenic potential.

To our knowledge, this represents the first demonstration of adaptive behavioural discrimination between non-tuberculous mycobacterial species by C. elegans . This discrimination is rapid, strongly shaped by prior experience, and unexpectedly more efficient following exposure to a non-pathogenic mycobacterium than a pathogenic one. These findings thus establish a simple and tractable framework for investigating how animals evaluate closely related environmental microbes and dynamically adjust their behaviour to optimize survival in complex microbial environments.

Methods

Strains and worm maintenance

Wild-type Caenorhabditis elegans ( N2 Bristol) were maintained under standard conditions at 20°C on nematode growth medium (NGM) plates seeded with Escherichia coli OP50 (OP). Synchronized L1 larvae were obtained by standard bleaching methods and cultured on OP50 until the young adult (YA) stage. For conditioning experiments, YA worms were transferred to NGM plates seeded with OP, Mycobacterium smegmatis (MS), or Mycobacterium abscessus (MA) and maintained on the respective bacterial lawns for 12 hours, then subjected to binary food choice assays.

Bacterial culture conditions

OP was grown on Luria-Bertani (LB) agar plates. Single colonies were inoculated into LB broth and grown overnight at 37°C with shaking (180 rpm). Secondary cultures were initiated with 2% primary inoculum and grown to mid-log phase (OD₆₀₀ = 0.6-0.8). MA and MS were maintained on Middlebrook 7H11 agar supplemented with 0.5% glycerol and 10% oleate-albumin-dextrose-catalase (OADC). Primary cultures were inoculated into Middlebrook 7H9 broth supplemented with 0.2% glycerol, 10% OADC, and 0.25% Tween-80 and grown at 37°C with shaking (180 rpm). Secondary cultures were grown to mid-log phase (OD₆₀₀ = 0.4-0.6). Bacterial cultures were harvested by centrifugation and resuspended in 1×M9 buffer to one-tenth of the original culture volume. For plate preparation, ~500 µl of OP and ~300 µl of MA and MS bacterial suspension were spread onto NGM plates and allowed to dry at room temperature for ~24 hours.

Binary Food Choice Assay

Food-choice assay plates were prepared by growing E. coli OP50 secondary cultures to an OD₆₀₀ of 0.6–0.8, and MA and MS cultures to an OD₆₀₀ of 0.4–0.6. Bacterial cultures were harvested by centrifugation and resuspended in 1× M9 buffer to one-tenth of the original culture volume. For assay plate preparation ( OP50 vs. MS, OP50 vs. MA, and MA vs. MS), 50 µl of each bacterial suspension was spotted at opposite ends of 90 mm agar plates. Plates were incubated at 20°C for ~16-24 hours to allow the establishment of bacterial lawns. Synchronized young adult (YA) worms, initially grown on OP50 , and conditioned on OP50 , MA, or MS for 12 hours, were collected and washed three times with 1× M9 buffer to remove residual bacteria. Approximately 80–100 worms were then transferred to the centre of each assay plate.Plates were incubated at 20°C, and worm distribution was scored at 6, 8, and 10 hours based on their location on the respective bacterial lawns.

Data analysis

Behavioural preference was quantified using a preference index (I), calculated as:

I=NT−NcNtotal

where N T represents the number of worms on the test bacterial lawn, N c represents the number of worms on the alternative lawn, and N total is the total number of worms scored.

Statistical Analysis

Statistical analysis was done using GraphPad Prism 10. P-values less than 0.05 were taken as statistically significant.

Reagents

Strain Used

Genotype

Source

Description

N2

Wild-type

CGC

Standard laboratory strain

Escherichia coli

OP50

CGC

Standard laboratory strain

Mycobacterium smegmatis

Wild-type

ATCC700084

Standard laboratory strain

Mycobacterium abscessus

Wild-type

ATCC19977

Standard laboratory strain

Acknowledgments

We thank the present and former members of the Immuno-Metabolism Laboratory (IML) and the Molecular Aging Laboratory at the National Institute of Immunology (NII) for their support and helpful discussions. The wild-type Caenorhabditis elegans N2 strain was provided by the Caenorhabditis Genetics Center (CGC), which is funded by the National Institutes of Health (NIH) Office of Research Infrastructure Programs (P40 OD010440). Mycobacterium smegmatis (ATCC 700084) and Mycobacterium abscessus (ATCC 19977) strains were obtained from ATCC. Schematics in Figure 1A were created using BioRender.com.

Funding Statement

This project was partly funded by Jagadish Chandra Bose National Fellowship (JCB/2022/000021) from the Anusandhan National Research Foundation, Ministry of Science and Technology, Government of India, as well as core funding from the National Institute of Immunology (to AM). RM thanks the Department of Science and Technology (DST)-INSPIRE fellowship (IF190847) from the Ministry of Science and Technology, Government of India. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Extended Data

Description: Source data file. Resource Type: Dataset. DOI: https://doi.org/10.22002/egn6r-9ss43

References

  1. Samuel BS, Rowedder H, Braendle C, Félix MA, Ruvkun G. Caenorhabditis elegans responses to bacteria from its natural habitats. Proc Natl Acad Sci U S A. 2016 Jun 17;113(27):E3941–E3949. doi: 10.1073/pnas.1607183113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Berg M, Stenuit B, Ho J, Wang A, Parke C, Knight M, Alvarez-Cohen L, Shapira M. Assembly of the Caenorhabditis elegans gut microbiota from diverse soil microbial environments. ISME J. 2016 Jan 22;10(8):1998–2009. doi: 10.1038/ismej.2015.253. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Schulenburg H, Félix MA. The Natural Biotic Environment of Caenorhabditis elegans. Genetics. 2017 May 1;206(1):55–86. doi: 10.1534/genetics.116.195511. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Shtonda BB, Avery L. Dietary choice behavior in Caenorhabditis elegans. J Exp Biol. 2006 Jan 1;209(Pt 1):89–102. doi: 10.1242/jeb.01955. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Zhang Y, Lu H, Bargmann CI. Pathogenic bacteria induce aversive olfactory learning in Caenorhabditis elegans. Nature. 2005 Nov 10;438(7065):179–184. doi: 10.1038/nature04216. [DOI] [PubMed] [Google Scholar]
  6. Pradel E, Zhang Y, Pujol N, Matsuyama T, Bargmann CI, Ewbank JJ. Detection and avoidance of a natural product from the pathogenic bacterium Serratia marcescens by Caenorhabditis elegans. Proc Natl Acad Sci U S A. 2007 Jan 31;104(7):2295–2300. doi: 10.1073/pnas.0610281104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Meisel JD, Kim DH. Behavioral avoidance of pathogenic bacteria by Caenorhabditis elegans. Trends Immunol. 2014 Sep 15;35(10):465–470. doi: 10.1016/j.it.2014.08.008. [DOI] [PubMed] [Google Scholar]
  8. Garsin DA, Sifri CD, Mylonakis E, Qin X, Singh KV, Murray BE, Calderwood SB, Ausubel FM. A simple model host for identifying Gram-positive virulence factors. Proc Natl Acad Sci U S A. 2001 Sep 4;98(19):10892–10897. doi: 10.1073/pnas.191378698. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Falkinham JO 3rd. Environmental sources of nontuberculous mycobacteria. Clin Chest Med. 2014 Nov 6;36(1):35–41. doi: 10.1016/j.ccm.2014.10.003. [DOI] [PubMed] [Google Scholar]
  10. Lopeman RC, Harrison J, Desai M, Cox JAG. Mycobacterium abscessus: Environmental Bacterium Turned Clinical Nightmare. Microorganisms. 2019 Mar 22;7(3) doi: 10.3390/microorganisms7030090. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Bryant JM, Grogono DM, Rodriguez-Rincon D, Everall I, Brown KP, Moreno P, Verma D, Hill E, Drijkoningen J, Gilligan P, Esther CR, Noone PG, Giddings O, Bell SC, Thomson R, Wainwright CE, Coulter C, Pandey S, Wood ME, Stockwell RE, Ramsay KA, Sherrard LJ, Kidd TJ, Jabbour N, Johnson GR, Knibbs LD, Morawska L, Sly PD, Jones A, Bilton D, Laurenson I, Ruddy M, Bourke S, Bowler IC, Chapman SJ, Clayton A, Cullen M, Daniels T, Dempsey O, Denton M, Desai M, Drew RJ, Edenborough F, Evans J, Folb J, Humphrey H, Isalska B, Jensen-Fangel S, Jönsson B, Jones AM, Katzenstein TL, Lillebaek T, MacGregor G, Mayell S, Millar M, Modha D, Nash EF, O'Brien C, O'Brien D, Ohri C, Pao CS, Peckham D, Perrin F, Perry A, Pressler T, Prtak L, Qvist T, Robb A, Rodgers H, Schaffer K, Shafi N, van Ingen J, Walshaw M, Watson D, West N, Whitehouse J, Haworth CS, Harris SR, Ordway D, Parkhill J, Floto RA. Emergence and spread of a human-transmissible multidrug-resistant nontuberculous mycobacterium. Science. 2016 Nov 11;354(6313):751–757. doi: 10.1126/science.aaf8156. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Snapper SB, Melton RE, Mustafa S, Kieser T, Jacobs WR Jr. Isolation and characterization of efficient plasmid transformation mutants of Mycobacterium smegmatis. Mol Microbiol. 1990 Nov 1;4(11):1911–1919. doi: 10.1111/j.1365-2958.1990.tb02040.x. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Description: Source data file. Resource Type: Dataset. DOI: https://doi.org/10.22002/egn6r-9ss43


Articles from microPublication Biology are provided here courtesy of California Institute of Technology

RESOURCES