Understanding pathogenic evolution of bacteria