aboutsummaryrefslogtreecommitdiff
path: root/kmer_utils.c
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-01-07 16:01:25 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-01-07 16:01:25 -0500
commit59ff0a86e855cd78628af40ade8b2e096eb8833e (patch)
tree9f6af1ec2d649e8ff55f4beb9f912fa03b28d580 /kmer_utils.c
parentaa3c7ed9d11bcd2779db4cf2170b3a87505898bb (diff)
fix kmer_counts_per_sequence, make sure we convert the array fully, and update kmer_utils for str[i] == 5 instead of >> 2
Diffstat (limited to 'kmer_utils.c')
-rw-r--r--kmer_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index dc79700..2b3ce67 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -34,7 +34,7 @@ inline unsigned long num_to_index(const char *str, const int kmer, const long er
for(i = kmer - 1; i >= 0; i--){
- if(str[i] >> 2) {
+ if(str[i] == 5) {
#ifndef SHARED
position += i;
#endif