Bio::Hinv.hit2acc(“HIT000022181”) # => “AK097327”
42 43 44 45 46
# File 'lib/bio/io/hinv.rb', line 42 def self.hit2acc(hit) serv = Hit2acc.new serv.query("hit" => hit) serv.result end