This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import os | |
| import requests | |
| import subprocess | |
| import shutil | |
| from logging import getLogger, StreamHandler, INFO | |
| logger = getLogger(__name__) | |
| logger.addHandler(StreamHandler()) |
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.
NewerOlder