Environmental microorganisms have vast diversity, but as many as 99% of microorganisms can not be cultured by standard techniques. Culture-independent genomic analysis has been rapidly developed being fitting to analyze complex microbial genomics in ecology. Principle and method of metagenomics as well as application in microbial diversity were also reviewed.