Modifications to kmer_region script.