Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Bio::Hinv::Hit2acc

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

Public Class Methods

new() click to toggle source
# File lib/bio/io/hinv.rb, line 138
def initialize
  @url = BASE_URI + "hit2acc.php"
end

Public Instance Methods

result() click to toggle source

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

<ACCESSION-NO>AK097327</ACCESSION-NO>

</H-Inv>

# File lib/bio/io/hinv.rb, line 146
def result
  @xml.elements['//ACCESSION-NO'].text
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.