Learn R Programming

signalHsmm (version 1.5)

read_uniprot: Read data from UniProt database

Description

Read data saved in UniProt original flat text format.

Usage

read_uniprot(connection, ft_names, kwds = NULL)

Arguments

connection

a connection to UniProt data in text format.

ft_names

a character vector of UuniProt features to be extracted, for example "signal", "transit", "propep". The case is not matched.

kwds

a NULL or character vector of keywords (not UniProt keywords, but words of interest, that may occur in the protein description).

Value

a list of sequences. Each element has a class SeqFastaAA. Attributes OS and OC represents respectively OS and OC fields in the protein description. A value of each feature is preserved as an attribute named after the feature.