/
README
131 lines (82 loc) · 3.83 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
= BioRuby
BioRuby project aims to implement integrated environment for Bioinformatics.
Object oriented scripting language Ruby has many good points suitable for
bioinfomatics research. Powerful regular expressions like Perl, purely
object oriented, simple and very clean syntax -- easy to learn for beginners,
easy to use for biologists, powerful enough for developers.
In BioRuby, you can retrieve biological database entries from flat files,
internet web servers and local relational databases. These database entries
can be parsed to extract any information you need. Biological sequences are
treated with Ruby's powerful string methods and regular expressions. Daily
tools like Blast, Fasta and Hmmer programs can be executed and the results
are fully parsed to extract scores and/or alignments. BioRuby also supports
some databases and web services developed in Japan such as KEGG, AAindex,
and DBGET etc.
== WHERE TO GET
* WWW -- ((<URL:http://bioruby.org/>))
http://bioruby.org/archive/
* CVS -- ((<URL:http://cvs.bioruby.org/>))
% cvs -d :pserver:anonymous@cvs.bioruby.org:/export/cvs login
CVS password: (no password is required, just push return)
% cvs -d :pserver:anonymous@cvs.bioruby.org:/export/cvs co bioruby
== REQUIREMENTS
* Ruby 1.6.6 or newer -- ((<URL:http://www.ruby-lang.org/>))
== OPTIONAL REQUIREMENTS
* Ruby library -- ((<URL:http://raa.ruby-lang.org/>))
* [RAA:strscan] for parsing Blast default output.
* [RAA:rexml] for parsing Blast XML output and using DAS.
* [RAA:xmlparser] can be used for faster Blast XML parsing.
* [RAA:ruby-dbi] and at least one driver from [RAA:mysql-ruby],
[RAA:postgres], [RAA:oracle] to use with BioSQL.
* [RAA:bdb] for faster flat file indexing.
* [RAA:pp] for pretty print in debug.
* [RAA:soap4r] (version >= 1.4.8.1) for KEGG API. Note that libraries
which SOAP4R depends such as [RAA:date2], [RAA:devel-logger],
[RAA:http-access] (version >= j) with one of [RAA:xmlscan], [RAA:rexml],
[RAA:rexml-stable], [RAA:xmlparser], [RAA:nqxml] are also needed.
Note that 'strscan', 'rexml', 'pp', 'date2' and 'xmlscan' are
included in the Ruby 1.8.0 distibution (you don't need to install
them by yourself).
* External applications can be used if installed
* Blast (version >= 2.2.5) for blast execution on local computer
* FASTA for fasta, ssearch execution on local computer
* HMMER for hmmsearch, hmmpfam execution on local computer
== INSTALL
In the bioruby source directory (such as bioruby-x.x.x/), run install.rb
as follows:
% ruby install.rb config
% ruby install.rb setup
% su
# ruby install.rb install
If you are using Mac OS X, you should use 'sudo' command instead of 'su'.
% ruby install.rb config
% ruby install.rb setup
% sudo ruby install.rb install
You can try
% ruby install.rb --help
for more details.
If you want to use the OBDA (Open Bio Database Access) to obtain database
entries, copy a sample config file
etc/bioinformatics/seqdatabase.ini
to
/etc/bioinformatics/seqdatabase.ini (system wide configuration)
or
~/.bioinformatics/seqdatabase.ini (personal configuration)
and chage the contens according to your preference. For more
informations on the OBDA, see ((<URL:http://obda.open-bio.org/>)).
== USAGE
You can load all BioRuby classes just by require 'bio' and all the
BioRuby classes are defined under the module Bio for the name space.
See the documentation for each class.
#!/usr/bin/env ruby
require 'bio'
== LICENCE
GPL for applications, LGPL for libraries. Note that, install.rb
included in the BioRuby package comes from [RAA:setup] by Minero Aoki.
== AUTHORS
* KATAYAMA Toshiaki <k@bioruby.org>, project leader
* Yoshinori K. Okuji <okuji@enbug.org>
* Mitsuteru C. Nakao <n@bioruby.org>
* KAWASHIMA Shuichi <s@bioruby.org>
* GOTO Naohisa <ng@bioruby.org>
* and many others on the Internet...