R/201-getProtUniProt.R
getFASTAFromUniProt.Rd
Retrieve Protein Sequence in FASTA Format from the UniProt Database
getFASTAFromUniProt(id, parallel = 5)
id | A character vector, as the protein ID. |
---|---|
parallel | An integer, the parallel parameter, indicates how many
process the user would like to use for retrieving
the data (using RCurl), default is |
A list, each component contains one of the protein sequences in FASTA format.
This function retrieves protein sequences in FASTA format from the UniProt database.
UniProt. https://www.uniprot.org/
UniProt REST API Documentation. https://www.uniprot.org/faq/28
See getSeqFromUniProt
for retrieving protein
represented by amino acid sequence from the UniProt database.
See readFASTA
for reading FASTA format files.
# NOT RUN { id = c('P00750', 'P00751', 'P00752') # }# NOT RUN { getFASTAFromUniProt(id) # }