Genome dynamics in major bacterial pathogens