SNP clustering