BioRuby Ruby Bioinfomatics Blast BioPerl, BioJava, BIoPython Ruby

Similar documents
Open Bio* O B F -- Open Bio Foundation BioRuby BioPerl BioPython BioJava BioDAS BioMOBY BioPipe EMBOSS Ensembl OmniGene GMOD GBrowse Apollo OBDA BioCa

10000bp FASTA 1000bp 10000bp 3' i = 1 remainder = seq.window_search(10000, 9000) do subseq puts subseq.to_fasta("segment #{i}", 60) i += 1 puts remain


ob14-ktym-revised.key

ngoto-biotree-public.ppt

未踏成果報告会-fix.key

giw2005-bioruby-bof.key

KNOB? KNOB KNOB

BioRuby の使い方

KNOB Bio KNOPPIX

BioRuby入門

スライド 1

KNOB Knoppix for Bio Itoshi NIKAIDO

<URL: KEGG API Ruby, Perl, Python, Java KEGG API SOAP WSDL Ruby Ruby SOAP Ruby SOAP4R, devel-logger, http-

PowerPoint Presentation

プレゼンテーション2.ppt

自己紹介 : プロフィール 石井一夫 ( 東京農工大学特任教授 ) 専門分野 : ゲノム科学 バイオインフォマティクス データマイニング 計算機統計学 経歴 : 徳島大学大学院医学研究科博士課程修了後 東京大学医科学研究所ヒトゲノム解析センターリサーチアソシエート 理化学研究所ゲノム科学総合研究セン

untitled

untitled

ソフトウェアについて Rev 年 1 月 16 日 このマニュアルでは標準でインストールしているソフトウェアの入手元 インストール方法の概要 インストール場所 についてご案内致します ABySS

csj-report.pdf

UnixText2.pptx

福祉用具シリーズVol.15_腰痛予防編.indd

3 XML SPring-8 SPring-8 DNA DNA 4 XML BLAST)

(タイトル未定)

untitled

プレゼンテーション3

Windows [ ] [ (R)..] cmd [OK] Z:\> mkdir progi [Enter] \ ) mkdir progi ) (command ) help [Enter] help ( help ) mkdir make directory Windows ) mkdir mk

自己紹介 : プロフィール 石井一夫 ( 東京農工大学特任教授 ) 専門分野 : ゲノム科学 バイオインフォマティクス データマイニング 計算機統計学 経歴 : 徳島大学大学院医学研究科博士課程修了後 東京大学医科学研究所ヒトゲノム解析センターリサーチアソシエート 理化学研究所ゲノム科学総合研究セン

<4D F736F F F696E74202D205B979D8CA C5D20836F CA48B868ED28CFC82AF8E B F72312E B8CD

15 Phoenix HTML 15.1 ModestGreeter RAVT web/router.ex web/router.ex : 12 scope "/", ModestGreeter do 13 pipe_through :browser get "/", TopCont


parser.y 3. node.rb 4. CD-ROM

listings-ext

̤Äê

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

経済産業省 地域金融人材育成システム開発事業

ruby novice ruby novice ruby novice.


アルカリイオン水ではじめよう


3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200,

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2


TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..

