Programmatic access to ExPheWas results is provided through a web API. This makes is easy to use any programming language or the command line (e.g. using cURL on UNIX-based systems). Every entry from the API documentation is accompanied by a dynamically populated example (blue buttons in the table below). Clicking the "Example" button will show a sample request using the curl command along with live results from the API. For Python users, we suggest looking at the requests library to facilitate programmatic access. For now, all API endpoints use JSON as the content-type. This format is widely supported by modern programming languages. For specific applications that may require high throughput access, contact the authors for the possibility of deploying local instances.
We provide provide multiple simple examples (notebooks) which uses the API.
The API root is: 'https://exphewas.statgen.org/v1/api'
|Get information for the data release currently available through the API.
|Query results by outcome
|Get a list of outcomes
|Get all gene association statistics for an outcome.
|Get number of shared associated genes between two outcomes.
|Query results by gene and utilities for cross referencing
|Get name strand and location of a gene.
|Get gene information by name. Used for cross-referencing.
|Get gene information by Ensembl ID. Used for cross-referencing.
|Get results for a gene given its Ensembl ID.
|Get cross references to other external databases from an Ensembl gene ID.
|Perform a cis-MR analysis.