Skip to content

Instantly share code, notes, and snippets.

View nimezhu's full-sized avatar

Zhu Xiaopeng nimezhu

View GitHub Profile
@nimezhu
nimezhu / README.md
Last active August 29, 2015 14:01
query ends to report

##TSS(TTS) POSITION CLASSIFIED

HITS : distance < 10
SHIFT : 10<= distance < 50
ALT_E : 50 < distance and peak in Exon
ALT_E : 50 < distance and peak in Intron

COL14 for gene: number of tss, repr string, number of tts

@nimezhu
nimezhu / README.md
Last active August 29, 2015 14:01
Simple Demo for using Circos.js plot json data

this is a demo of circos.js. the lib is hosted in this website

@nimezhu
nimezhu / README.md
Last active September 1, 2016 19:35
Plot Circos Application Prototype and Circos Javascript Library

This Library is obsoleted. please visit new library bam2x.circos.js

This is a javascript library for plot circos graph. Powered by Underscore, Backbone and D3JS.

  • GPL License
  • (c) copyright by author zhuxp
@nimezhu
nimezhu / customized_bed.txt
Created May 11, 2014 22:28
bam2x customized table example
#chr start end name strand
chr1 30073 30905 CUT001 +
chr1 138607 138831 CUT002 +
chr1 143439 143599 CUT003 +
chr1 170495 172447 CUT004 +
chr1 180255 180511 CUT005 +
chr2 96354 96570 CUT006 +
chr2 191991 192343 CUT007 +
chr2 237744 237928 CUT008 +
chr2 254872 255056 CUT009 +
@nimezhu
nimezhu / README.txt
Created May 11, 2014 22:39
bam2x auto complete subcommand
auto complete bam2x subcommand in command line.
put this in ~/.bash_completion.d
@nimezhu
nimezhu / RNA.json
Created May 12, 2014 07:19
RNA Struct 2D plot as a circos graph
{ "ideograms":[
{"id":"RNA1","length":47,"color":"blue"},
{"id":"RNA4","length":43,"color":"green"},
{"id":"RNA2","length":50,"color":"red"},
{"id":"RNA5","length":56,"color":"yellow"},
{"id":"RNAU","length":21,"color":"orange"},
{"id":"RNAX","length":45,"color":"purple"}
],
"plottracks":
@nimezhu
nimezhu / index.html
Last active August 29, 2015 14:01
z data studio presents
<html lang="en">
<head>
<meta charset="utf-8">
<title>zdata studio products </title>
<link rel="stylesheet" href="nav.css">
<style>
body {
font:10px sans-serif;
}
</style>
@nimezhu
nimezhu / index.html
Last active October 19, 2016 21:24
circos js random plot show
<html lang="en">
<head>
<meta charset="utf-8">
<title>random circos show</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="https://dl.dropboxusercontent.com/u/26972351/viz/gist/bam2x.js/lib/bam2x.circos.js"></script>
</head>
<body>
@nimezhu
nimezhu / index.html
Last active August 29, 2015 14:01
z data studio show
<html lang="en">
<head>
<meta charset="utf-8">
<title>z data studio show</title>
<link rel="stylesheet" href="nav.css">
<style>
body {
font:10px sans-serif;
}
</style>
@nimezhu
nimezhu / README.md
Last active August 29, 2015 14:01
venn pie

venn pie graph demo