# # = sample/demo_targetp_report.rb - demonstration of Bio::TargetP::Report # # Copyright:: Copyright (C) 2003 # Mitsuteru C. Nakao # License:: The Ruby License # # # == Description # # Demonstration of Bio::TargetP::Report, TargetP output parser. # # == Usage # # Usage 1: Without arguments, runs demo using preset example data. # # $ ruby demo_targetp_report.rb # # Usage 2: Specify files containing TargetP reports. # # $ ruby demo_targetp_report.rb files... # # == References # # * http://www.cbs.dtu.dk/services/TargetP/ # # == Development information # # The code was moved from lib/bio/appl/targetp/report.rb, and modified # as below: # * Disables internal sample data when arguments are specified. # * Method name is changed. # require 'bio' begin require 'pp' alias p pp rescue LoadError end plant = <