get.seq: Import a Protein Sequence from a Database
Description
Imports a protein sequence from a selected database.
Usage
get.seq(id, db = 'uniprot', as.string = TRUE)
Value
Returns a protein sequence either as a character vector or a as a character string.
Arguments
- id
the identifier of the protein of interest.
- db
a character string specifying the desired database; it must be one of 'uniprot' or 'metosite'.
- as.string
logical, if TRUE the imported sequence will be returned as a character string.
Details
MetOSite uses the same type of protein ID than UniProt.