In wastewater treatment and water resource recovery, beneficial biofilms in attached growth reactors are increasingly employed to enable microbes to convert undesirable pollutants, such as organic matter, nitrogen, and phosphate, into stabilized forms that can be easily removed from the water1. In these systems, the biofilm's emergent function, namely biochemical transformations, is closely associated with the diversity of microbes residing in it and the nutrients these microbes receive2. Accordingly, ongoing biofilm growth can pose a challenge to maintaining consistent reactor functionality because the new biofilm g....