orthogene icon indicating copy to clipboard operation
orthogene copied to clipboard

Caching of gprofiler queries

Open bschilder opened this issue 7 months ago β€’ 0 comments

Is your feature request related to a problem? Please describe. gprofiler queries can take a while, and this compounds when you need to make the same query multiple times. Intermittent internet access can also make this process inconsistent.

Describe the solution you'd like Speed up subsequent queries to gprofiler API by caching API results locally. I've done something similar recently in a python package by encoding the unique input gene set and the target database as a md5 hash.

Describe alternatives you've considered I requested the gprofiler team to enable the creation of a local database, instead of making live API calls.

Additional context Relates to #42

bschilder avatar Mar 12 '25 13:03 bschilder