Using this function, you can search and retrieve Natural variant(s) that has been annotated in the protein's sequences. You may also refine your search with modifiers such as source type, disease etc. See "Arguments section" for more information.
rba_uniprot_variation_search(
accession = NULL,
source_type = NULL,
consequence_type = NULL,
wild_type = NULL,
alternative_sequence = NULL,
location = NULL,
disease = NULL,
omim = NULL,
evidence = NULL,
taxid = NULL,
db_type = NULL,
db_id = NULL,
save_peff = FALSE,
...
)
List where each element corresponds to one UniProt entity returned by your search query. The element itself is a sub-list containing all information that UniProt has about that Variation.
UniProtKB primary or secondary accession(s). You can supply up to 100 accession numbers.
Variation's source type. You can choose up to two of: "UniProt", "large scale study" and/or "mixed".
Variation's consequence type. You can choose up to two of: "missense", "stop gained" or "stop lost".
Wild type amino acid. Accepted values are IUPAC single-letter amino acid (e.g. D for Aspartic acid) and "*" for stop codon. You can supply up to 20 values.
Alternative amino acid. Accepted values are IUPAC single-letter amino acid (e.g. D for Aspartic acid) and "*" for stop codon and "-" for deletion. You can supply up to 20 values.
A valid amino acid range (e.g. 10-25) within the sequence range where the variation occurs. You can supply up to 20 values.
Human disease that are associated with a sequence variation. Accepted values are disease name (e.g. Alzheimer disease 18), partial disease name (Alzheimer) and/or disease acronym (e.g. AD). You can supply up to 20 values.
OMIM ID that is associated with a variation. You can supply up to 20 values.
Pubmed ID of the variation's citation You can supply up to 20 values.
NIH-NCBI Taxon ID. You can supply up to 20 taxon IDs.
cross-reference database of the variation. You can supply up to two of the following:
"dbSNP": NIH-NCBI dbSNP database.
"cosmic curate": COSMIC (the Catalogue of Somatic Mutations in Cancer)
"ClinVar": NIH-NCBI ClinVar
The variation ID in a Cross-reference (external) database. You can supply up to 20 values.
Logical or Character:
FALSE: (default) Do not save PEFF file, just return as a list object.
TRUE: Save as PEFF file to an automatically-generated path.
Character string: A valid file path to save the PEFF file.
rbioapi option(s). See rba_options
's
arguments manual for more information on available options.
"GET https://www.ebi.ac.uk/proteins/api/variation"
Note that this is a search function. Thus, you are not required to fill every argument; You may use whatever combinations of arguments you see fit for your query.
The UniProt Consortium , UniProt: the Universal Protein Knowledgebase in 2025, Nucleic Acids Research, 2024;, gkae1010, https://doi.org/10.1093/nar/gkae1010
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
Other "UniProt - Variation":
rba_uniprot_variation()
# \donttest{
rba_uniprot_variation_search(accession = "P05067")
# }
# \donttest{
rba_uniprot_variation_search(disease = "alzheimer disease, 18")
# }
# \donttest{
rba_uniprot_variation_search(disease = "alzheimer",
wild_type = "A", alternative_sequence = "T")
# }
Run the code above in your browser using DataLab