Skip to contents

Pure. Sorted by start position.

Usage

uniprot_parse_features(body)

Arguments

body

A parsed EBI Proteins features response.

Value

A tibble of type, label, description, begin, and end. A zero-row tibble when the entry has no features of the requested types, because "this protein has no annotated domains" is a real answer.

Examples

body <- list(features = list(
  list(type = "DOMAIN", description = "Protein kinase", begin = "457", end = "717")
))
uniprot_parse_features(body)
#> # A tibble: 1 × 5
#>   type   label  description    begin   end
#>   <chr>  <chr>  <chr>          <int> <int>
#> 1 DOMAIN Domain Protein kinase   457   717