ncbiRelease: NCBI revision history

Description Usage Arguments Details Value Author(s) Examples

Description

Returns the date a sequence was first seen at NCBI using the revision history display.

Usage

1
ncbiRelease(ids, db="nuccore", common=TRUE, random=20)

Arguments

ids

A vector or comma-separated list of sequence accessions or GI numbers

db

Entrez sequence database to search, default nuccore

common

If replaced sequences are found, search for the earliest date in the common revision history

random

The number of replaced sequences to search

Details

Searches the revision history display and parses the line listing the date a sequence was first seen at NCBI. In some cases, a sequence replaces earlier IDs and if the common option is TRUE, the earliest date of the replaced sequences is returned instead. Also, since a sequence accession may replace 500 or more ids, a random sample of the replaced sequences will be checked.

Value

A data frame listing the accession, release date, and whether replaced sequences are found

Author(s)

Chris Stubben

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
#Yersinia pestis - 1 chromosome and 3 plasmids
ncbiRelease("AL590842,AL117189,AL109969,AL117211")
# or skip common revision history
ncbiRelease("AL590842", common=FALSE)

## End(Not run)
# Protein acc
ncbiRelease("CAA21395", db="protein")

cstubben/genomes2 documentation built on May 14, 2019, 12:25 p.m.