Total number of records from the input set to be retrieved, up to a maximum of 10,000. Optionally, for a large set the value of retstartcan be iterated while holding retmax constant, thereby downloading the entire set in batches of size retmax.
Optional Parameters – Sequence Databases
strand
Strand of DNA to retrieve. Available values are "1" for the plus strand and "2" for the minus strand. seq_start
First sequence base to retrieve. The value should be the integer coordinate of the first desired base, with "1" representing the first base of the seqence.
seq_stop
Last sequence base to retrieve. The value should be the integer coordinate of the last desired base, with "1" representing the first base of the seqence.
complexity
Data content to return. Many sequence records are part of a larger data structure or "blob", and
the complexity parameter determines how much of that blob to return. For example, an mRNA may be stored together with its protein product. The available values are as follows:
Examples
PubMed
Fetch PMIDs 17284678 and 9997 as text abstracts:
Fetch PMIDs in XML: