Researchers have created a new type of bacterial GPS that can track where microbes originated using artificial intelligence.