/usr/bin/bioruby is in ruby-bio 1.5.0-2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 | #!/usr/bin/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:$
#
require 'bio'
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
# sets default email address for Entrez eUtils.
Bio::NCBI.default_email ||= 'staff@bioruby.org'
# 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
|