biothings / mygeneset.info

Apache License 2.0
5 stars 3 forks source link

Module for Gene ID lookup and formatting gene objects. #15

Closed ravila4 closed 3 years ago

ravila4 commented 3 years ago

The idea is to have a general module that can be used by any mygeneset plugin to generate gene objects, thus reducing code duplication, facilitating standardization, and providing a single point to introduce changes to that part of the schema.

This module has simple features:

Search using any supported query scope and taxonomic id. Store queries as an in-memory dictionary of formatted responses and results. Allow for re-trying failed queries using different sets of ids. For example, if you have a dataset with entrez ids, and gene symbols, you can query entrez ids first, then submit a query with corresponding gene symbols for entrez ids that failed.