Added option to specify the SNP probability.