Skip to content

Instantly share code, notes, and snippets.

View iwatobipen's full-sized avatar
:octocat:
working from ?

Taka iwatobipen

:octocat:
working from ?
View GitHub Profile
@kate-fie
kate-fie / pymol_style.py
Created December 4, 2024 09:58
Create high quality PyMOL visualizations
# Originally created by: Rob Paton
# https://gist.github.com/bobbypaton/1cdc4784f3fc8374467bae5eb410edef
# Modified by: Kate Fieseler
# BallnStick: creates a ball and stick representation of an object
# Add_VDW: creates a copy of an object with full-sized, transparent spheres
# Bondi VDW values added below to override default PyMOL settings
from pymol import cmd
from pymol import util
@cisert
cisert / highlight_atoms_3d.py
Created February 9, 2022 10:48
Draw 3D molecule with highlighted atoms
import py3Dmol
from rdkit import Chem
def draw_mol_with_highlights(mol, hit_ats, style=None):
"""Draw molecule in 3D with highlighted atoms.
Parameters
----------
mol : RDKit molecule
hit_ats : tuple of tuples
@greglandrum
greglandrum / Reaction Drawing Font Size.ipynb
Created January 10, 2020 14:44
Reaction Drawing Font Size.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@greglandrum
greglandrum / Kramer_AtomInvariants.ipynb
Last active January 10, 2020 00:07
Kramer_AtomInvariants.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ptosco
ptosco / FragmentOnBonds.ipynb
Created January 8, 2020 11:47
Different ways to fragment a molecule on some bonds
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.
@greglandrum
greglandrum / Show_Ph4_Features_in_PyMOL.ipynb
Created January 15, 2019 09:52
Show_Ph4_Features_in_PyMOL.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import sys
import os
import requests
import subprocess
import shutil
from logging import getLogger, StreamHandler, INFO
logger = getLogger(__name__)
logger.addHandler(StreamHandler())
@bannanc
bannanc / OE_toandfrom_RDK.ipynb
Last active February 5, 2025 21:18
This is a jupyter notebook explaining how to convert molecules in OpenEye toolkits to the equivalent molecule in RDKit going both directions between toolkits.
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.