Returns the date a sequence was submitted to NCBI using the Direct Submission line in the GenBank file
ncbiSubmit(term, db = "nuccore")
Any valid combination of Entrez search terms or a vector of accessions numbers
Entrez sequence database to search, default nuccore
Searches an Entrez sequence database, downloads GenBank files and parses the
JOURNAL line containing a submitted date, for example,
JOURNAL Submitted (03-SEP-1999) ....
a data.frame with accession, definition, and submitted date
If more than two submitted dates are found, then the earliest date is returned. This script uses E-fetch, so retrievals to the genome and other database will not work.
1 2 3 4 5 6 7 8 9 10 11
## Not run: #Yersinia pestis reference sequences ncbiSubmit("Yersinia pestis CO92[ORGN] AND refseq[FILTER]") # Ebola virus - no patents or references ebola<- ncbiSubmit("Ebolavirus[ORGN] NOT gbdiv_pat[PROP] NOT refseq[FILTER]") head(ebola) # a few early submissions may be missing subset(ebola, is.na(submitted)) table(year(ebola$submit)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.