-
Notifications
You must be signed in to change notification settings - Fork 36
Description
While processing data we ran into a segfault in calculate_clair3_full_alignment on line 629. It turns out that when offset was calculated on line 628, that flanking_start was greater than flanking_index. This seems to happen fairly frequently in one dataset and avoiding it is easy enough (changing line 626 to:
if (flanking_index != -1 && flanking_index >= flanking_start)
however I don't really have a good enough understanding of what exactly is being done with these flanking regions to know how this might affect the results. It'll take me a bit of time to put together a minimal example to share, so in the interim perhaps you could advise one what exactly this region of code is doing (I can tell that flanking_candidates_p is holding a dictionary of positions, which as best as I can tell is a counter of modifications at a positions, but more than that I'm not sure).
Any advice while I work on getting a minimal example put together?