Microbial Composition and Functional Diversity in Waste Environments