Skip to content

Instantly share code, notes, and snippets.

View rhshah's full-sized avatar

Ronak Shah rhshah

View GitHub Profile
@rhshah
rhshah / tcga-maf-to-vcf.sh
Created January 29, 2020 18:32 — forked from dakl/tcga-maf-to-vcf.sh
Convert TCGA MAFs to VCFs to use to annotate other VCF files with variant frequency in the various TCGA projects (including pancan12).
REF=/proj/b2010040/private/nobackup/autoseqer-genome/genome/human_g1k_v37_decoy.fasta
DICT=/proj/b2010040/private/nobackup/autoseqer-genome/genome/human_g1k_v37_decoy.dict
GATKJAR=/home/daniel.klevebring/projects/tcga-maf-to-vcf/GenomeAnalysisTK.jar
WORKDIR=$HOME/Crisp/dakl/tcga-maf-to-vcf
mkdir -p $WORKDIR
cd $WORKDIR
#unpack maf to workdir
tar xvfz ~/projects/tcga-maf-to-vcf/pancan_cleaned_mafs.tar.gz
stat_smooth_func <- function(mapping = NULL, data = NULL,
geom = "smooth", position = "identity",
...,
method = "auto",
formula = y ~ x,
se = TRUE,
n = 80,
span = 0.75,
fullrange = FALSE,
level = 0.95,
@rhshah
rhshah / r_python_homebrew.sh
Created January 29, 2018 20:15 — forked from pachadotdev/r_python_homebrew.sh
Install R and Python via Homebrew
# See http://pacha.hk/2017-07-12_r_and_python_via_homebrew.html
# XCode CLT
xcode-select --install
# Update Homebrew and add formulae
brew update
# Check for broken dependencies and/or outdated packages
brew doctor
@rhshah
rhshah / pip.md
Created January 16, 2018 22:27 — forked from saurabhshri/pip.md
Install and use pip in a local directory without root/sudo access.

#Install and use pip in a local directory without root/sudo access. #####By: @saurabhshri

##Why? Many users when are given server access, do not have root (or sudo) privileges and can not simply do sudo apt-get install python-pip . Here's an easy way you can install and use pip without root (or sudo) access in a local directory. Note : This works without easy_install too.

##How?

@rhshah
rhshah / keybase.md
Created January 4, 2017 15:39
Keybase Proof

Keybase proof

I hereby claim:

  • I am rhshah on github.
  • I am rhshah (https://keybase.io/rhshah) on keybase.
  • I have a public key whose fingerprint is A181 1641 8177 A8F6 F941 33AF 25FB 5E48 2056 63F4

To claim this, I am signing this object: