diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2013-11-26 10:37:12 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2013-11-26 10:37:12 -0500 |
commit | fc0ef29e1aa74b13dc1f179ac755b8bf784af9bb (patch) | |
tree | a76fda96bba4347c0e3b110cac9033e2d3430b9b /src/c/quikr_functions.c | |
parent | 9066ea884129957fe899d6d10cba1e17547214b9 (diff) |
working single threaded multifasta with rarity
Diffstat (limited to 'src/c/quikr_functions.c')
-rw-r--r-- | src/c/quikr_functions.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/c/quikr_functions.c b/src/c/quikr_functions.c index a6366be..fa97440 100644 --- a/src/c/quikr_functions.c +++ b/src/c/quikr_functions.c @@ -61,24 +61,6 @@ void normalize_matrix(double *matrix, unsigned long long height, unsigned long l } } -double *setup_count_matrix(char *filename, unsigned long long kmer, unsigned long long lambda, unsigned long long width) { - - unsigned long long x = 0; - unsigned long long *integer_counts = get_kmer_counts_from_file(filename, kmer); - double *count_matrix = malloc(width * sizeof(double)); - check_malloc(count_matrix, NULL); - - count_matrix[0] = 0; - - for(x = 1; x < width; x++) { - count_matrix[x] = (double)integer_counts[x-1]; - } - - free(integer_counts); - - return count_matrix; -} - unsigned long long count_sequences(const char *filename) { char *line = NULL; size_t len = 0; |