fixed kmer analysis - bug was due to making a ref dict