Fetch protein data from UniProt
Fetches protein metadata from UniProt.
fetch_uniprot( uniprot_ids, columns = c("protein names", "length", "sequence", "genes", "database(GeneID)", "database(String)", "go(molecular function)", "go(biological process)", "go(cellular compartment)", "interactor", "feature(ACTIVE SITE)", "feature(BINDING SITE)", "feature(METAL BINDING)", "chebi(Cofactor)", "chebi(Catalytic activity)", "database(PDB)"), batchsize = 200, show_progress = TRUE )
uniprot_ids |
A character vector of UniProt accession numbers |
columns |
Metadata columns that should be imported from UniProt (all possible columns can be found here.) |
batchsize |
Size of batch of proteins for a single query |
show_progress |
Logical, if true, a progress bar will be shown |
A data frame that contains all protein metadata specified in columns
for the proteins provided. If an invalid ID
was provided that contains a valid UniProt ID, the valid portion of the ID is fetched and the invalid input ID is saved in a
column called input_id
.
fetch_uniprot(c("P36578", "O43324", "Q00796"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.