An increasing prevalence of hospital acquired infections and foodborne illnesses caused by pathogenic and multidrug resistant bacteria has stimulated a pressing need for benchtop computational methods to rapidly and accurately classify bacteria from genomic sequence data, and based on that, to trace the source of infection.