Skip to contents

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

Usage

formats

Format

An object of class data.frame with 43 rows and 3 columns.

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:

funccharacter, uniprotREST function to be used.
databasecharacter, UniProt database to be queried.
formatcharacter, the different formats available to download i.e. the string you'll use with the uniprotREST function.

See also

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"