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

Quering variants on ranges returns 500 error on huge ranges #444

Open
gromdimon opened this issue Apr 17, 2024 · 1 comment
Open

Quering variants on ranges returns 500 error on huge ranges #444

gromdimon opened this issue Apr 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gromdimon
Copy link
Contributor

gromdimon commented Apr 17, 2024

Describe the bug
There is an endpoint for quering for variants on specific position range.
E.x.

 https://reev.cubi.bihealth.org/internal/proxy/annonars/annos/range?genome_release=<>&chromosome=<>&start=<>&stop=<>

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://reev.cubi.bihealth.org/internal/proxy/annonars/annos/range?genome_release=grch37&chromosome=16&start=688105&stop=68869440
    Or to https://reev.cubi.bihealth.org/internal/proxy/annonars/annos/range?genome_release=grch37&chromosome=10&start=89624226&stop=89725229
  2. 500 error will be returned

Expected behavior
A proper 400-series error should be returned without server crash

Screenshots
N/A

Additional context
N/A

@holtgrewe
Copy link
Contributor

Will be addressed by #502. In particular, your first query goes from/to

   688105
68869440

So it will query 68Gbp (!)

Your second one goes over 100kbp, still

89 624 226
89 725 229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants