Skip to content

sys-bio/BiomodelsStore

 
 

Repository files navigation

BiomodelsStore

A repository that stores BioModels [https://www.ebi.ac.uk/biomodels/]. This repository used in conjunction with BiomodelsCache [https://github.com/sys-bio/BiomodelsCache] can be used to speed up the search and download of BioModels. Models can be retrieved from this repository using PyGithub (GitHub API), or any other Github API as per the use cases. The Model repository contains a directory for each currated model, the contents of which is the SBML model file. The BioModels cache itself makes use of biomodels-restful-api-client to copy the models over to this GitHub repository.

Using the BioModelsStore

It is required that you have a BioModel ID of the model you are interested in. Currently we have a JavaScript client that makes the interaction straightforward. The file is at ../searchClient/getBiomodels.js. Using this JavaScript client requires only one function call to get model information:

  • const model_text = await getModel(modelID);

This takes a string corresponding to the model ID (ex: "BIOMD0000000002") and returns the SBML model as a string. For other programming languages, support for a GitHub API is needed (OctoKit, PyGithub, etc). Look at the JavaScript Client for assistance in building your own client.

Example usage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.8%
  • Python 25.6%
  • HTML 5.6%