Skip to content

Instantly share code, notes, and snippets.

View ChiZhou-SITI's full-sized avatar

Chi Zhou ChiZhou-SITI

  • Shanghai Immune Therapy Institute
  • Shanghai,China
View GitHub Profile
@ChiZhou-SITI
ChiZhou-SITI / min-char-rnn.py
Created December 11, 2017 11:03 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@ChiZhou-SITI
ChiZhou-SITI / somaticScan.sh
Created March 14, 2017 13:48 — forked from seandavi/somaticScan.sh
Call varScan using named pipes (fifos)
#!/bin/bash
#
# Author: Sean Davis <seandavi@gmail.com>
#
# Uses named pipes (FIFO) to reduce storage needs
# to call varscan somatic
# Some details may need to be edited to meet particular needs
# call with the following parameters
# 1) The FASTA file containing the reference genome
# 2) The Normal bam file