getProt {Rcpi} | R Documentation |
Retrieve Protein Sequence in various Formats from Databases
getProt(id, from = c("uniprot", "kegg", "pdb"), type = c("fasta", "pdb", "aaseq"), parallel = 5)
id |
A character vector, as the protein ID(s). |
from |
The database, one of |
type |
The returned protein format, one of |
parallel |
An integer, the parallel parameter, indicates how many
process the user would like to use for retrieving
the data (using RCurl), default is |
This function retrieves protein sequence in various formats from three databases.
A length of id
character list, each element
containing the corresponding protein sequence(s) or file(s).
Nan Xiao <https://nanx.me>
See getDrug
for retrieving drug molecules
from five databases.
id = c('P00750', 'P00751', 'P00752') getProt(id, from = 'uniprot', type = 'aaseq')