Skip to content

EBISPOT/GWAS_Catalog-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GWAS Catalog and Summary Statistics REST API Workshop

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

Repository contents:

  • 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.

Startup

1. If git and Jupyter available on local machine

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.

2. If user has Google account

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!

3. Without google account

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!

Available notebooks:

workshop_01.ipynb

  • 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.

gwas_cat_rest.ipynb

  • Basic use-cases to fetch association data from the GWAS Catalog REST API

sumstats_rest.ipynb

  • Introductory exercise to the GWAS Catalog's summary statistics API.

Links

Other readings:

  • Jupyter notebook tutorial: link
  • Binder documentation: link
  • Opening Jupyter notebooks hosted on github via Google colab: link

Feedback

We would love to hear feedback from you! Please send your comments to gwas-info@ebi.ac.uk

About

Training material for the GWAS Catalog REST API workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published