Genetics of Bacterial Diversity