Model a fragmented genome with SNPs using R/Ruby