github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bioruby / bioruby

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 87
    • 26
  • Source
  • Commits
  • Network (26)
  • Issues (1)
  • Downloads (28)
  • Wiki (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • biohackathon2008
    • master ✓
  • Tags (28)
    • start
    • snapshot-before-biohackathon2008
    • 1.4.0
    • 1.3.1
    • 1.3.0
    • 1.2.1
    • 1.2.0
    • 1.1.0
    • 1.0.0
    • 0.7.1
    • 0.7.0
    • 0.6.4
    • 0.6.3
    • 0.6.2
    • 0.6.1
    • 0.6.0
    • 0.5.3
    • 0.5.2
    • 0.5.1
    • 0.5.0
    • 0.4.0
    • 0.3.9
    • 0.3.8
    • 0.3.7
    • 0.3.6
    • 0.3.5
    • 0.3.3
    • 0.3
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

bioruby — Read more

  cancel

http://bioruby.open-bio.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added code example that will serve as basis for sequence/codon howto 
jandot (author)
Sun Feb 07 00:58:59 -0800 2010
commit  09047b664a03492d7546d92b619faacee72d0cd5
tree    0c1dc230d665a13c68289f5f1221a21bdc3eb888
parent  c1e2165ba801cccd52135b13ed36713517e1fa8a
bioruby /
name age
history
message
file COPYING Tue Aug 18 05:49:49 -0700 2009 Modified COPYING for BioRuby, following Matz's ... [Naohisa Goto]
file COPYING.ja Tue Aug 18 05:30:28 -0700 2009 License files are added. * License files are ... [Naohisa Goto]
file ChangeLog Mon Dec 28 04:56:33 -0800 2009 BioRuby 1.4.0 is released. [Naohisa Goto]
file GPL Tue Aug 18 05:30:28 -0700 2009 License files are added. * License files are ... [Naohisa Goto]
file KNOWN_ISSUES.rdoc Thu Dec 24 02:22:41 -0800 2009 Issues added and modified. [Naohisa Goto]
file LEGAL Tue Aug 18 05:30:28 -0700 2009 License files are added. * License files are ... [Naohisa Goto]
file LGPL Tue Aug 18 05:30:28 -0700 2009 License files are added. * License files are ... [Naohisa Goto]
file README.rdoc Thu Dec 24 19:29:08 -0800 2009 Changes following the rename to RELEASE_NOTES.r... [Naohisa Goto]
file README_DEV.rdoc Mon Jun 23 12:49:18 -0700 2008 Edited README.rdoc and README_DEV.rdoc to refle... [jandot]
file RELEASE_NOTES.rdoc Mon Dec 28 04:54:44 -0800 2009 Added about ChangeLog which is replaced by git-... [Naohisa Goto]
file Rakefile Tue Mar 17 00:08:35 -0700 2009 Rake::Task#execute now needs to take an argumen... [Naohisa Goto]
directory bin/ Thu Dec 24 02:12:20 -0800 2009 Email address for NCBI Entrez is given with Bio... [Naohisa Goto]
file bioruby.gemspec Tue Jan 05 22:55:59 -0800 2010 Bio::BIORUBY_EXTRA_VERSION is changed to ".5000". [Naohisa Goto]
file bioruby.gemspec.erb Thu Dec 24 19:29:08 -0800 2009 Changes following the rename to RELEASE_NOTES.r... [Naohisa Goto]
directory doc/ Sun Feb 07 00:58:59 -0800 2010 Added code example that will serve as basis for... [jandot]
directory etc/ Wed Feb 19 17:56:02 -0800 2003 * fix in biosql - port was migrated to protocol... [ktym]
file extconf.rb Fri Jun 13 17:37:11 -0700 2003 * added for another installation method [ktym]
directory lib/ Thu Feb 04 19:53:18 -0800 2010 Suppressed "warning: parenthesize argument(s) f... [Naohisa Goto]
file rdoc.zsh Mon Feb 27 05:24:29 -0800 2006 * simple zsh script to generate rdoc [ktym]
directory sample/ Thu Dec 24 02:12:20 -0800 2009 Email address for NCBI Entrez is given with Bio... [Naohisa Goto]
file setup.rb Sat Oct 18 22:06:41 -0700 2008 install.rb is replaced by new setup.rb * inst... [Naohisa Goto]
directory test/ Wed Feb 03 23:58:10 -0800 2010 New unit test for Bio::PAML::Codeml::Report. ... [Naohisa Goto]
README.rdoc

—

README.rdoc - README for BioRuby

Copyright:Copyright (C) 2001-2007 Toshiaki Katayama <k@bioruby.org>, Copyright (C) 2008 Jan Aerts <jandot@bioruby.org>
License:The Ruby License
  • The above statement is limited to this file. See below about BioRuby’s copyright and license.

++

BioRuby

Copyright (C) 2001-2009 Toshiaki Katayama <k@bioruby.org>

BioRuby is an open source Ruby library for developing bioinformatics software. Object oriented scripting language Ruby has many features suitable for bioinformatics research, for example, clear syntax to express complex objects, regular expressions for text handling as powerful as Perl’s, a wide variety of libraries including web service etc. As the syntax of the Ruby language is simple and very clean, we believe that it is easy to learn for beginners, easy to use for biologists, and also powerful enough for the software 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 information you need. Biological sequences can be treated with the fulfilling methods of the Ruby’s String class and with regular expressions. Daily tools like Blast, Fasta, Hmmer and many other software packages for biological analysis can be executed within the BioRuby script, and the results can be fully parsed to extract the portion you need. BioRuby supports major biological database formats and provides many ways for accessing them through flatfile indexing, SQL, web services etc. Various web services including KEGG API can be easily utilized by BioRuby.

FOR MORE INFORMATION

Documents in this distribution

General information

README.rdoc:This file. General information and installation procedure.
RELEASE_NOTES.rdoc:News and important changes in this release.
KNOWN_ISSUES.rdoc:Known issues and bugs in BioRuby.
doc/Changes-1.3.rdoc:News and incompatible changes from 1.2.1 to 1.3.0.
doc/Changes-0.7.rd:News and incompatible changes from 0.6.4 to 1.2.1.

Tutorials and other useful information

doc/Tutorial.rd:BioRuby Tutorial.
doc/Tutorial.rd.html:HTML version of Tutorial.rd.
doc/KEGG_API.rd:Documents about KEGG API, including usage of Bio::KEGG::API.

BioRuby development

ChangeLog:History of changes.
README_DEV.rdoc:Describes ways to contribute to the BioRuby project, including coding styles and documentation guidelines.

Documents written in Japanese

doc/Tutorial.rd.ja:BioRuby Tutorial written in Japanese.
doc/Tutorial.rd.ja.html:HTML version of Tutorial.rd.ja.
doc/KEGG_API.rd.ja:Japanese translation of KEGG_API.rd.

WWW

BioRuby’s official website is at bioruby.org/. You will find links to related resources including downloads, mailing lists, Wiki documentation etc. in the top page.

  • bioruby.org/

WHERE TO OBTAIN

WWW

The stable release is freely available from the BioRuby website.

  • bioruby.org/archive/

RubyGems

RubyGems version of the BioRuby package is also available for easy installation.

  • rubyforge.org/projects/bioruby/

git

If you need the latest development version, this is provided at

  • github.com/bioruby/bioruby

and can be obtained by the following procedure:

  % git clone git://github.com/bioruby/bioruby.git

CVS

CVS is now deprecated as source control has moved to github. Please use git instead of CVS. For historical purposes: the anonymous CVS was provided at

  • cvs.bioruby.org/

and could be obtained by the following procedure.

  % cvs -d :pserver:cvs@code.open-bio.org:/home/repository/bioruby login
  CVS password: cvs (login with a password 'cvs' for the first time)
  % cvs -d :pserver:cvs@code.open-bio.org:/home/repository/bioruby co bioruby

REQUIREMENTS

  • Ruby 1.8.2 or later (except Ruby 1.9.0) — www.ruby-lang.org/
    • Ruby 1.8.7-p174 or later, or Ruby 1.8.6-p383 or later is recommended.
    • Not yet fully ready with Ruby 1.9, although many components can now work in Ruby 1.9.1.

OPTIONAL REQUIREMENTS

Some optional libraries can be utilized to extend BioRuby’s functionality. If your needs meets the following conditions, install them from the "Ruby Application Archive" at raa.ruby-lang.org/, RubyForge at rubyforge.org/, or the following web sites.

For faster parsing of the BLAST XML output format:

  • RAA:xmlparser

Creating faster flatfile index using Berkley DB:

  • RAA:bdb

Accessing BioSQL database created by other Open Bio* libraries:

  • RubyForge:ActiveRecord and at least one driver (or adapter) from RubyForge:MySQL/Ruby, RubyForge:postgres-pr, or RubyForge:ActiveRecord Oracle enhanced adapter.
  • For BioRuby 1.2.1 or older version, RubyForge:Ruby/DBI and at least one driver from MySQL/Ruby, postgres-pr, or RubyForge:ruby-oci8 (note that ruby-oci8 can only work with ruby-dbi 0.2.2).

For parsing PhyloXML format files:

  • RubyForge:libxml-ruby (Ruby language bindings for the GNOME Libxml2 XML toolkit)

INSTALL

In the bioruby source directory (such as bioruby-x.x.x/), run setup.rb as follows:

  % su
  # ruby setup.rb

These simple step installs this program under the default location of Ruby libraries. You can also install files into your favorite directory by supplying setup.rb some options. Try "ruby setup.rb —help".

If your operating system supports ‘sudo’ command (such as Mac OS X), try the following procedure instead of the above.

  % sudo ruby setup.rb

For older version users: "install.rb" is now renamed to "setup.rb". The options "config", "setup", and "install" are still available.

  % ruby setup.rb config
  % ruby setup.rb setup
  % su
  # ruby setup.rb install

You can run tests by

  % ruby setup.rb test

and run

  % ruby setup.rb --help

for more details.

RubyGems

If you are using RubyGems, just type

  % gems install bio

SETUP

If you want to use the OBDA (Open Bio Database Access) to obtain database entries, copy a sample configuration file in the BioRuby distribution

  bioruby-x.x.x/etc/bioinformatics/seqdatabase.ini

to

  /etc/bioinformatics/seqdatabase.ini   (system wide configuration)

or

  ~/.bioinformatics/seqdatabase.ini     (personal configuration)

and change the contents according to your preference. For more information on the OBDA, see obda.open-bio.org/ .

USAGE

You can load all BioRuby classes just by requiring ‘bio.rb’. All the BioRuby classes and modules are located under the module name ‘Bio’ to separate the name space.

  #!/usr/bin/env ruby
  require 'bio'

You can also read other documentation in the ‘doc’ directory.

  bioruby-x.x.x/doc/

RubyGems

With RubyGems, you need to load ‘rubygems’ library before using ‘bio’.

  #!/usr/bin/env ruby
  require 'rubygems'
  require 'bio'

With old version of RubyGems, use ‘require_gem’ which was deprecated in RubyGems 0.9.0 and removed in RubyGems 1.0.1.

  #!/usr/bin/env ruby
  require 'rubygems'
  require_gem 'bio'

LICENSE

BioRuby can be freely distributed under the same terms as Ruby. See the file COPYING (or COPYING.ja written in Japanese).

As written in the file COPYING, see the file LEGAL for files distributed under different license. For example, setup.rb which comes from RAA:setup developed by Minero Aoki (i.loveruby.net/en/projects/setup/) is licensed under LGPL 2.1.

CONTACT

Current staff of the BioRuby project can be reached by sending e-mail to <staff@bioruby.org>.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server