Sha256: a63d7ce0890c96f697a289f57f0dbf764b3b6692d6a49e660d527f1674a9872f

Contents?: true

Size: 924 Bytes

Versions: 17

Compression:

Stored size: 924 Bytes

Contents

#!/usr/bin/env ruby
#
# = BioRuby shell - command line interface for the BioRuby library
#
# Copyright::   Copyright (C) 2005, 2006, 2007
#               Toshiaki Katayama <k@bioruby.org>
# License::     The Ruby License
#
# $Id: bioruby,v 1.21 2007/07/26 10:46:46 k Exp $
#

begin
  require 'rubygems'
  gem 'bio', '>= 1.1.0'
rescue LoadError
  require 'bio'
end
require 'bio/shell'

# required to run commands (getseq, ls etc.)
include Bio::Shell

# setup command line options, working directory, and irb configurations
Bio::Shell::Setup.new

# loading workspace and command history
Bio::Shell.load_session

# main loop
if Bio::Shell.cache[:rails]
  Bio::Shell.cache[:rails].join
else
  Signal.trap("SIGINT") do
    Bio::Shell.cache[:irb].signal_handle
  end

  catch(:IRB_EXIT) do
    Bio::Shell.cache[:irb].eval_input
  end
end

# saving workspace, command history and configuration before exit
Bio::Shell.save_session

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
bioruby-bio-1.2.9.9001 bin/bioruby
bioruby-bio-1.2.9.9501 bin/bioruby
bioruby-bio-1.3.0.5000 bin/bioruby
bioruby-bio-1.3.0.9901 bin/bioruby
bioruby-bio-1.3.0 bin/bioruby
bioruby-bio-1.3.1.5000 bin/bioruby
jandot-bio-1.2.1 bin/bioruby
ngoto-bio-1.2.9.9001 bin/bioruby
ngoto-bio-1.2.9.9501 bin/bioruby
ngoto-bio-1.3.0.5000 bin/bioruby
ngoto-bio-1.3.0 bin/bioruby
ngoto-bio-1.3.1.5000 bin/bioruby
wwood-bioruby-1.2.11 bin/bioruby
bio-1.3.1 bin/bioruby
bio-1.2.0 bin/bioruby
bio-1.2.1 bin/bioruby
bio-1.3.0 bin/bioruby