Learn R Programming

Rcpi (version 1.8.0)

getFASTAFromUniProt: Retrieve Protein Sequence in FASTA Format from the UniProt Database

Description

Retrieve Protein Sequence in FASTA Format from the UniProt Database

Usage

getFASTAFromUniProt(id, parallel = 5)

Arguments

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 5. For regular cases, we recommend a number less than 20.

Value

A list, each component contains one of the protein sequences in FASTA format.

Details

This function retrieves protein sequences in FASTA format from the UniProt database.

References

UniProt. http://www.uniprot.org/

UniProt REST API Documentation. http://www.uniprot.org/faq/28

See Also

See getSeqFromUniProt for retrieving protein represented by amino acid sequence from the UniProt database. See readFASTA for reading FASTA format files.

Examples

Run this code

id = c('P00750', 'P00751', 'P00752')
getFASTAFromUniProt(id)

Run the code above in your browser using DataLab