Skip to contents

Get protein sequence from UniProt

Usage

uniprot_get(
  accession,
  baseURL = "https://rest.uniprot.org/uniprotkb",
  verbosity = 1
)

Arguments

accession

Character: UniProt Accession number - e.g. "Q9UMX9"

baseURL

Character: UniProt rest API base URL. Default = "https://rest.uniprot.org/uniprotkb"

verbosity

Integer: Verbosity level.

Value

List with three elements: Identifier, Annotation, and Sequence.

Author

E.D. Gennatas

Examples

if (FALSE) { # \dontrun{
mapt <- uniprot_get("Q9UMX9")
} # }