Researchers have figured out a way to predict bacteria’s environmental pH preferences from a quick look at their genomes, using machine learning. Led by experts at , the new approach promises to help guide ecological restoration efforts, agriculture and even the development of health-related probiotics.