Top Level Namespace
- Includes:
- Bio::Shell
Defined Under Namespace
Modules: Bio, BiorubyHelper Classes: BiorubyController, BiorubyGenerator, Hash, Object, String
Constant Summary collapse
- Seq1 =
">hgoe LTFVENDKII NI "
Constants included from Bio::Shell::Core
Bio::Shell::Core::BIOFLAT, Bio::Shell::Core::CONFIG, Bio::Shell::Core::DATADIR, Bio::Shell::Core::ESC_SEQ, Bio::Shell::Core::HISTORY, Bio::Shell::Core::MARSHAL, Bio::Shell::Core::MESSAGE, Bio::Shell::Core::OBJECT, Bio::Shell::Core::PLUGIN, Bio::Shell::Core::SCRIPT, Bio::Shell::Core::SESSION, Bio::Shell::Core::SHELLDIR
Instance Attribute Summary
Attributes included from Bio::Shell::Ghost
Instance Method Summary collapse
Methods included from Bio::Shell::Ghost
#check_marshal, #close_history, #closing_splash, #config_color, #config_echo, #config_message, #config_pager, #config_show, #config_splash, #configure, #create_flat_dir, #create_real_dir, #create_save_dir, #create_save_dir_ask, #find_flat_dir, #load_config, #load_config_file, #load_history, #load_history_file, #load_object, #load_object_file, #load_plugin, #load_plugin_dir, #load_session, #open_history, #opening_splash, #save_config, #save_config_file, #save_history, #save_history_file, #save_object, #save_object_file, #save_script, #save_script_file, #save_session, #script, #script_begin, #script_end, #splash_message, #splash_message_action, #splash_message_action_color, #splash_message_color, #store_history
Methods included from Bio::Shell::Core
#ask_yes_or_no, #bioflat_dir, #colors, #config_file, #data_dir, #history_file, #object_file, #plugin_dir, #script_dir, #script_file, #session_dir, #shell_dir
Instance Method Details
#hoge(e) ⇒ Object
127 128 129 130 131 132 133 134 135 136 |
# File 'lib/bio/appl/sosui/report.rb', line 127 def hoge(ent) puts '===' puts ent puts '===' sosui = Bio::SOSUI::Report.new(ent) p [:entry_id, sosui.entry_id] p [:prediction, sosui.prediction] p [:tmhs.size, sosui.tmhs] pp [:tmhs, sosui.tmh] end |
#wget(url) ⇒ Object
418 419 420 421 422 423 424 425 426 427 |
# File 'lib/bio/db/go.rb', line 418 def wget(url) if /http:\/\/(.+?)\// =~ url host = $1 path = url[(url.index(host) + host.size)..url.size] else raise ArgumentError, "Invalid URL\n#{url}" end result = Net::HTTP.new(host).get(path).body end |