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

More efficient testing for gene overlap #170

Open
standage opened this issue Apr 14, 2016 · 0 comments
Open

More efficient testing for gene overlap #170

standage opened this issue Apr 14, 2016 · 0 comments

Comments

@standage
Copy link
Member

Currently, the AgnLocusStream tests for overlap by comparing a gene's location to those of all genes in the current buffer. Karin Dorman correctly pointed out that this is unnecessary and that simply testing whether the buffer's rightmost position exceeds the gene's leftmost position is sufficient.

I don't expect this will affect performance all that much, but it is a cleaner and more efficient solution and easier to describe as well. Will implement and test this soon.

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

1 participant