Learn R Programming

genomes (version 2.16.0)

ncbiSubmit: NCBI submission dates

Description

Returns the date a sequence was submitted to NCBI using the Direct Submission line in the GenBank file

Usage

ncbiSubmit(term, db = "nuccore")

Arguments

term
Any valid combination of Entrez search terms or a vector of accessions numbers
db
Entrez sequence database to search, default nuccore

Value

Details

Searches an Entrez sequence database, downloads GenBank files and parses the JOURNAL line containing a submitted date, for example, JOURNAL Submitted (03-SEP-1999) ....

See Also

ncbiRelease

Examples

Run this code

## 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)

Run the code above in your browser using DataLab