Skip to content

Assign branch labels based on length #8

@mobiusklein

Description

@mobiusklein

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions