Skip to content

Commit

Permalink
fixed secondary alignment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Wala committed May 18, 2024
1 parent 8402085 commit 740d895
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bwamem_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ mem_alnreg_v mem_align1(const mem_opt_t *opt, const bwt_t *bwt, const bntseq_t *
seq = malloc(l_seq);
memcpy(seq, seq_, l_seq); // makes a copy of seq_
ar = mem_align1_core(opt, bwt, bns, pac, l_seq, seq, 0);
//mem_mark_primary_se(opt, ar.n, ar.a, lrand48());
//uint32_t k = __ac_Wang_hash(__ac_X31_hash_string(seq) ^ 1337); //Jeremiah
mem_mark_primary_se(opt, ar.n, ar.a, lrand48());
free(seq);
return ar;
}
Expand Down

0 comments on commit 740d895

Please sign in to comment.