Few functions to work with SNPs