aboutsummaryrefslogtreecommitdiff
path: root/kmer_counts_per_sequence.c
diff options
context:
space:
mode:
Diffstat (limited to 'kmer_counts_per_sequence.c')
-rw-r--r--kmer_counts_per_sequence.c2
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]];
}