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 |
A length of id
character list, each element
containing the corresponding protein sequence(s) or file(s).
This function retrieves protein sequence in various formats from three databases.
See getDrug
for retrieving drug molecules
from five databases.
# NOT RUN { id = c('P00750', 'P00751', 'P00752') # }# NOT RUN { getProt(id, from = 'uniprot', type = 'aaseq') # }