Skip to content
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

missing predecessor arrows? #42

Open
sjanssen2 opened this issue Oct 26, 2022 · 2 comments
Open

missing predecessor arrows? #42

sjanssen2 opened this issue Oct 26, 2022 · 2 comments

Comments

@sjanssen2
Copy link

sjanssen2 commented Oct 26, 2022

Hi Freiburg team,

I love your alignment resources for teaching! Thanks for this great service.

When I am using Gotoh and click one an arbitrary cell in one of the three DP matrices, I assume that the outgoing arrows indicate the predecessor cells. If that is the case, shouldn"t there be two arrows in every P-entry / Q-entry and three for every D-entry? On my browser (tested Firefox and Chrome) under Ubunutu 20.4, I can only spot n-1.

Unfortunately, I cannot attach a screenshot through this form. Let"s see if I can send it to you via mail.

Best,
Stefan

image

@martin-raden
Copy link
Member

Hi @sjanssen2

many thanks for your feedback.

All arrows in the matrices represent optimal tracebacks, ie. not computation ways but traces that produce the value within the clicked cell.

Thus, I hope the two trace arrows in your marked cell are the only options to produce the cell's value of 7:

  • either D(-4) + gapopening(-2) + gaplengthcost(1*-1)
  • or P(-6) + gapextension(-1)

the P recursion has only these two options anyway..

for D three traces are possible, but often only one is the optional one. thus you find between one and three trace arrows starting in D cells..

does this makes sense? :)

Best,
Martin

@sjanssen2
Copy link
Author

makes total sense - I simply made a wrong assumption. You might want to add a description of those arrows. It would be helpful to have another type of arrows for predecessor cells though :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants