diff options
-rw-r--r-- | kmer_locations.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kmer_locations.c b/kmer_locations.c index 3539755..e118b9f 100644 --- a/kmer_locations.c +++ b/kmer_locations.c @@ -266,6 +266,9 @@ int main(int argc, char **argv) { print_sequence(seq, rev_seq_length, global_position, kmer, desired_indicies, labeled_mers, num_desired_indicies, label, true); } + if(seq_length != 0) { + seq_length--; + } global_position += seq_length; } |