class Bio::Hinv::HixRepresent

serv = Bio::Hinv::HixRepresent.new serv.query(“hix” => “HIX0000001”) puts serv.result puts serv.rep_h_invitational_id puts serv.rep_accession_no

Public Class Methods

new() click to toggle source
    # File lib/bio/io/hinv.rb
334 def initialize
335   @url = BASE_URI + "hix_represent.php"
336 end

Public Instance Methods

rep_accession_no() click to toggle source
    # File lib/bio/io/hinv.rb
351 def rep_accession_no
352   @xml.elements['//REP-ACCESSION-NO'].text
353 end
rep_h_invitational_id()
Alias for: result
result() click to toggle source

<?xml version='1.0' encoding='UTF-8'?> <H-Inv>

<LOCUS>
 <CLUSTER-ID>HIX0000001</CLUSTER-ID>
 <REP-H-INVITATIONAL-ID>HIT000022181</REP-H-INVITATIONAL-ID>
 <REP-ACCESSION-NO>AK097327</REP-ACCESSION-NO>
</LOCUS>

</H-Inv>

    # File lib/bio/io/hinv.rb
346 def result
347   @xml.elements['//REP-H-INVITATIONAL-ID'].text
348 end
Also aliased as: rep_h_invitational_id