RNA-mediated mechanisms in genome rearrangement