microbiomedata / sample-annotator

NMDC Sample Annotator
https://microbiomedata.github.io/sample-annotator/static/intro.html
5 stars 9 forks source link

add gold client methods that use GOLD project and analysis ids #102

Open sujaypatil96 opened 2 years ago

sujaypatil96 commented 2 years ago

This PR seeks to add two methods to the GOLD client library that fetches biosamples and study by project id.

This is a direct necessity for the GROW dataset, since we have only Gp and Ga ids to work with. Perhaps it would be a good idea to add get_project_by_analysis_id(), get_biosample_by_analysis_id() and get_study_by_analysis_id() in the future too.