Skip to content

Instantly share code, notes, and snippets.

@PatWalters
PatWalters / depict_ppis.py
Created November 14, 2025 03:16
Code generated by LLMs to depict proton pump inhibitors
### Code from GPT-5
from rdkit import Chem
from rdkit.Chem import Draw
# 1. Names (for legends)
names = [
"Omeprazole",
"Esomeprazole",
"Lansoprazole",
@PatWalters
PatWalters / lookup_chemical_name.ipynb
Created November 13, 2025 15:53
Lookup chemical names using the PubChem PUG service
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PatWalters
PatWalters / bblean_ChEMBL.ipynb
Created October 11, 2025 02:46
Demoing the bug
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PatWalters
PatWalters / evaluate_fastsolv.ipynb
Created August 20, 2025 01:19
Evaluate fastsolv on Polaris solubility datasets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PatWalters
PatWalters / _molpipeline_shap_error.ipynb
Created March 14, 2025 15:35
Showing an error when calling molpipeline.experimental.explainability.SHAPTreeExplainer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PatWalters
PatWalters / label_leash_data.ipynb
Created October 12, 2024 00:58
Label the test set from the Leash Bio Kaggle challenge by library
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PatWalters
PatWalters / bindingdb_inchikey.ipynb
Created October 8, 2024 00:36
Using InChI keys to find cases where the same molecule is present in different charge states
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PatWalters
PatWalters / random_hexapeptides.ipynb
Created May 29, 2024 17:42
A simple example showing how to generate random hexapeptides
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.