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

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

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

Comments

@mobiusklein
Copy link
Owner

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?

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

No branches or pull requests

1 participant