Skip to content

Instantly share code, notes, and snippets.

View dereneaton's full-sized avatar

Deren Eaton dereneaton

View GitHub Profile
@dereneaton
dereneaton / R-amova.ipynb
Created September 5, 2017 15:17
R-amova-tutorial
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dereneaton
dereneaton / install_clumpp_conda.sh
Created February 13, 2017 23:29
Install clumpp v1.1.2 binary into your conda dir
## save our current directory so we can return to it
CURDIR=$(pwd)
## find the path to our conda bin dir (this _should_ be in our PATH)
CONDADIR=$(which conda)
CONDABIN=$(dirname $CONDADIR)
CONDAPKG=$(dirname $CONDABIN)/pkgs
## download linux CLUMPP into the conda pkgs dir
cd $CONDAPKG/
@dereneaton
dereneaton / install_structure_conda.sh
Last active February 13, 2017 23:26
installs structure 2.3.4. into your conda dir
## save our current directory so we can return to it
CURDIR=$(pwd)
## find the path to our conda bin dir (this _should_ be in our PATH)
CONDADIR=$(which conda)
CONDABIN=$(dirname $CONDADIR)
CONDAPKG=$(dirname $CONDABIN)/pkgs
## download linux no-console version into the conda pkgs dir
cd $CONDAPKG/
## save our current directory so we can return to it
CURDIR=$(pwd)
## find the path to our conda bin dir (this _should_ be in our PATH)
CONDADIR=$(which conda)
CONDABIN=$(dirname $CONDADIR)
CONDAPKG=$(dirname $CONDABIN)/pkgs
## download bpp source into the conda pkgs dir
cd $CONDAPKG/
@dereneaton
dereneaton / install_bpp_conda.sh
Last active September 12, 2018 17:25
Install bpp 3.3 into your conda dir
## save our current directory so we can return to it
CURDIR=$(pwd)
## find the path to our conda bin dir (this _should_ be in our PATH)
CONDADIR=$(which conda)
CONDABIN=$(dirname $CONDADIR)
CONDAPKG=$(dirname $CONDABIN)/pkgs
## download bpp source into the conda pkgs dir
cd $CONDAPKG/
@dereneaton
dereneaton / install_ibpp.sh
Last active December 3, 2016 18:46
Download and install iBPP (v.2.1) into ~/local/src/iBPP/src
## save our current directory so we can come back here when we're done
WORKDIR=$(pwd)
## To install local software I keep a directory in my home dir called 'local/'
## the command below will make this dir if it does not already exist.
mkdir -p ~/local/src/
## move into your local/src directory
cd ~/local/src
@dereneaton
dereneaton / install_bpp.sh
Last active December 3, 2016 18:45
Download and install bpp (v.3.3) locally (into ~/local/src/bpp/src)
## save our current directory so we can come back here when we're done
WORKDIR=$(pwd)
## To install local software I keep a directory in my home dir called 'local/'
## the command below will make this dir if it does not already exist.
mkdir -p ~/local/src/
## move into your local/src directory
cd ~/local/src
#!/bin/bash
## reload .bashrc b/c I'm not sure it's reloaded on UW's Condor
source /mnt/gluster/jlmcdaniel/.bashrc
## change into the directory with your params file
cd /mnt/gluster/jlmcdaniel/ipyrad/porroglossum
## call ipyrad to run some step, by default it will use all available cores
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dereneaton
dereneaton / gist:3e50570074b49c0485e6
Created August 6, 2015 14:23
skeleton ipython css
<style>
html {
font-size: 62.5% !important; }
body {
font-size: 1.5em !important; /* currently ems cause chrome bug misinterpreting rems on body element */
line-height: 1.6 !important;
font-weight: 400 !important;
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
color: #222 !important; }