How phylogenetic methods for studying ecology and evolutionary biology can be applied and modified to better predict the emergence of anti-bacterial resistance.