Skip to contents

Use this function to retrieve a UniProt Entry by it's UniProt accession. You can also use "isoform" or "interaction" arguments to retrieve isoforms or interactor proteins of that entry. Note that in one function call you can only set none or only one of "isoform" or "interaction" as TRUE, not both of them.

Usage

rba_uniprot_proteins(accession, interaction = FALSE, isoforms = FALSE, ...)

Arguments

accession

UniProtKB primary or secondary accession.

interaction

Logical: (default = FALSE) Only retrieve interaction information of your supplied UniProt entity?

isoforms

Logical: (default = FALSE) Only retrieve isoforms of your supplied UniProt entity?

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list that contains UniProt protein informations with your supplied accession.

Corresponding API Resources

"GET https://ebi.ac.uk/proteins/api/proteins/{accession}"
"GET https://ebi.ac.uk/proteins/api/proteins/interaction/{accession}"
"GET https://ebi.ac.uk/proteins/api/proteins/{accession}/isoforms"

References

  • The UniProt Consortium, UniProt: the universal protein knowledgebase in 2021, Nucleic Acids Research, Volume 49, Issue D1, 8 January 2021, Pages D480–D489, https://doi.org/10.1093/nar/gkaa1100

  • Andrew Nightingale, Ricardo Antunes, Emanuele Alpi, Borisas Bursteinas, Leonardo Gonzales, Wudong Liu, Jie Luo, Guoying Qi, Edd Turner, Maria Martin, The Proteins API: accessing key integrated protein and genome information, Nucleic Acids Research, Volume 45, Issue W1, 3 July 2017, Pages W539–W544, https://doi.org/10.1093/nar/gkx237

  • Proteins API Documentation

  • Citations note on UniProt website

See also

Examples

# \donttest{
rba_uniprot_proteins(accession = "P01730")
# }
# \donttest{
rba_uniprot_proteins(accession = "P01730", interaction = TRUE)
# }
# \donttest{
rba_uniprot_proteins(accession = "Q29983", isoforms = TRUE)
# }