aboutsummaryrefslogtreecommitdiff
path: root/kmer_utils.h
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-02-01 18:20:57 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-02-01 18:20:57 -0500
commit6ea90212e404cf39debc14d82e02f6c284b05006 (patch)
tree6fefea84b9ed0f1911ced33346e3abf176df8e72 /kmer_utils.h
parentf2f860d0aa776ccc26dbc9b242e37e9a02312219 (diff)
change headers, organize
Diffstat (limited to 'kmer_utils.h')
-rw-r--r--kmer_utils.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kmer_utils.h b/kmer_utils.h
index cfe664b..3caa8de 100644
--- a/kmer_utils.h
+++ b/kmer_utils.h
@@ -1,8 +1,7 @@
// 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, size_t *current_position);
+unsigned long num_to_index(const char *str, const int kmer, const long error_pos, long long *current_position);
char *index_to_kmer(unsigned long long index, long kmer);
-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);
@@ -11,4 +10,6 @@ unsigned long long pow_four(unsigned long long x);
// Variables
const unsigned char alpha[256];
-unsigned long long load_specific_mers_from_file(char *fn, unsigned int kmer, size_t width, size_t *arr);
+// file loading functions
+unsigned long long load_specific_mers_from_file(const char *fn, unsigned int kmer, size_t width, size_t *arr);
+unsigned long long * get_kmer_counts_from_file(FILE *fh, const int kmer);