aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-10-16 12:51:08 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2013-10-16 12:51:08 -0400
commitb43c4ae35d7996c18f13911e6c21d389b84fc6c5 (patch)
treee339a7068988b162785a307c94103df0f92c3023
parent27ed6ba528a162dfa5c3178348c99917c74d35f6 (diff)
kmer utils.h
-rw-r--r--kmer_utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kmer_utils.h b/kmer_utils.h
index f1a84b6..11506b3 100644
--- a/kmer_utils.h
+++ b/kmer_utils.h
@@ -1,2 +1,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];