aboutsummaryrefslogtreecommitdiff
path: root/src/c/kmer_utils.h
blob: 34cedca10ef472b9a1bd20270cbcbede81a51e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Kmer functions
void convert_kmer_to_num(char *str, const unsigned long length);
unsigned long long * get_kmer_counts_from_file(const char *fn, const int kmer);
unsigned long num_to_index(const char *str, const int kmer, int *position, const long error_pos);

// Utility functions
char *strnstrip(const char *s, char *dest, int c, int len);
unsigned long long pow_four(unsigned long long x);

// Variables
const unsigned char alpha[256];