Description Usage Arguments Details Value Examples
efetch.batch retrieves large data sets from NCBI in batches.
| 1 2 3 | 
| id | (Required)
List of UIDs provided (via the Entrez History server) by an
 | 
| chunk_size | Number of records downloaded as a batch (default: 200; maximum: 500). | 
| rettype | A character string specifying the record view returned, such as 'abstract' or 'medline' from PubMed, or 'gp' or 'fasta' from protein. See here for allowed values for each database. | 
| retmode | A character string specifying the data format of the records returned, such as plain text, XML, or asn.1. See here for allowed values for each database. | 
| retmax | Total number of records from the input set to be retrieved. | 
| strand | Strand of DNA to retrieve. (1: plus strand, 2: minus strand) | 
| seq_start | First sequence base to retrieve. | 
| seq_stop | Last sequence base to retrieve. | 
| complexity | Data content to return. (0: entire data structure, 1: bioseq, 2: minimal bioseq-set, 3: minimal nuc-prot, 4: minimal pub-set) | 
See the official online documentation for NCBI's EUtilities for additional information.
An efetch object.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Download a large set of records (>500)
# Download all human ncRNAs in FASTA format
query <- "human[orgn] and biomol ncrna[prop]"
# Let's check how many there are
esearch(query, "nucleotide", rettype="count")
# upload the GIs to the history server
ncrna <- esearch(query, "nucleotide", usehistory=TRUE)
ncrna
## Not run
## download ncRNAs in batch mode
# fasta <- efetch.batch(id=ncrna, chunk_size=200, rettype="fasta")
# write(fasta, "~/human_small_nuclear_rna.fasta")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.