diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-11-07 15:38:00 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-11-07 15:38:00 -0500 |
commit | d7ed90dc545e54a09ef206634bb6042e5893c04b (patch) | |
tree | f83ee7da7816daa642c1f5e73ae4f74e4ce77fed /src/c/quikr_functions.h | |
parent | 6a31527ac8a94d12732dda60dbbf0069e5cc1490 (diff) |
update to work with kmer rarity
Diffstat (limited to 'src/c/quikr_functions.h')
-rw-r--r-- | src/c/quikr_functions.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/c/quikr_functions.h b/src/c/quikr_functions.h index 35e88ca..a5d0601 100644 --- a/src/c/quikr_functions.h +++ b/src/c/quikr_functions.h @@ -1,3 +1,5 @@ +// our malloc checker +void check_malloc(void *ptr, char *error); // count the sequences in a fasta file unsigned long long count_sequences(const char *filename); @@ -5,10 +7,7 @@ unsigned long long count_sequences(const char *filename); void normalize_matrix(double *matrix, int height, int width); // load a sensing matrix -struct matrix *load_sensing_matrix(const char *filename); +struct matrix *load_sensing_matrix(const char *filename, unsigned int target_kmer); // add header and normalize count matrix double *setup_count_matrix(char *filename, unsigned long long kmer, unsigned long long lambda, unsigned long long width); - -// add header and normalize sensing matrix -struct matrix *setup_sensing_matrix(char *filename, unsigned long long kmer, unsigned long long lambda, unsigned long long width); |