Permalink
Browse files

Fix the adapter in the matches report.

Saved the current adapter index in best_adapter
  • Loading branch information...
1 parent dd8f8d8 commit eedd2e30957edec1cbf7888896b7e71eb0404e67 Yaron de Leeuw committed Nov 27, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/match.c
View
@@ -70,6 +70,7 @@ match *find_best_match(const adapter_array *aa, const char *read,
best_shift = shift;
best_p_quals = &(p_quals)[shift];
best_arr = curr_arr;
+ best_adapter = i;
ps = posterior(best_arr, best_p_quals, prior, 0.25, best_length);
found_contam = ps->is_contam;
if (found_contam) {

0 comments on commit eedd2e3

Please sign in to comment.