This dataframe contains the available download file types i.e.
values for format
for each UniProt database.
See Examples below for how to use this object
Source
UniProtKB download formats have been determined by hand by querying
each REST API database with an unavailable format (usually txt
) and
determining the allowed formats from the resulting error response.
Details
Columns:
func | character , uniprotREST function to be used. |
database | character , UniProt database to be queried. |
format | character , the different formats available to download
i.e. the string you'll use with the uniprotREST function. |
Examples
# What UniProt databases are available to query?
levels(formats$database)[1:12]
#> [1] "uniprotkb" "uniref" "uniparc" "proteomes" "taxonomy" "keywords"
#> [7] "citations" "diseases" "database" "locations" "unirule" "arba"
# What formats are available for querying the `proteomes` database,
# using `uniprot_search()`
formats[formats$database == "proteomes" & formats$func == "search", "format"]
#> [1] "tsv"