getSeqFromUniProt: Retrieve Protein Sequence from the UniProt Database

getSeqFromUniProtR Documentation

Retrieve Protein Sequence from the UniProt Database

Description

Retrieve Protein Sequence from the UniProt Database

Usage

getSeqFromUniProt(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.

Details

This function retrieves protein represented by amino acid sequence from the UniProt database.

Value

A list, each component contains one of the protein represented by amino acid sequence(s).

References

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

UniProt REST API Documentation. https://www.uniprot.org/help/api

See Also

See getFASTAFromUniProt for retrieving protein sequences in FASTA format from the UniProt database.

Examples

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

getSeqFromUniProt(id)

nanxstats/Rcpi documentation built on July 6, 2023, 9:57 a.m.