-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
banded alignment gives spurious gaps for 1bp sequences #2323
Comments
Hi @mchaisso, sorry for coming back to you so late, but it is currently vacation time and our group kinda focuses on version 3 of SeqAn. You seem to have found a neat little edge case. I imagine that the 2bp case works correctly? Could you clarify what you mean by spurious? Do you mean that affine, banded, affine-banded behave inconsistently (and wrong)? Or do you mean that multiple executions of the same binary produces different output? Anyway, I put @rrahn which is the maintainer of the alignment code and should fairly easy find the issue. (Who is on vacation 😄 ) |
Hi Marcel,
No hurry on this- I've actually switched to my own k-band alignment (but
would be happy to switch back if there is SSE support).
I believe the 2 bps case works, but I have to confirm. The spurious
alignment is because the optimal alignment of align("T", "T") should be one
match, but it is an insertion and a deletion.
All methods are deterministic (no change in output). The affine behaves
correctly, but all invocations of banded (banded and affine-banded) are
incorrect.
Best,
-Mark
…On Tue, Jul 17, 2018 at 2:33 AM Marcel ***@***.***> wrote:
Hi @mchaisso <https://github.com/mchaisso>,
sorry for coming back to you so late, but it is currently vacation time
and our group kinda focuses on version 3 of SeqAn.
You seem to have found a neat little edge case. I imagine that the 2bp
case works correctly?
Could you try to use seqan::String<char> directly for read and ref
without the whole .c_str() conversion?
Could you clarify what you mean by spurious?
Do you mean that affine, banded, affine-banded behave inconsistently (and
wrong)? Or do you mean that multiple executions of the same binary produces
different output?
Anyway, I put @rrahn <https://github.com/rrahn> which is the maintainer
of the alignment code and should fairly easy find the issue. (Who is on
vacation 😄 )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2323 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABTzPuFbb0uckdQAvAgs9Wuyp21Tyzpeks5uHa-FgaJpZM4VG43->
.
|
hi, many thanks for reporting this. |
This isn't a common case, but it's worth bringing up as a base-case issue. Passing a single nucleotide to banded global alignment can give spurious alignments.
The text was updated successfully, but these errors were encountered: