Skip to content

Instantly share code, notes, and snippets.

View wasade's full-sized avatar

Daniel McDonald wasade

View GitHub Profile
@wasade
wasade / diversity_blog.ipynb
Last active March 15, 2016 22:33
near final draft
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wasade
wasade / notebook_introduction.ipynb
Created March 2, 2016 23:27
An introduction to the Jupyter Notebook. Intentionally very light. It assumes that "fortune" and "cowsay" are installed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wasade
wasade / notebook_introduction.ipynb
Created January 21, 2016 13:55
Brief notebook introduction
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.
@wasade
wasade / gg_copy_test.ipynb
Created July 31, 2015 15:34
Benching cogent's TreeNode.copy method
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wasade
wasade / stupid.sh
Created January 20, 2015 19:13
stupid for loop examples
# rename some files based on some counter
x=0 # set an environment variable for our counter
for i in foo/* # for every file in the foo directory
do
# we're going to rename the file, and prefix it with the value in the
# counter. the variable $i will contain both the directory foo, as well as
# the filename (e.g., foo/bar). Since we want to prefix the number on to
# the filename, we need to somehow strip out the foo/ part. we can do this
# using a program called basename (it's worth a peak at its man page).
@wasade
wasade / ag_bb.ipynb
Created January 15, 2015 10:36
Beyond Bacteria start
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.
@wasade
wasade / SharedOTUs.ipynb
Created June 27, 2014 23:04
Shared OTUs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wasade
wasade / parse_fasta.ipynb
Created April 9, 2014 15:24
Cythoning of parse fasta
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.