updated getSnpIdFromLocation