Core-genome scaffold comparison reveals the prevalence that inversion events are associated with pairs of inverted repeats