Skip to content

Instantly share code, notes, and snippets.

View drio's full-sized avatar
🐢
I don't know

David Rio drio

🐢
I don't know
View GitHub Profile
bsub -q normal -J drio -m c81qa-05 -Is /bin/bash
Asdfsaf
@drio
drio / gist:375326
Created April 22, 2010 14:53
screen
0 is
1 eg.ptrie
2 eg.ptrie II
3 hgsc.bfast.pipe
4 git.bfast
5 synthetic pipe
6 dnaa
7 sequel console
8 PE data
9 picard
@drio
drio / gist:375388
Created April 22, 2010 15:41
ruby hereby
Indenting Here Documents
var = <<'EOF'.gsub(/^\s+/, '')
your text
goes here
EOF
class String
def extra_slash!
self.replace(self[-1] == "/" ? self : "#{self}/")
end
end
#!/usr/bin/env ruby19
#
# vim: set filetype=ruby expandtab tabstop=2 shiftwidth=2 tw=80
#
# Dumps to csv (STDOUT) all the info about the SEAs
#
#
require 'ostruct'
require 'find'
require 'lib/helpers'
bsub -q normal -J drio -m c81qb-16 -Is /bin/bash
@drio
drio / gist:381296
Created April 27, 2010 20:40
dolphin solexa slx
#!/usr/bin/env ruby
#
# Generates a fasta file that is more managable for
# the illumina squasher.
#
fake_fname = "./fake_input.txt"
final_fname = "./final.fa"
n_splits = 3
contig_separator = "N" * 50 + "\n" + "N" * 50
@drio
drio / gist:381381
Created April 27, 2010 21:45
bfast reads fastq
@2_1589_151
G21212202211122221112022321322222122121122102120022
+
,7###,.*.&&1##%36)'%$))#)&&&#(,6$+,&:&/%4/)*+5&%+)
@2_1589_176
G21220022221220312022122012102202002210023302203000
+
,%%2*##4#$##%$##%()#$%0%#$%4+%$$$$#1&/&+$(*&/#'22$
@2_1589_190
G10231310332200221112132122212322123210213001201022
These are the set of key changes we suggest to implement in order to successfully assimilate
the incoming HiSEQ instruments:
1. Transfer process from Instruments to Cluster.
Currently the two GAIIs are dumping to a single machine (slxdump). Then to the
cluster. We suggest removing the intermidiate machine and make the
instruments dump data directly to the cluster volumes. A similar process of what we
are doing for SOLiD.