Analysis of bacterial genomes: from biodiversity to industrial application