aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-04-14 14:51:31 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2014-04-14 14:51:31 -0400
commitdd158ef94da81bd1456b8f00f5be67e5f56d23bd (patch)
tree3d891bdd5ef60d2cd5f7dea584d20ef12cb29002
parente391ddac10731e76eb8f6c18ee3d18964d7c6ce2 (diff)
Revert "don't reduce"
This reverts commit d2a336a77494586296401bea6e73e096d8599d2c.
-rw-r--r--kmer_locations.c3
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;
}