A novel computational method to analyse metagenome for understanding of microbial community composition and functional potential