Skip to content
プロジェクト

nrflynn2/ml-drug-discovery

GitHubで見る

概要

The official repository for the book "Machine Learning for Drug Discovery" (Manning Publications)

AI・機械学習

この数値の測り方

計測したスター増加

24時間
0
7日間
+2
15日間
+3
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

"Build AI Drug Discovery Pipelines" - Code and Data Repository

Welcome to the Build AI Drug Discovery Pipelines Repository

This repository contains code and data for Build AI Drug Discovery Pipelines (Manning Publications). The companion material within this repository covers introductory topics at the intersection of machine learning, deep learning, and drug discovery applied to real world scenarios in each chapter. The code and notebooks are released under the Apache 2.0 license.

For readability, the chapter notebooks only contain runnable code blocks and section titles. They omit the rest of the material in the book, i.e., text paragraphs, figures (unless generated as part of one of the code blocks), equations, and pseudocode. If you want to be able to follow what's going on, I recommend reading the notebooks side-by-side with your copy of the book!

Encounter any issues? Please let me know -- I can't fix a problem if I am not aware of its existence!

📚 Table of Contents

💊 Part 1: Fundamentals of Cheminformatics & Machine Learning

🧬 Part 2: Deep Learning for Molecules & Structural Biology

Appendices

Getting Started

Option 1: Google Colab (No Installation Required)

Open any notebook in Colab and run the installation cells at the top! Open In Colab

Each notebook includes a Colab install cell that pip-installs only the packages that chapter needs (3-10 minutes). Chapter 9 is the exception: its docking stack needs conda-only tools, so it uses a conda install cell on Colab.

Option 2: Local Installation with uv (recommended)

Prerequisites: git and Python 3.12 — uv installs and manages the interpreter for you.

# Install uv if needed:  curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/nrflynn2/ml-drug-discovery.git
cd ml-drug-discovery
uv venv --python 3.12 && source .venv/bin/activate   # Windows: .venv\Scripts\activate

We provide tiered installs so you install only what a chapter needs:

Tier Chapters Command
Core — basic ML & QSAR 1–4 uv sync
Advanced — boosting, deep learning, GNNs 5–8, 10, 11, Appendix C uv sync --extra advanced
Full — + pip-installable docking/MD helpers adds Chapter 9 helpers uv sync --extra full

Chapter 9 additionally needs conda-only tools (openmm, vina, pdbfixer):

conda env create -f ml4dd2025.yml && conda activate ml4dd2025

Chapter 12 is a self-contained package — see CH12_FLYNN_ML4DD/.

Prefer classic pip? pip install -e ".[advanced]" works too. For detailed instructions and troubleshooting, see INSTALL.md.

Contribution & Support

Feel free to contribute, raise issues, or propose enhancements to make this repository a comprehensive resource for everyone venturing into machine learning, drug discovery, and related applications.

Citations

If you wish to cite the book, you may use the following:

@book{flynn2025mldd,
title={Build AI Drug Discovery Pipelines},
author={Flynn, N.},
isbn={9781633437661},
url={https://www.manning.com/books/build-ai-drug-discovery-pipelines},
year={2025},
publisher={Manning Publications}
}

関連プロジェクトを探す

読み込み中…