FINNGEN / autoreporting

MIT License
0 stars 1 forks source link

Issue #96 PR 1: Move ensembl access out of __get_associations #119

Closed Lipastomies closed 4 years ago

Lipastomies commented 4 years ago

This is PR1 in issue #96. This pull request moves the ensembl access out of the LocalDB.__get_associations() and GwasApi.__get_associations()-methods and moves them to the associations_for_regions()-methods. This makes it easier to control how the ensembl REST API is accessed.

After this, the biallelic check in PR 2 (TODO) is implemented, and after that, the actual ratelimiting for the ensembl API is implemented in PR 3 (TODO).