Skip to content

Commit

Permalink
Merge branch 'DOR-404_utest_compare_align_msgtypes' into 'master'
Browse files Browse the repository at this point in the history
DOR-404 utest to compare alignment withe different message types

Closes DOR-404

See merge request machine-learning/dorado!798
  • Loading branch information
hpendry-ont committed Jan 10, 2024
2 parents 8b325b8 + 3f3edf1 commit b406507
Show file tree
Hide file tree
Showing 2 changed files with 218 additions and 120 deletions.
2 changes: 1 addition & 1 deletion dorado/alignment/Minimap2Aligner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void Minimap2Aligner::align(dorado::ReadCommon& read_common, mm_tbuf_t* buffer)
for (int reg_idx{0}; reg_idx < n_regs; ++reg_idx) {
kstring_t alignment_line{0, 0, nullptr};
mm_write_sam3(&alignment_line, m_minimap_index->index(), &query, 0, reg_idx, 1, &n_regs,
&regs, NULL, MM_F_OUT_MD, -1);
&regs, NULL, MM_F_OUT_MD, buffer->rep_len);
alignment_string += std::string(alignment_line.s, alignment_line.l) + "\n";
free(alignment_line.s);
free(regs[reg_idx].p);
Expand Down
Loading

0 comments on commit b406507

Please sign in to comment.