Reading history from genomes