class Bio::Hinv::HixRepresent

serv = ::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, line 334
def initialize
  @url = BASE_URI + "hix_represent.php"
end

Public Instance Methods

rep_accession_no() click to toggle source
# File lib/bio/io/hinv.rb, line 351
def rep_accession_no
  @xml.elements['//REP-ACCESSION-NO'].text
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, line 346
def result
  @xml.elements['//REP-H-INVITATIONAL-ID'].text
end
Also aliased as: rep_h_invitational_id