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

KNOB? KNOB KNOB

BioRuby の使い方

KNOB Bio KNOPPIX

スライド 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-

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

untitled

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

csj-report.pdf

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

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

(タイトル未定)

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

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


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

listings-ext

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

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


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

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

AJACS18_ ppt

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

haskell.gby

help gem gem gem my help

untitled

untitled

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



WLX202 操作マニュアル

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

untitled


広報しもつけp01ol

ONPRESS190


プリント

r1.dvi

Emacs Ruby..


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

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²ó

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>