Large-scale whole-genome sequencing dataset-based studies are becoming increasingly common in pathogen surveillance and outbreak investigations. A highly discriminative and time-efficient bioinformatics tool is needed to transform large amounts of sequencing data into usable biological information. To replace the intuitive, yet inefficient, way of gene-by-gene allele calling algorithm, a new algorithm using genome-by-genome approach was developed.