A framework for the indexing, querying, clustering, and visualization of microbial genomes for surveillance and outbreak investigation