This repository contains training materials for the GWAS Catalog and Summary Statistics REST API workshop. This workshop provides examples on how to extract data from the GWAS Catalog for the most frequent use cases. For the complete documentation see API documentation: GWAS Catalog REST API documentation and GWAS Catalog Summary Statistics REST API documentation
- slides: the REST API presentation materials
- notebooks: jupyter notebooks containing interactive code examples to demonstrate how to extract and parse data from the GWAS Catalog and the GWAS Catalog Summary statistics REST API.
Clone repository to local folder. Start up jupyter notebook and open the workshop notebook.
git clone https://github.com/EBISPOT/GWAS_Catalog-workshop
cd GWAS_Catalog-workshop/notebooks
jupyter notebook
Then load the notebook of your interest.
Via the Google account, a user can open the interactive notebooks on google colab virtual machine.
Use the following links to start up virtual machines:
No modification will be saved in the repository, so there is no need to be careful! Have fun!
Publicly stored Jupyter notebooks can be uploaded and run on a remote server hosed by Binder. The required Python packages are read from the requirements.txt
file. Upon the first build the required packages will be installed subsequent startups will be faster.
After the first build a direct link can also be used to access the virtual environment:
No modification will be saved, so there is no need to be careful! Have fun!
- Contains a short description of the returned data of the API.
- Basic use-cases to fetch association data from the GWAS Catalog REST API and Summary Statistics API.
- Basic use-cases to fetch association data from the GWAS Catalog REST API
- Introductory exercise to the GWAS Catalog's summary statistics API.
- GWAS Catalog REST API
- GWAS Catalog REST API documentation
- GWAS Catalog Summary Statistics REST API
- GWAS Catalog Summary Statistics REST API documentation
Other readings:
- Jupyter notebook tutorial: link
- Binder documentation: link
- Opening Jupyter notebooks hosted on github via Google colab: link
We would love to hear feedback from you! Please send your comments to [email protected]