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

Assign branch labels based on length #8

Open
mobiusklein opened this issue May 19, 2015 · 0 comments
Open

Assign branch labels based on length #8

mobiusklein opened this issue May 19, 2015 · 0 comments
Labels

Comments

@mobiusklein
Copy link
Owner

Glycan.label_branches curently assigns letter labels based on the order it visits a branch, but it should assign labels closer to a to the longer branch.

It is hard to know which branch is longer at the beginning of the label_branches method, which also computes branch lengths, so perhaps switch this to a two pass algorithm that finds branch length and then assigns labels accordingly.

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

No branches or pull requests

1 participant