ksahlin / strobealign

Aligns short reads using dynamic seed size with strobemers
MIT License
142 stars 17 forks source link

Update SSW to v1.2.5 #296

Closed marcelm closed 1 year ago

marcelm commented 1 year ago

Obtained from https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library

The previously included copy of SSW had been modified by adding a score_size parameter to Align(). This customization has been removed. This does not change behavior as the passed value passed was the default used by the library anyway.

This is an alternative to #295

Closes #294

ksahlin commented 1 year ago

Great that you found the bug! So I guess this is the PR to be merged instead of #295 ?

marcelm commented 1 year ago

So I guess this is the PR to be merged instead of #295 ?

Yes, that was just the first fix until I decided to do it properly by updating all of SSW.

Regarding the above To Do list:

I added some code that checks whether an alignment failed, but I could not trigger it. Since it seems to occur so rarely, I decided to leave in the message printed to the terminal. It’s just a cosmetic thing anyway.

I have checked a couple of datasets and couldn’t find any difference in accuracy, which I guess is expected because the interval to which the query is mapped on the reference doesn’t change.

ksahlin commented 1 year ago

Ok great, happy to merge.