Learn R Programming

seqinr (version 4.2-36)

where.is.this.acc: Scans databases for a given sequence accession number

Description

This function loops over all availabale ACNUC databases to look for a given sequence accession number. This is useful when you have a sequence accession number and you don't know in which database it is present.

Usage

where.is.this.acc(acc,  stopAtFirst = TRUE, ...)

Value

The function resturns invisibly a vector of strings of characters for the names of the ACNUC databases in which the accession number was found.

Arguments

acc

An accession number as a string of characters such as "NC_001416".

stopAtFirst

Logical. If TRUE, the default, the function stops at the first database where the accession number is found.

...

Arguments passed to the function choosebank.

Author

J.R. Lobry

References

citation("seqinr")

See Also

choosebank to open a given ACNUC database.

Examples

Run this code
  if (FALSE) # Need internet connection
  where.is.this.acc("NC_001416") # first found in phever2dna bank (2016-06-01)
  

Run the code above in your browser using DataLab