Skip to content

Instantly share code, notes, and snippets.

Erik Garrison ekg

Block or report user

Report or block ekg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ekg /
Created Feb 4, 2019
summarize the softclips in a SAM/BAM file
import sys;
import pysam
bamFile = sys.argv[1];
bamFP = pysam.Samfile(bamFile, "rb");
ekg /
Created Jun 13, 2018 — forked from lvm/
[WIP] hackish emacs mode for FoxDot


  1. put 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

Keybase proof

I hereby claim:

  • I am ekg on github.
  • I am ekg ( on keybase.
  • I have a public key ASBqVDBiA6DmXf7cj1k6CHy4DTYQnbAO-C4vZJcFZFwRlAo

To claim this, I am signing this object:

You can’t perform that action at this time.