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

Question concerning tree branch scale and/or lack of branches #42

Open
g12342jn opened this issue Feb 4, 2022 · 3 comments
Open

Question concerning tree branch scale and/or lack of branches #42

g12342jn opened this issue Feb 4, 2022 · 3 comments

Comments

@g12342jn
Copy link

g12342jn commented Feb 4, 2022

Hello,

I noticed that with some input files the tree branches are very short or appear to have none, for example (MAFFT+VeryFastTree(17.9k samples):

image

image

This also occurs with other external files that I have tried.

Would you be able to let me know why this behavior occurs and how it could be remedied?

Thanks,
Greg

@cmdcolin
Copy link
Contributor

cmdcolin commented Feb 4, 2022

Hi there,
Thanks for the interest.

Definitely it would probably be good to add a tree branch scale. I thought I had an issue for this but not sure where it is

You can also change the "Tree width" in the settings dialog, and this will make the tree draw wider (the vertical divider can be dragged to hide unused portions, so you can make it very wide to enhance certain areas)

Other settings that could help include turning off node bubbles, and making the height very small to see the larger structure of the tree

Hope that helps!

@g12342jn
Copy link
Author

g12342jn commented Feb 4, 2022

Hello,

Thank you for the information. Turning off the node bubbles and increasing the tree width did have the desired effect, but I did notice that this decreased the scroll performance.

I am in the process of looking through a list of MSA viewers to import into a project and am exploring the usability of this one. I want to see how easily scaling the tree branches would be, and so I have looked through some of the code and found it would be in the TreeBlock component. Do you have any insight on how this might best be implemented?

Thanks Again!

@cmdcolin
Copy link
Contributor

cmdcolin commented Feb 4, 2022

interesting...always interested in increasing performance. there might end up being a need to implement using webgl or something like this to really get good performance.

I am in the process of looking through a list of MSA viewers to import into a project and am exploring the usability of this one. I want to see how easily scaling the tree branches would be, and so I have looked through some of the code and found it would be in the TreeBlock component. Do you have any insight on how this might best be implemented?

i was considering adding a scaling bar that would be outside of the treeblock component, probably a new component that would appear above the tree, that you could click and drag to change the scaling

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