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

Large phenotypes in search causing failure #86

Open
felixgondwe opened this issue Oct 10, 2018 · 2 comments
Open

Large phenotypes in search causing failure #86

felixgondwe opened this issue Oct 10, 2018 · 2 comments
Assignees

Comments

@felixgondwe
Copy link
Contributor

felixgondwe commented Oct 10, 2018

The search API returns all the genes annotated to a phenotype. If the search results contain a "broad" phenotype, then the API response get huge.

THIS QUERY WILL SLOW DOWN PROD WEBSITE, PLEASE TEST WITH LOCAL ES TO VERIFY.

The API request /get_search_results?q=perilipin%20yft2&is_quick=true&limit=25 times out and gives an error, but seems to work if you make the limit < 20. I think this is bc the 21st result is phenotype "resistance to chemicals: decreased" which has many genes annotated.

--
RM: https://redmine.yeastgenome.org/issues/5039
Reporter: @ragingsquirrel3

@ajay3shriv
Copy link
Contributor

there's a RM for this as well - https://redmine.yeastgenome.org/issues/5117

@felixgondwe
Copy link
Contributor Author

felixgondwe commented Oct 13, 2018

Yes, it was copied from the RM updated above. There are couple of RMs related to this, just discovered.

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

2 participants