Skip to content

Instantly share code, notes, and snippets.

View leelasd's full-sized avatar
🏠
Working from home

Leela S. Dodda leelasd

🏠
Working from home
View GitHub Profile
@bdrown
bdrown / calc_pbf.py
Created April 5, 2016 16:12
Script for calculating the PBF score of molecules. Script can be incorporated into Schrodinger's Maestro GUI in order to process structures selected in the Project Table.
#Name: Project Table:Plane of Best Fit - PJH Lab
#Command: pythonrun calc_pbf.run
__doc__ = """
Performs plane of best fit analysis.
Calculates the average distance of all atoms in each molecule to the plane that
fits each structure. Plane fitting is performed by single value decomposition
(SVD) using the Numpy package.
The script can also be run from the command line.
"""
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@greglandrum
greglandrum / Schmidtke_ReversingReactions.ipynb
Last active October 27, 2020 22:52
Schmidtke_ReversingReactions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@greglandrum
greglandrum / iwatobipen_reactions_and_coordinates.ipynb
Created May 11, 2019 05:41
iwatobipen_reactions_and_coordinates
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import torch
import torch.nn as nn
from torch.nn import Softplus
from torch.utils.data import Dataset, DataLoader
import dgl
import dgl.function as fn
from dgl.batched_graph import sum_nodes
from dgl.data.chem.utils import mol_to_complete_graph
import numpy as np
from collections import defaultdict
from openmmtools.constants import kB
from simtk import unit
import numpy as np
from tqdm import tqdm
from IPython.core.display import display, HTML
from IPython.display import SVG
from rdkit.Chem.Draw import IPythonConsole
import mdtraj as md
#from utils import *
import nglview
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@greglandrum
greglandrum / KNIME_from_Jupyter_demo.ipynb
Created January 14, 2019 13:43
KNIME from Jupyter_demo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.