{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Docking Ligands to Proteins\n", "\n", "> ### In this tutorial we will cover:\n", "> - how we can use BuildAMol's `docking` extension to facilitate the docking process of Molecules" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "BuildAMol is intented to let users _build_ molecular structures in any way they like. But it also tries to facilitate downstream research workflows in order to provide a streamlined user experience. Therefore we added a `docking` extension in version `1.2.9` to facilitate the process of using [AutoDock Vina](https://github.com/ccsb-scripps/AutoDock-Vina) from Python.\n", "\n", "The `docking` extension acts as a wrapper and forwards to different docking libraries. Currently available docking backends are: (1) `easydock` package by [Minibaeva et al. (2023)](https://jcheminf.biomedcentral.com/articles/10.1186/s13321-023-00772-2) and (2) `dockstring` by [García-Ortegón et al. (2022)](https://pubs.acs.org/doi/full/10.1021/acs.jcim.1c01334). Naturally, you will need to install these libraries and their dependencies in order to run the docking. Check out their GitHub pages to learn more about their installation (it's not difficult 😄).\n", "\n", "That being said, let's get started!" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Loading a Protein and getting a Ligand\n", "\n", "To keep things simple, we will use the protein and ligand from the [Ligand Design Tutorial](https://biobuild.readthedocs.io/en/latest/examples/ligand_design.html). " ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import buildamol as bam\n", "\n", "protein = bam.read_pdb(\"files/DRD2.pdb\")\n", "ligand = bam.read_pdb(\"files/DRD2_ligand.pdb\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [ { "data": { "application/3dmoljs_load.v0": "
3Dmol.js failed to load for some reason. Please check your browser console for error messages.
3Dmol.js failed to load for some reason. Please check your browser console for error messages.
3Dmol.js failed to load for some reason. Please check your browser console for error messages.
3Dmol.js failed to load for some reason. Please check your browser console for error messages.
3Dmol.js failed to load for some reason. Please check your browser console for error messages.
3Dmol.js failed to load for some reason. Please check your browser console for error messages.