Skip to content

Commit

Permalink
fix missing del when giving up on vsearch indel combination
Browse files Browse the repository at this point in the history
  • Loading branch information
psathyrella committed Dec 12, 2023
1 parent aa8db0c commit ef0e797
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/waterer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1542,6 +1542,7 @@ def combine_indels(self, qinfo, best, debug=False):
if 'v' in qinfo['new_indels']: # if sw kicks up an additional v indel that vsearch didn't find, we rerun sw with <self.args.no_indel_gap_open_penalty>
if debug:
print ' sw called a v indel, but there\'s already a vsearch v indel, so give up (rerun sw forbidding indels)'
del self.info['indels'][qinfo['name']]
return None

vs_indelfo = self.info['indels'][qinfo['name']]
Expand Down

0 comments on commit ef0e797

Please sign in to comment.