This file contains 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 pickle | |
import seaborn as sns | |
sns.set_style("whitegrid") | |
%pylab --no-import-all | |
%matplotlib inline | |
flatui = ["#9b59b6", "#3498db", "#95a5a6", "#e74c3c", "#34495e", "#2ecc71"] | |
data = pickle.load(open("allele_dic.pkl", "rb")) | |
translate = pickle.load(open("translate.pkl", "rb")) | |
aminotonumber = pickle.load(open("aminotonumber.pkl", "rb")) |
This file contains 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
from __future__ import division, print_function | |
import sys | |
if sys.version_info[0] < 3: | |
print("Python 3 required") | |
sys.exit(1) | |
import math, urllib.request, re | |
try: | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
except ImportError: |
This file contains 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
#!/bin/bash | |
since="$1" | |
if [[ -z $since ]] ; then | |
since="$(git describe --abbrev=0 HEAD^).." | |
fi | |
git log --pretty=format:'* %s (%h, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' |
This file contains 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
#! /bin/sh | |
# Copyright (c) 2014, Tamas Nagy <tamas at tamasnagy dot com> | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, | |
# this list of conditions and the following disclaimer. |
NewerOlder