Open rmhubley opened 2 years ago
I got the impression that the BiWFA code was forked before some features were added to WFA2? I was also missing the --algorithm
flag. Would be nice to see them merged again :)
The use of begin/end_free are a bit confusing in your left/right extension example as they pertain to this use case.
I agree. The functionality you are looking for is of a higher level, combining two alignment extensions (i.e., left and right).
Specification aside, are these roughly equivalent operations between the libraries?
Note that @jeizenga's wfalm does something a little bit more sophisticated than just ends-free/extension alignment. He also determines the optimal extension point to stop. @jeizenga, correct me if I'm wrong here.
Would it be possible to request that in future releases you include the alignment ranges in the output as was done in wfalm?
Sure, if it is useful, I can try to borrow @jeizenga's time to see how to implement the API and method best.
Would be nice to see them merged again :)
Sure, we have already integrated the BiWFA into the development branch of WFA2-lib under the memory-mode 'ultralow'. We are still polishing the details, but feel free to use it.
Yes, that's correct. I think the technique in wfalm is probably most useful for read mapping applications, where you expect to have nearly full-length alignments, minus some soft-clipping. For a more general extension alignment, it could end up being very costly to guarantee an optimal extension, and I expect an X-drop heuristic would be more appropriate.
In the WFALM library there is an API that produces a seeded local alignment ( ends-free extension ) specified using two anchor points:
I assume, but haven't verified that this is roughly equivalent to the following in the BiWFA/WFA2 API:
The use of begin/end_free are a bit confusing in your left/right extension example as they pertain to this use case. Specification aside, are these roughly equivalent operations between the libraries? Would it be possible to request that in future releases you include the alignment ranges in the output as was done in wfalm? It could be gleaned from the CIGAR but that is less efficient to process and in many cases the alignment details may not even be needed, but the range of the extension is.