Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
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
#!/usr/bin/env python | |
# numpy and biopython are required -- pip install numpy biopython | |
from Bio import Entrez | |
from Bio import Medline | |
MAX_COUNT = 10 | |
TERM = 'Tuberculosis' | |
print('Getting {0} publications containing {1}...'.format(MAX_COUNT, TERM)) |
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
# Python port of Paul Bourke's http://local.wasp.uwa.edu.au/~pbourke/fractals/lyapunov/gen.c | |
# By Johan Bichel Lindegaard - http://johan.cc | |
import math | |
import random | |
from PIL import Image, ImageDraw | |
import argparse | |
import os | |
parser = argparse.ArgumentParser(description='Search for chaos.') |
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
# code by Steven H. D. Haddock and Casey W. Dunn as described in: | |
# Practical Computing for Biologists | |
# Steven H. D. Haddock and Casey W. Dunn | |
# Published in 2011 by Sinauer Associates. | |
# ISBN 978-0-87893-391-4 | |
# http://www.sinauer.com/practical-computing-for-biologists.html | |
# see practicalcomputing.org | |
# | |
#scripts freely available by the original authors at practicalcomputing.org | |
#DIRECT LINK: http://practicalcomputing.org/files/pcfb_examples.zip |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# code by Steven H. D. Haddock and Casey W. Dunn as described in: | |
# Practical Computing for Biologists | |
# Steven H. D. Haddock and Casey W. Dunn | |
# Published in 2011 by Sinauer Associates. | |
# ISBN 978-0-87893-391-4 | |
# http://www.sinauer.com/practical-computing-for-biologists.html | |
# see practicalcomputing.org | |
# | |
#scripts freely available by the original authors at practicalcomputing.org | |
#DIRECT LINK: http://practicalcomputing.org/files/pcfb_examples.zip |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python | |
"""strip outputs from an IPython Notebook | |
Opens a notebook, strips its output, and writes the outputless version to the original file. | |
Useful mainly as a git filter or pre-commit hook for users who don't want to track output in VCS. | |
This does mostly the same thing as the `Clear All Output` command in the notebook UI. | |
LICENSE: Public Domain |
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
"""Tools for searching Pubmed for a list of PMIDs. | |
The goal here is to search for many PMIDs at once, since searching | |
sequentially can take a long time. Using the the BioPython Entrez module | |
is super convenient to this end. | |
The results results are returned in a simple dictionary format. | |
""" | |
OlderNewer