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 collapse

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

#initialize(wsdl = nil) ⇒ HiGet

Returns a new instance of HiGet.



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

#higet_in_fasta(db, entries) ⇒ Object



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

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

#higet_in_xml(db, entries) ⇒ Object



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

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