Class: Bio::NCBI
- Defined in:
- lib/bio/io/ncbirest.rb,
lib/bio.rb,
lib/bio/io/ncbisoap.rb
Overview
Description
The Bio::NCBI::REST class provides REST client for the NCBI E-Utilities
Entrez utilities index:
Usage
Bio::NCBI::REST.esearch("tardigrada", {"db"=>"nuccore", "rettype"=>"count"})
Bio::NCBI::REST.esearch("tardigrada", {"db"=>"nuccore", "rettype"=>"gb"})
Bio::NCBI::REST.esearch("yeast kinase", {"db"=>"nuccore", "rettype"=>"gb", "retmode"=>"xml", "retmax"=>5})
Bio::NCBI::REST.efetch("185041", {"db"=>"nuccore", "rettype"=>"gb"})
Bio::NCBI::REST.efetch("J00231", {"db"=>"nuccore", "rettype"=>"gb", "retmode"=>"xml"})