Class: Bio::PSORT::PSORT1::Remote

Inherits:
CGIDriver show all
Defined in:
lib/bio/appl/psort.rb

Overview

Bio::PSORT::PSORT1::Remote

PSORT1 specific CGIDriver.

Instance Attribute Summary collapse

Attributes inherited from CGIDriver

#args, #report

Instance Method Summary collapse

Methods inherited from CGIDriver

#exec

Constructor Details

#initialize(host, path = nil, title = 'MYSEQ', origin = 'yeast') ⇒ Remote

Sets remote “host” and cgi “path”.



266
267
268
269
270
271
# File 'lib/bio/appl/psort.rb', line 266

def initialize(host, path = nil, title = 'MYSEQ', origin = 'yeast')
  @title   = title
  @origin  = origin
  @parsing = true
  super(host, path)
end

Instance Attribute Details

#originObject

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



257
258
259
# File 'lib/bio/appl/psort.rb', line 257

def origin
  @origin
end

#parsingObject

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



263
264
265
# File 'lib/bio/appl/psort.rb', line 263

def parsing
  @parsing
end

#titleObject

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



260
261
262
# File 'lib/bio/appl/psort.rb', line 260

def title
  @title
end