long convert_kmer_to_index(char *str, long kmer, long error_pos); long num_to_index(const char *str, int kmer, long error_pos);