diff options
author | orbitz <orbitz@gmail.com> | 2013-12-29 12:53:38 +0100 |
---|---|---|
committer | orbitz <orbitz@gmail.com> | 2013-12-29 12:53:38 +0100 |
commit | 7b3377714a57d94db3e0efb886e7efe5e14999ca (patch) | |
tree | 511d332c49ca94e6c2a68bfbc99e769a6139e887 /kmer_counts_per_sequence.c | |
parent | 1701700a02e338835822c1a6d5c61d35ef9cf4e7 (diff) |
Namespace all the functions and make private ones static
Diffstat (limited to 'kmer_counts_per_sequence.c')
-rw-r--r-- | kmer_counts_per_sequence.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmer_counts_per_sequence.c b/kmer_counts_per_sequence.c index 6557d5d..6ff815d 100644 --- a/kmer_counts_per_sequence.c +++ b/kmer_counts_per_sequence.c @@ -46,11 +46,11 @@ int main(int argc, char **argv) { memset(counts, 0, width * sizeof(unsigned long long)); for(i = 0; i < read - kmer; i++) { - line[i] = alpha[(int)line[i]]; + line[i] = kmer_alpha[(int)line[i]]; } for(i = 0; i < read - kmer; i++) { - counts[num_to_index(&line[i],kmer, width)]++; + counts[kmer_num_to_index(&line[i],kmer, width)]++; } for(i = 0; i < width; i++) |