Web Web ( (SOAP (SOAP/http (WSDL UDDI 1. 2.XML 3. (XDoS http, https SOAP XML Web/App ( App

kast-knob.rd

ウェブサービスとは WWWを介してデータの取得 解析などをサー バ側で行うサービス 人が直接使うことは意図されていない プログラム等を使って大量に処理できる(単純) 作業を意図している SOAP, REST

AJACS18_ ppt

Sokushu2_perl

Sequencher 4.9 Confidence score Clustal Clustal ClustalW Sequencher ClustalW Windows Macintosh motif confidence Sequencher V4.9 Trim Ends Without Prev

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

haskell.gby

help gem gem gem my help

untitled

Bio-Mirror Project

untitled

1 VisBAR edu H 2 O.....

.A.N.Z.X36..PDF

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT

DDBJ Ei-ji Nakama nakama at com-one.com COM-ONE Ltd. DDBJ p. 1

橡挿入法の実践



WLX202 操作マニュアル

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó


untitled




920P-1


広報しもつけp01ol

ONPRESS190

本文(B5×40)0614三校責了.indd

PowerPoint Presentation

untitled


Ruby 50 Ruby UTF print, \n [Ruby-1] print("hello, Ruby.\n") [Ruby-2] Hello, Ruby. [Ruby-3] print("hello, \"Ruby\".\n") 2 [Ruby-4] seisuu = 10 pr

プリント

r1.dvi

Emacs Ruby..

Ver.1 1/17/2003 2


Sinatra と MongoDB 今回は Sinatra で MongoDB の操作を体験してみます 進捗に合わせて ドライバから Ruby で使える便利な ORM の紹介をします

橡t15-shibuya.kashiwa.ppt

PowerPoint プレゼンテーション


10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

6 (1) app.html.eex 28 lib/nano_planner_web/templates/layout/app.html.eex 27 <footer> Oiax Inc <%= this_year() %> Oiax Inc. 29 </footer>

Advantage CA-Easytrieve Plus

WEB DB PRESS Vol.1 65

10 (1) s 10.2 rails c Rails 7 > item = PlanItem.new => #<PlanItem id nil, name nil,...> > item.name = "" => "" > item.valid? => true valid? true false

国立遺伝学研究所におけるDNAデータバンク:DDBJ

,,,,., C Java,,.,,.,., ,,.,, i

CAS Yale Open Source software Authentication Authorization (nu-cas) Backend Database Authentication Authorization Powered by A

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

Nakamura

Transcription:

BioRuby,

BioRuby Ruby Bioinfomatics Blast BioPerl, BioJava, BIoPython Ruby

Open Bio* O B F -- Open Bio Foundation BioRuby Ensembl BioCaml BioPerl OmniGene BioLisp BioPython GMOD BioConductor BioJava Apollo BioPathways BioDAS OBDA BioBlog BioMOBY BioCyc BioDog EMBOSS :

OBDA BioHackathon 2002/01 Arizona, 2002/02 Cape Town Open Bio* Open Bio* :-)

OBDA BioHackathon 2002/01 Arizona, 2002/02 Cape Town Open Bio* Open Bio* :-)

OBDA BioHackathon 2002/01 Arizona, 2002/02 Cape Town Open Bio* Open Bio* :-) Open Bio* Sequence Database Access Directory Registry(Stanza) Flat File indexing (DBM, BDB) BioFetch(CGI/HTTP) BioSQL(MySQL, PostgreSQL, Oracle) SOAP (XEMBL based) BioCORBA (BSANE compliant)

OBDA (Stanza ) ~/.bioinformatics/seqdatabase.ini /etc/bioinformatics/seqdatabase.ini http://open-bio.org/registry/seqdatabase.ini [swissprot] protocol=biosql location=db.bioruby.org dbname=biosql driver=mysql biodbname=sp [embl] protocol=biofetch location=http://bioruby.org/cgi-bin/biofetch.rb biodbname=embl :

OBDA (Stanza ) ~/.bioinformatics/seqdatabase.ini /etc/bioinformatics/seqdatabase.ini http://open-bio.org/registry/seqdatabase.ini [swissprot] protocol=biosql location=db.bioruby.org dbname=biosql driver=mysql biodbname=sp #!/usr/bin/env ruby require 'bio' [embl] protocol=biofetch location=http://bioruby.org/cgi-bin/biofetch.rb biodbname=embl : reg = Bio::Registry.new db = reg.db("swissprot") entry = db.fetch("tetw_butfi")

BioRuby Bio::Sequence, Bio::Location, Bio::Feature Bio::DB Bio::Blast, Bio::Fasta Blast/Fasta Bio::PubMed, Bio::Reference BibTeX Bio::Registry, Bio::SQL, Bio::Fetch, Bio::FlatFile OBDA Bio::Pathway, Bio::Relation

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!'

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate "HELL*XW*RLD" puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!'

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!' ["HELL*", "W*RLD"]

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!' "HELL* W*RLD"

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!' "Hell* w*rld"

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!' "Hello world"

#!/usr/bin/env ruby require 'bio' gene = Bio::Seq::NA.new("catgaattattgtagannntgataaagacttgac") prot = gene.translate puts plot.split('x').join(' ').capitalize.gsub(/ */, 'o') << '!' Hello world!

FASTA BioRuby #!/usr/bin/ruby require 'bio' flatfile = Bio::FlatFile.open(Bio::FastaFormat, 'filename') flatfile.each do entry puts entry.entry_id puts entry.seq puts entry end

FASTA BioPerl #!/usr/bin/perl use Bio::SeqIO; my $seqio = new Bio::SeqIO(-format => 'fasta', -file => 'filename'); While ( my $entry = $seqio->next_seq ) { print $entry->display_id, " n"; print $entry->seq, " n"; print ">", $entry->desc, " n", $entry->seq, " n"; }

FASTA BioPython #!/usr/bin/python from Bio import Fasta iter = Fasta.Iterator(open('filename'), Fasta.RecordParser()) while 1: entry = iter.next() if not(entry): break print entry.title print entry.sequence print entry

BioRuby Blast local #!/usr/bin/ruby require 'bio' blast = Bio::Blast.local('blastp', 'hoge.pep') flatfile = Bio::FlatFile.open(Bio::FastaFormat, 'queryfile') flatfile.each do seq result = blast.query(seq) result.each do hit puts hit.query_id, hit.target_id, hit.evalue if hit.evalue < 0.05 end end

BioPerl Blast local #!/usr/bin/perl use Bio::SeqIO; use Bio::Tools::Run::StandAloneBlast; use Bio::Tools::BPlite; my @params = ('program' => 'blastp', 'database' => 'hoge.pep'); my $factory = Bio::Tools::Run::StandAloneBlast->new(@params); my $input = Bio::SeqIO->new(-format => 'fasta', -file => "queryfile"); while ( my $seq = $input->next_seq ) { $result = $factory->blastall($seq); while ( my $hit = $result->nextsbjct ) { while ( my $hsp = $hit->nexthsp ) { print $result->query, $hit->name, $hsp->p, " n" if $hsp->p < 0.05; last; } } }

BioPython Blast local #!/usr/bin/python from Bio import Fasta from Bio.Blast import NCBIStandalone iterator = Fasta.Iterator(open("queryfile"), Fasta.RecordParser()) while 1: query = iterator.next() if not(query): break open("query.fst", "w").write(str(query)) out, error = NCBIStandalone.blastall("blastall", "blastp", "hoge.pep", "query.fst") parser = NCBIStandalone.BlastParser() result = parser.parse(out) for alignment in result.alignment: for hsp in alignment.hsps: if hsp.expect < 0.05: print query.title, alignment.title, hsp.expect

SOAP(DAS, XEMBL, ), CORBA HMMER, EMBOSS, ClustalW, T-Coffee PDB PATHWAY, SSDB, KO, GO, InterPro BioFetch Entrez E-utils GFF, AGAVE, GAME

BioRuby.org http://bioruby.org/ http://ura.bioruby.org/ http://q--p.bioruby.org/ ftp://bioruby.org/ cvs.bioruby.org ja@bioruby.org, dev@bioruby.org staff@bioruby.org presentation by T. Katayama <k@bioruby.org>