Skip to content

Instantly share code, notes, and snippets.

@greglandrum
greglandrum / Multiconf Alignment Bug.ipynb
Created November 15, 2014 05:34
Multiconf Alignment Bug
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.
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.
@greglandrum
greglandrum / MCS.ipynb
Created November 14, 2012 05:02
RDKit MCS Tutorial
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@greglandrum
greglandrum / bootstrap.sh
Last active November 29, 2015 10:36
vagrant provisioning file to set a lucid64 box up to be able to build the RDKit java wrappers.
#!/usr/bin/env bash
apt-get update
apt-get install -y python-software-properties software-properties-common
apt-get install -y build-essential gcc-4.1 g++-4.1 sqlite3 openjdk-6-jdk openjdk-6-jre libpcre3 libpcre3-dev
add-apt-repository ppa:git-core/ppa
apt-get update
apt-get install -y git-core
if [ \! -e /usr/bin/cmake ]
then
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import simplejson,urllib,random
idx = random.randint(1,10000000)
import sys,re,os,datetime
CHART_BASE_URL = 'http://chart.apis.google.com/chart'
ELEVATION_BASE_URL = 'http://maps.google.com/maps/api/elevation/json'
tInterval=1800
pltWidth=400
pltHeight=200
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@greglandrum
greglandrum / gist:8501410
Created January 19, 2014 06:56
RDKit MaxMinPicker example
//
// Copyright (C) 2014 Greg Landrum
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
/*
Can be built with: