Skip to content

Instantly share code, notes, and snippets.

Avatar

Erik Garrison ekg

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

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
View 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: