get.seq {ptm} | R Documentation |
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)
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.
Value
Returns a protein sequence either as a character vector or a as a character string.
Examples
get.seq('P01009')
[Package ptm version 1.0.1 Index]