2006-08-01から1ヶ月間の記事一覧

parse BLAT results (psl file)

Bio::FlatFile.open(Bio::Blat::Report,f).each{|r| r.hits.each{|h| p h } }

parse FASTA formatted sequence file

Bio::FlatFile.open(Bio::FastaFormat,f).each{|e| p e }

[bioruby] Bio::FlatFile.open(Bio::EMBL,f).each{|e| p e.id_line p e.ft }

pslRepsの挙動不審?

オプション -singleHit と -nearTop=0.0 って、同じ結果を期待してよいかとおもったら、ちょっと違うみたい。片方がもう片方を含むわけでもなく。両方のオプションをつけると、-singleHit にひっぱられる。

ビル・ゲイツを驚愕させた由井啓之のスピーカー作り

etc

http://rikunabi-next.yahoo.co.jp/tech/docs/ct_s03600.jsp?p=000725 ビル・ゲイツはおいといて、沁みる言葉がいくつも。 あらゆることをやり尽くして、もうすることがない、これでアカンとあきらめかけたとき、ようやくふっと思いつく。発明家はみんなそう…

Customized BLAT for SAGE

https://www.soe.ucsc.edu/pipermail/genome/2005-August/008314.html https://www.soe.ucsc.edu/pipermail/genome/2005-August/008312.html https://www.soe.ucsc.edu/pipermail/genome/2005-August/008311.html 一番上のメールの内容だけでもミラーしてお…

欲しいモノ

ダクト A4レポート&ノートパッド http://www.rakuten.co.jp/nagasawa/478019/546463/546413/ ラミー 2000 4色ボールペン http://www.rakuten.co.jp/pen-king/757935/779923/#745293 あと、これも読みたい 文房具を楽しく使う(ノート・手帳篇)作者: 和田哲哉…

国産でGoogle越えを狙う情報大航海プロジェクトコンソーシアム発足

http://slashdot.jp/articles/06/08/01/0749242.shtml http://blog.goo.ne.jp/ikedanobuo/e/d91f1557d93c413755df51b51a8f6a1e http://opentechpress.jp/~sado/journal/29 http://pman.kotaeru.org/?p=142 http://www11.ocn.ne.jp/~suiten/peke1.html 典型的…

sort | uniq -c

rubyには、sortもuniqメソッドもあるけど、(textutilsのいう)-cオプションがない。injectを使うとこんな風になる。 [1,2,3,4,5,5].inject({}){|result,item| result[item] ||=0; result[item] +=1; result } => {5=>2, 1=>1, 2=>1, 3=>1, 4=>1} ブロック内で…