-
Notifications
You must be signed in to change notification settings - Fork 7
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
Tree And MSA Not Aligning As Expected #54
Comments
Dear @g12342jn, Thanks for posting this issue. Two things:
visualized at phylotree.hyphy.org which you may find useful. Here is one that does not:
Nevertheless, fixing these did not resolve the issue. The suspected line is: alignment.js/src/helpers/jointSort.js Line 22 in 978bcda
which attempts to get a linear ordering of the nodes as they appear when the tree is laid out. This appears to work for the advertised CD2 example but not for your toy dataset. I'll need to do a bit more digging to understand why. Best, |
Hello Stephen, Thanks for getting back to me. Edit: I needed to rename the file to .txt in order to import to the comments here, not that it should matter, but I thought that I should mention. Your assistance is much appreciated. Regards, |
Dear @g12342jn, Just a quick update. I've architected a fix, but it will involve some slight refactoring of the react-phylotree dependency. I hope to do a patch release to both packages by the end of the week, and will follow up then. This issue uncovered some subtle flaws in existing logic, so it is greatly appreciated! Best, |
Stephen, That is great news! Thank you for looking into this. I will keep an eye out for your follow up message. Regards, |
Hello,
It looks like the tree tips and sequences are not aligning as expected:
Here is the file contents:
>art
artartartartarta
>bart
bartbartbartbart
>cady
cadycadycadycady
>daak
daakdaakdaakdaak
>gary
garygarygarygary
>ham
hamhamhamhamhamh
>kart
kartkartkartkart
>mary
marymarymarymary
>naat
naatnaatnaatnaat
>rant
rantrantrantrant
(art,((((gary,daak),(cady,bart)),(ham,((kart,(mary,(rant,naat))))))));
Thanks,
Greg
The text was updated successfully, but these errors were encountered: