diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-01-07 16:01:25 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-01-07 16:01:25 -0500 |
commit | 59ff0a86e855cd78628af40ade8b2e096eb8833e (patch) | |
tree | 9f6af1ec2d649e8ff55f4beb9f912fa03b28d580 /kmer_counts_per_sequence.c | |
parent | aa3c7ed9d11bcd2779db4cf2170b3a87505898bb (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_counts_per_sequence.c')
-rw-r--r-- | kmer_counts_per_sequence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmer_counts_per_sequence.c b/kmer_counts_per_sequence.c index 66accc8..fceb17e 100644 --- a/kmer_counts_per_sequence.c +++ b/kmer_counts_per_sequence.c @@ -45,7 +45,7 @@ int main(int argc, char **argv) { // reset our count matrix to zero memset(counts, 0, width * sizeof(unsigned long long)); - for(i = 0; i < read - kmer; i++) { + for(i = 0; i < read; i++) { line[i] = alpha[(int)line[i]]; } |