Characterization of functional genes in complex microbial