Class: Bio::Hinv::HitXML

Inherits:
Object show all
Includes:
Common
Defined in:
lib/bio/io/hinv.rb

Overview

serv = Bio::Hinv::HitXML.new serv.query(“hit” => “HIT000000001”) puts serv.result

Instance Method Summary collapse

Methods included from Common

#query

Constructor Details

#initializeHitXML

Returns a new instance of HitXML


261
262
263
# File 'lib/bio/io/hinv.rb', line 261

def initialize
  @url = BASE_URI + "hit_xml.php"
end

Instance Method Details

#resultObject

<?xml version=“1.0” standalone=“yes” ?> <H-Inv>

<cDNAXML>
<CLUSTER-ID>HIX0021591</CLUSTER-ID>
<CLUSTER-ID-VERSION>HIX0021591.11</CLUSTER-ID-VERSION>
<H-INVITATIONAL-ID>HIT000000001</H-INVITATIONAL-ID>
  :
  </PROBE-MAPPING>
 </EXPRESSION>
</cDNAXML>

</H-Inv>


276
277
278
# File 'lib/bio/io/hinv.rb', line 276

def result
  @result
end