Skip to content

Convert identity.identify from a linear search to a tree search #4

@mobiusklein

Description

@mobiusklein

Convert identity.identify from a linear search to a tree search using residue_list_to_tree. Currently the function calls identity.is_a on every monosaccharide in the index, which is costly. Instead, it should try to narrow the possibilities by traversing a tree of collections of residues to limit the number of direct comparisons.

However, this breaks down as the error tolerance increases. How to handle?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions