Functional characterization of microbes and their association with unwanted substance for wastewater treatment processes