Events that shape genomes