Computational Methods for the Analysis of the Diversity and Dynamics of Genomes