The scientists had access to a plethora of data, thanks to a collaboration with engineers at Anheuser-Busch InBev, which makes Budweiser beer and operates nine domestic beer breweries that treat wastewater in bioreactors.