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

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Retrieve Protein Sequence in FASTA Format from the UniProt Database

Usage

1

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.

Details

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

Value

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

Author(s)

Nan Xiao <https://nanx.me>

References

UniProt. https://www.uniprot.org/

UniProt REST API Documentation. https://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

1
2
3
id = c('P00750', 'P00751', 'P00752')

getFASTAFromUniProt(id)

Example output

OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed
[1] "" "" ""
Warning message:
system call failed: Cannot allocate memory 

Rcpi documentation built on Nov. 8, 2020, 8:23 p.m.