ems snp dist and machine learning