class Bio::PSORT::PSORT1::Remote

Bio::PSORT::PSORT1::Remote

PSORT1 specific CGIDriver.

Attributes

origin[RW]

Accessor for Bio::PSORT::PSORT1::Remote#origin to contein target domain. Taget domains:

  1. Gram-positive bacterium

  2. Gram-negative bacterium

  3. yeast

  4. animal

  5. plant

parsing[RW]

Accessor for Bio::PSORT::PSORT1#title to contain the query title.

title[RW]

Accessor for Bio::POSRT::PSORT1#sequence to contein the query sequence.

Public Class Methods

new(host, path = nil, title = 'MYSEQ', origin = 'yeast') click to toggle source

Sets remote “host'' and cgi “path''.

Calls superclass method Bio::PSORT::CGIDriver::new
    # File lib/bio/appl/psort.rb
266 def initialize(host, path = nil, title = 'MYSEQ', origin = 'yeast')
267   @title   = title
268   @origin  = origin
269   @parsing = true
270   super(host, path)
271 end

Private Instance Methods

make_args(query) click to toggle source

Returns parsed CGI argument. An API implementation.

    # File lib/bio/appl/psort.rb
277 def make_args(query)
278   @args.update({'sequence' => query})
279   return args_join(@args)
280 end
parse_report(str) click to toggle source

Returns parsed output report. An API implementation.

    # File lib/bio/appl/psort.rb
285 def parse_report(str)
286   str = erase_html_tags(str)
287   str = Bio::PSORT::PSORT1::Report.parser(str) if @parsing
288   return str
289 end