RESUMEN
Changes to gut environmental factors such as pH and osmolality due to disease or drugs correlate with major shifts in microbiome composition; however, we currently cannot predict which species can tolerate such changes or how the community will be affected. Here, we assessed the growth of 92 representative human gut bacterial strains spanning 28 families across multiple pH values and osmolalities in vitro. The ability to grow in extreme pH or osmolality conditions correlated with the availability of known stress response genes in many cases, but not all, indicating that novel pathways may participate in protecting against acid or osmotic stresses. Machine learning analysis uncovered genes or subsystems that are predictive of differential tolerance in either acid or osmotic stress. For osmotic stress, we corroborated the increased abundance of these genes in vivo during osmotic perturbation. The growth of specific taxa in limiting conditions in isolation in vitro correlated with survival in complex communities in vitro and in an in vivo mouse model of diet-induced intestinal acidification. Our data show that in vitro stress tolerance results are generalizable and that physical parameters may supersede interspecies interactions in determining the relative abundance of community members. This study provides insight into the ability of the microbiota to respond to common perturbations that may be encountered in the gut and provides a list of genes that correlate with increased ability to survive in these conditions. IMPORTANCE To achieve greater predictability in microbiota studies, it is crucial to consider physical environmental factors such as pH and particle concentration, as they play a pivotal role in influencing bacterial function and survival. For example, pH is significantly altered in various diseases, including cancers, inflammatory bowel disease, as well in the case of over-the-counter drug use. Additionally, conditions like malabsorption can affect particle concentration. In our study, we investigate how changes in environmental pH and osmolality can serve as predictive indicators of bacterial growth and abundance. Our research provides a comprehensive resource for anticipating shifts in microbial composition and gene abundance during complex perturbations. Moreover, our findings underscore the significance of the physical environment as a major driver of bacterial composition. Finally, this work emphasizes the necessity of incorporating physical measurements into animal and clinical studies to better understand the factors influencing shifts in microbiota abundance.