Class: Bio::HGC::HiGet

Inherits:
SOAPWSDL show all
Defined in:
lib/bio/io/higet.rb

Overview

Description

Interface for the HiGet service provided by Human Genome Center (HGC), Japan. HiGet performs full-text search against various biological databases.

References

Constant Summary

SERVER_URI =
"http://higet.hgc.jp/soap/higet.wsdl"

Instance Attribute Summary

Attributes inherited from SOAPWSDL

#log, #wsdl

Instance Method Summary (collapse)

Methods inherited from SOAPWSDL

#list_methods

Constructor Details

- (HiGet) initialize(wsdl = nil)



27
28
29
# File 'lib/bio/io/higet.rb', line 27

def initialize(wsdl = nil)
  super(wsdl || SERVER_URI)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Bio::SOAPWSDL

Instance Method Details

- (Object) higet_in_fasta(db, entries)



31
32
33
# File 'lib/bio/io/higet.rb', line 31

def higet_in_fasta(db, entries)
  self.higet(db, entries, "-d fasta")
end

- (Object) higet_in_xml(db, entries)



35
36
37
# File 'lib/bio/io/higet.rb', line 35

def higet_in_xml(db, entries)
  self.higet(db, entries, "-d xml")
end