Skip to content

Instantly share code, notes, and snippets.

studying cancer genomics

Isaac Pei ipstone

studying cancer genomics
View GitHub Profile
ipstone /
Created Oct 25, 2018 — forked from redinger/
Setting up Emacs daemon on OS X

Setting up Emacs daemon on OS X

Tired of waiting for emacs to start on OS X? This step by step guide will teach you how to install the latest version of emacs and configure it to start in the background (daemon mode) and use emacsclient as your main editor.

Install Cocoa Emacs

Download the latest pretest version of [Emacs for Mac OS X]:

ipstone / start_interactive
Created Oct 25, 2018 — forked from sbamin/start_interactive
start interactive job on HPC Helix
View start_interactive
# Wrapper to run interactive job on helix hpc.
# @sbamin | helix
# usage
show_help() {
cat << EOF
Start interactive job on Helix: Only one job is allowed at a time.
ipstone /
Created Sep 8, 2018 — forked from andreyvit/
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

# remap prefix to Control + a
ipstone / tmux.conf
Created Sep 5, 2018 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
View tmux.conf
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
ipstone /
Created Aug 21, 2018 — forked from mtw/
Extract properly-paired reads and their mates (ie flags 99/147/163/83) from paired-end BAM files
samtools=`which samtools`
bn=$(basename $1 .bam)
echo processing $bn
$samtools view -h -b -f99 $1 > $bn.flag99.bam
$samtools view -h -b -f147 $1 > $bn.flag147.bam
$samtools view -h -b -f163 $1 > $bn.flag163.bam
$samtools view -h -b -f83 $1 > $bn.flag83.bam
ipstone /
Created Apr 17, 2018 — forked from elucify/
ClinVar sample


This directory contains:

  • ClinVar ( dataset reports, and ClinVar development documents
  • documents related to the NCBI collaboration with ClinGen (
  • - how to apply for expert panel status
  • data common to ClinVar and GTR
  • - terminology used by both GTR and ClinVar.