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.



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

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>



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

def result
  @result
end