Gravar-mail: Public health in genetic spaces: a statistical framework to optimize cluster-based outbreak detection