Exploiting phylogenetics to understand genome evolution in both modern and ancestral organisms