Skip to content

Instantly share code, notes, and snippets.

Avatar

Saket Choudhary saketkc

View GitHub Profile
@brentp
brentp / one-channel-agilent.R
Created Aug 17, 2011
use limma to normalize 1-channel agilent data and write out differentially expressed genes.
View one-channel-agilent.R
library(limma)
GROUP="62976"
# targets.txt has columns of "FileName" and "Condition" e.g.
"""
FileName Condition
data/scrubbed/LT001098RU_COPD.45015.txt COPD
data/scrubbed/LT001600RL_ILD.45015.txt ILD
data/scrubbed/LT003990RU_CTRL.45015.txt CTRL
data/scrubbed/LT004173LL_ILD.45015.txt ILD
@saketkc
saketkc / TEST.rb
Created Jul 14, 2011
CodeChef(SPOJ) Problem1 Ruby Solution
View TEST.rb
a=[]
while STDIN.readline.chomp!="42"
a.push($_)
end
a.each { |s| puts s }
@brantfaircloth
brantfaircloth / get_protein.py
Created Apr 3, 2011
Get protein sequences from Genbank given a genomic accession number and a gene name
View get_protein.py
import sys
import time
from Bio import Entrez
Entrez.email = "your.email@domain.tld"
if not Entrez.email:
print "you must add your email address"
sys.exit(2)
# create an empty list we will fill with the gene names