Skip to content

[bug report] FIVEx search breaks with poor error messaging on certain genes #78

@abought

Description

@abought

In a public thread, Eric Fauman notes that FIVEx search fails when looking for the gene PLA2G10.

Initial workup traces the error to the "suggest best region" code, such as this URL:
https://fivex.sph.umich.edu/api/data/best/region/16/14172545-15194669/?gene_id=ENSG00000069764.9

The endpoint in question appears to be powered by a "best variant" database from credible sets: pip.best.variant.summary.sorted.indexed.sqlite3.db. The gene ID does not appear to be in the database (confirmed using the Chr16 merged data file for credible sets), so the endpoint generates a 400 error (with poor error messaging) here:

return abort(400)

Suggested options:

  • Improve error messaging to explain why some searches don't yield results
  • Are there other ways to express the search within a region that might yield nearby results?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions