Skip to content

Instantly share code, notes, and snippets.

View ekg's full-sized avatar

Erik Garrison ekg

View GitHub Profile
@ekg
ekg / cigar_summarize.py
Created February 4, 2019 11:37
summarize the softclips in a SAM/BAM file
#!/usr/bin/python
import sys;
import pysam
bamFile = sys.argv[1];
bamFP = pysam.Samfile(bamFile, "rb");
@ekg
ekg / README.md
Created June 13, 2018 09:37 — forked from lvm/README.md
[WIP] hackish emacs mode for FoxDot

Installation

  1. put foxdot-cli.py in the same directory as the FoxDot installaton (in case you're using virtualenv, otherwise comment from lines 5 to 7)
  2. copy foxdot-mode.el to ~/.emacs.d/lisp
  3. add (defvar foxdot-cli-path "/path/to/foxdot-cli/") in your ~/.emacs file
  4. in Emacs M-x load-library and complete with foxdot-mode
  5. Type C-c C-f or M-x foxdot-start to start
  6. Type C-c C-e or M-x foxdot-execute to evaluate a line or a block of code
@ekg
ekg / keybase.md
Created December 13, 2017 11:54
keybase.md

Keybase proof

I hereby claim:

  • I am ekg on github.
  • I am ekg (https://keybase.io/ekg) on keybase.
  • I have a public key ASBqVDBiA6DmXf7cj1k6CHy4DTYQnbAO-C4vZJcFZFwRlAo

To claim this, I am signing this object: