aboutsummaryrefslogtreecommitdiff
path: root/kmer_utils.h
blob: 4ed5928310138f04901680fbde75177cb7d2fea3 (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 num_to_index(const char *str, const int kmer, const long error_pos);
unsigned long long * get_kmer_counts_from_file(const char *fn, const int kmer);

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

// Variables
const unsigned char alpha[256];