Skip to contents

This function retrieves protein sequences from uniprot.org by protein ID(s).

Usage

getUniProt(id)

Arguments

id

A character vector, as the protein ID(s).

Value

A list, each component contains one protein sequence.

See also

See readFASTA for reading FASTA format files.

Author

Nan Xiao <https://nanx.me>

Examples

if (FALSE) { # \dontrun{
# Network latency may slow down this example
# Only test this when your connection is fast enough
ids <- c("P00750", "P00751", "P00752")
getUniProt(ids)
} # }