Skip to content

Commit

Permalink
Fix bug in Aligner initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Apr 27, 2023
1 parent 4ca82f3 commit 6c587b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/minimap2/aligner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def initialize(
map_opt[:b] = scoring[1]
map_opt[:q] = scoring[2]
map_opt[:e] = scoring[3]
map_opt[:q2] = map_opt.q
map_opt[:e2] = map_opt.e
map_opt[:q2] = map_opt[:q]
map_opt[:e2] = map_opt[:e]
if scoring.size >= 6
map_opt[:q2] = scoring[4]
map_opt[:e2] = scoring[5]
Expand Down

0 comments on commit 6c587b9

Please sign in to comment.