This repository contains Jupyter Notebooks that can be used as training materials for understanding how the PDBe REST API works, and provides a number of examples of answering specific questions about PDB entries using the API.
This option launches the summer school notebooks in a Docker container. This is the recommended way to run the notebooks as it ensures that all dependencies are correctly installed and that the notebooks will run as expected.
Make sure your Docker is running on your machine before executing the following commands:
git clone https://github.com/PDBeurope/pdbe-api-training .
cd /path/to/your/pdbe-api-training/
docker build -t pdbe-api-training .
docker run -p 8888:8888 -v /path/to/your/pdbe-api-training/pdbe_tutorial_2024/:/pdbe_api_tutorial/pdbe_tutorial_2024 pdbe-api-training
Now open your browser and go to http://localhost:8888/
and you should see the Jupyter Notebook interface. The -v
flag ensures changes you make to the notebooks will be saved in the pdbe_tutorial_2024
directory in the repository cloned to your local machine.
Notebooks can also be run on cloud via Binder. Click on the badge below to launch the notebooks in Binder:
You will need to have Python3.10, pip3 and Jupyter installed on your machine.
pip3 install --upgrade pip
For Windows machines (optionally also for Linux/OSX) you can install Jupyter with conda-forge: https://conda-forge.org/
mkdir pdbe_jupyter
cd pdbe_jupyter
git clone https://github.com/PDBeurope/pdbe-api-training .
cd pdbe-api-training
pip3 install -r requirements.txt
jupyter ./pdbe_tutorial_2024
Jupyter Notebook will open a window in your browser, and you can select the specific notebooks you would like to view.
- Mihaly Varadi - Initial work - github
- John Berrisford - Additional notebooks - github
- David Armstrong - PDBe statistics notebooks and other maintenance - github
- Preeti Choudhary - Ligand interactions and predicted models notebooks - github
- Joseph Ellaway - Protein superposing notebooks - github
- Marcus Bage - Complexes notebook and other maintenance - github
This project is licensed under the EMBL-EBI License - see the LICENSE.md file for details
- Thanks to the PDBe team for suggestions during creating these materials