Skip to content

Instantly share code, notes, and snippets.

View caseywdunn's full-sized avatar

Casey Dunn caseywdunn

View GitHub Profile
@caseywdunn
caseywdunn / ubuntu_amazon_tarball.sh
Last active August 29, 2015 13:57
Agalma installation scripts
# This is a full set of commands to install [Agalma](https://bitbucket.org/caseywdunn/agalma)
# from the on Ubuntu Server from the tarballs. It has been tested on the AWS Ubuntu Server AMI.
#
sudo apt-get update
sudo apt-get install make
wget https://bitbucket.org/caseywdunn/biolite/raw/master/install_biolite_ubuntu.sh
sudo sh install_biolite_ubuntu.sh
wget https://bitbucket.org/caseywdunn/agalma/raw/master/install_agalma_ubuntu.sh
@caseywdunn
caseywdunn / TREE_tree.tre
Created May 14, 2015 02:38
Newick representation of the phylogenetic tree in Figure 1 of our TREE review on animal phylogenetics (http://dx.doi.org/10.1146/annurev-ecolsys-120213-091627)
(
Ctenophora,
(
Porifera,
(
Placozoa,
(
Cnidaria,
(
Xenacoelomorpha,
@caseywdunn
caseywdunn / macos_virtualenv.sh
Created June 24, 2016 18:17
Setup and examples of virtualenv on osx
# Setting up virtualenv on macOS Yosemite
brew update
brew upgrade
which python # check location of system version
brew install python
brew install freetype # Needed by some python packages
brew install libxml2 # Needed by some python packages
pip install virtualenv virtualenvwrapper pytest
@caseywdunn
caseywdunn / genomics2016.md
Last active October 30, 2016 20:08
Notes from my October 7, 2016 talk at the Boston Evolutionary Genomics Supergroup Meeting
@caseywdunn
caseywdunn / docker.md
Last active August 10, 2023 18:13
Docker cheat sheet

Docker cheat sheet

Introduction

Docker is a tool for bundling together applications and their dependencies into images that can than be run as containers on many different types of computers.

Docker and other containerization tools are useful to scientists because:

  • It greatly simplifies distribution and installation of complex work flows that
@caseywdunn
caseywdunn / evol2017.md
Last active March 5, 2018 22:36
Notes to accompany my talk.

Evolution 2017

June 25, 2017 (and updated since then)

Casey Dunn, http://dunnlab.org , @caseywdunn

These are some notes and annotated references relevant to my talk with Stacey Smith in the symposium "SSB Symposium Phylogenetic approaches to connecting genotypes to phenotypes" at Evolution 2017.

If you are interested in any of this work let me know. I am moving to Yale and looking for people to join the new research group.

@caseywdunn
caseywdunn / PCfB_Regular_Expressions.md
Last active September 25, 2017 18:22
Regular expressions intro and examples

Working with Conda

First, some nomenclature (see https://conda.io/docs/glossary.html for more):

  • A recipe is a flat directory that has the information needed to build a package
  • A package is a "compressed file that contains everything that a software program needs in order to be installed and run... You manage conda packages with conda."
  • An environment is a "directory that contains a specific collection of conda packages and their dependencies, so they can be maintained and run separately without interference from each other."

A typical workflow:

@caseywdunn
caseywdunn / postdoc_dunnlab_2018.md
Last active May 21, 2018 17:27
Postdoc position: HIV phylogenetics in the Dunn Lab at Yale University