Skip to content

Commit

Permalink
r282: set min split_len to read length
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Feb 25, 2013
1 parent 30cc8a9 commit 77b5b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bwamem.c
Expand Up @@ -199,6 +199,7 @@ static void mem_insert_seed(const mem_opt_t *opt, kbtree_t(chn) *tree, smem_i *i
{
const bwtintv_v *a;
int split_len = (int)(opt->min_seed_len * opt->split_factor + .499);
split_len = split_len < itr->len? split_len : itr->len;
while ((a = smem_next(itr, split_len, opt->split_width)) != 0) { // to find all SMEM and some internal MEM
int i;
for (i = 0; i < a->n; ++i) { // go through each SMEM/MEM up to itr->start
Expand Down
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -4,7 +4,7 @@
#include "utils.h"

#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.6.2-r281-beta"
#define PACKAGE_VERSION "0.6.2-r282-beta"
#endif

static int usage()
Expand Down

0 comments on commit 77b5b58

Please sign in to comment.