Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View armish's full-sized avatar
🔬
here and there

B. Arman Aksoy armish

🔬
here and there
View GitHub Profile

Keybase proof

I hereby claim:

  • I am armish on github.
  • I am armish (https://keybase.io/armish) on keybase.
  • I have a public key whose fingerprint is 7805 DC84 094C 8944 FDB5 DFB0 7446 EBFB 2C7C 7828

To claim this, I am signing this object:

@armish
armish / extractChanges.sh
Created September 8, 2014 00:54
For each file in the repository, follows the diff tree and extracts change-set IDs
#!/bin/bash
for i in `git ls-files`
do
git log --follow -p $i |grep "^commit" |awk "{ print \"$i\tmodified-in\t\" \$2 }"
done
@armish
armish / index.js
Created June 12, 2015 18:31
requirebin sketch
// require() some stuff from npm (like you were using browserify)
// and then hit Run Code to run it on the right
// this doesn't work, because browserify fails due to missing
// transformify dependency
var pileup = require("pileup");
@armish
armish / index.js
Created July 7, 2015 21:23
requirebin sketch
var pileup = require("pileup");
var sources = [
{
viz: pileup.viz.genome(),
isReference: true,
data: pileup.formats.twoBit({
url: 'http://www.biodalliance.org/datasets/hg19.2bit'
}),
name: 'Reference'
@armish
armish / TrackVisualization.js
Created July 16, 2015 15:08
Pileup Visualization Boilerplate
/**
* Visualization of genes, including exons and coding regions.
* @flow
*/
'use strict';
var React = require('./react-shim'),
_ = require('underscore'),
d3 = require('d3'),
shallowEquals = require('shallow-equals'),
@armish
armish / custom.cancer.immunity.symbols.gmt
Created December 9, 2015 02:28
Custom GSEA gene set: Cancer Immunity Peptides
CANCER_IMMUNITY_DIFFERENTIATION_ANTIGENS http://cancerimmunity.org/peptide/differentiation/ CEACAM5 SILV SCGB2A2 MLANA ANKRD30A GPR143 ACPP KLK3 RAB38 TYRP1 DCT TYR
CANCER_IMMUNITY_SHARED_TUMOR_SPECIFIC_ANTIGENS http://cancerimmunity.org/peptide/tumor-specific/ BAGE CCNA1 GAGE1 GAGE2A GAGE8 GAGE3 GAGE4 GAGE5 GAGE6 GAGE7 MGAT5 CXorf61 CCDC110 CTAG2 MAGEA1 MAGEA2 MAGEA3 MAGEA4 MAGEA6 MAGEA9 MAGEA10 MAGEA12 MAGEC1 MAGEC2 MUC1 CTAG1B SAGE1 SPA17 SSX2 SSX4 CSAG2 DCT XAGE1B
CANCER_IMMUNITY_ANTIGENS_OVEREXPRESSED_IN_TUMORS http://cancerimmunity.org/peptide/overexpressed/ PLIN2 LOC51152 ALDH1A1 BCL2L1 WDR46 CALCA PTPRC CD274 CPSF1 CCND1 DKK1 ENAH EPCAM EPHA3 EZH2 FGF5 GPC3 CA9 ERBB2 HLA-DOB HPN IDO1 GPC3 IL13RA2 CES2 AFP KLK4 KIF20A CSF1 CSF1 CSPG4 MDM2 MDK MMP2 MMP7 MUC1 MUC5AC TP53 PAX5 ZNF395 PRAME FOLH1 RAGE RGS5 RhoC RNF43 DCDC2 SCRN1 SOX10 STEAP1 BIRC5 TERT TPBG VEGFA WT1
@armish
armish / merge_ssms.sh
Created January 14, 2016 00:31
Merge multiple SSMs into a single one
#!/bin/bash
set -e
cat helpers/triplets.lst |while read patient
do
mergedFile=ssms/merged/${patient}.txt
cat helpers/ssm_header.txt > ${mergedFile}
count=0
@armish
armish / reproduce.ipynb
Last active March 24, 2016 21:18
Reproducing: "Genomic and Transcriptomic Features of Response to Anti-PD-1 Therapy in Metastatic Melanoma"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@armish
armish / Feather - Python.ipynb
Created March 30, 2016 18:02
Feather rocks \o/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@armish
armish / sampleData.R
Created April 27, 2016 04:31
Multi-level coffeewheel data
sampleWheelData <- list(
list(
name="R",
children=list(
list(
name="R_1",
children=list(
list(name="R_1_1", colour="#160000"),
list(name="R_1_2", colour="#220000"),
list(name="R_1_3", colour="#280000")