This file contains hidden or 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 perl | |
| # prior art: | |
| # https://bitbucket.org/jtopjian/penv/src/20bcd9049c95/penv.pl | |
| # https://github.com/stoned/pll/blob/master/pll | |
| use strict; | |
| use warnings; | |
| use Config; |
This file contains hidden or 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
| (require 'package) | |
| (add-to-list 'package-archives | |
| '("melpa-stable" . "http://stable.melpa.org/packages/") t) | |
| (add-to-list 'package-archives | |
| '("melpa" . "http://melpa.org/packages/") t) | |
| ;;; from purcell/emacs.d | |
| (defun require-package (package &optional min-version no-refresh) | |
| "Install given PACKAGE, optionally requiring MIN-VERSION. | |
| If NO-REFRESH is non-nil, the available package lists will not be |
This file contains hidden or 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 lein-exec | |
| ;; Taken from http://j.mp/IiT8UK | |
| ; (def fib-seq | |
| ; ((fn rfib [a b] | |
| ; (lazy-seq (cons a (rfib b (+ a b))))) | |
| ; 0 1)) | |
| ; | |
| ; (println (take 10 fib-seq)) |
This file contains hidden or 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
| ```{r kable} | |
| n <- 100 | |
| x <- rnorm(n) | |
| y <- 2*x + rnorm(n) | |
| out <- lm(y ~ x) | |
| library(knitr) | |
| kable(summary(out)$coef, digits=2) | |
| ``` |
This file contains hidden or 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 | |
| BASE_BUILD_DIR=/gscmnt/gc2802/halllab/idas/jira/BIO-1915/vendor/llvm | |
| INSTALL_DIR=/gscmnt/gc2802/halllab/idas/jira/BIO-1915/vendor/local | |
| ALT_GCC_DIR=/opt/gcc-4.8.4 | |
| ALT_GCC=${ALT_GCC_DIR}/bin/gcc | |
| ALT_GXX=${ALT_GCC_DIR}/bin/g++ | |
| setup_llvm_and_clang() { |
This file contains hidden or 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
| \documentclass[border=2mm]{standalone} | |
| \usepackage[sfdefault]{FiraSans} | |
| \usepackage{tikz} | |
| \usetikzlibrary{ | |
| positioning, % for the relative node positioning | |
| shapes.multipart, % for the rectangle split | |
| decorations.pathreplacing, % for the brace comments | |
| calc % for the let command | |
| } |
This file contains hidden or 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/sbcl --script | |
| (defun main () | |
| (if (>= (list-length *posix-argv*) 2) | |
| (format t "~&~S~&" *posix-argv*) | |
| (write-line "Hello, World!"))) | |
| ;;(main) | |
| (sb-ext:save-lisp-and-die "hello.exe" :toplevel #'main :executable t) |
This file contains hidden or 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
| .PHONY: clean | |
| PRJDIR := /path/to/project | |
| DOCS := $(PRJDIR)/docs | |
| RLIBS := /gscmnt/gc2801/analytics/idas/jira/BIO-1465/rpkgs | |
| REPORTDIR := $(DOCS)/writeups | |
| PDFLATEX := /home/archive/texlive-2015/2015/bin/x86_64-linux/pdflatex | |
| writeup: $(REPORTDIR)/report.pdf |
This file contains hidden or 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 | |
| from __future__ import print_function, division | |
| import sys, os, pprint | |
| from glob import glob | |
| import requests | |
| from lxml import html | |
| from toolz.curried import * |
This file contains hidden or 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 | |
| # This is a script to merge multiple [GATK][0] Report (or [GATKReport][1]) | |
| # files into a single report file. This is useful when one is running multiple | |
| # GATK commands on a partitioned [VCF][2] data set for performance reasons, and then | |
| # afterwards assembling up the overall output. | |
| # | |
| # Currently this script supports the GATKReports for the following | |
| # [VariantEval][3] Evaluation Module [outputs][4]: | |
| # |