Skip to contents

From the EBI Proteins API, which is a different host to uniprot_diseases().

Usage

uniprot_features(accession, types = UNIPROT_FEATURE_TYPES, ...)

Arguments

accession

A UniProt accession.

types

Feature types to request. Defaults to the set worth showing when placing a variant in a protein's architecture.

...

Passed to biohttp::get_json(), for example throttle.

Value

A biohttp envelope whose data is the tibble described in uniprot_parse_features().

References

Nightingale et al. (2017). The Proteins API: accessing key integrated protein and genome information. Nucleic Acids Research 45(W1), W539-W544. doi:10.1093/nar/gkx237

The data it serves is UniProt's. The UniProt Consortium (2025). UniProt: the Universal Protein Knowledgebase in 2025. Nucleic Acids Research 53(D1), D609-D617. doi:10.1093/nar/gkae1010

Service documentation: https://www.ebi.ac.uk/proteins/api/doc/

Examples

# \donttest{
biohttp::body_or_null(uniprot_features("P15056"))
#> # A tibble: 18 × 5
#>    type     label        description                                 begin   end
#>    <chr>    <chr>        <chr>                                       <int> <int>
#>  1 REGION   Region       "Disordered"                                    1    38
#>  2 DOMAIN   Domain       "RBD"                                         155   227
#>  3 ZN_FING  Zinc finger  "Phorbol-ester/DAG-type"                      234   280
#>  4 BINDING  Binding site ""                                            235   235
#>  5 BINDING  Binding site ""                                            248   248
#>  6 BINDING  Binding site ""                                            251   251
#>  7 BINDING  Binding site ""                                            261   261
#>  8 BINDING  Binding site ""                                            264   264
#>  9 BINDING  Binding site ""                                            269   269
#> 10 BINDING  Binding site ""                                            272   272
#> 11 BINDING  Binding site ""                                            280   280
#> 12 REGION   Region       "Disordered"                                  308   454
#> 13 SITE     Site         "Breakpoint for translocation to form KIAA…   380   381
#> 14 SITE     Site         "Breakpoint for translocation to form KIAA…   438   439
#> 15 DOMAIN   Domain       "Protein kinase"                              457   717
#> 16 BINDING  Binding site ""                                            463   471
#> 17 BINDING  Binding site ""                                            483   483
#> 18 ACT_SITE Active site  "Proton acceptor"                             576   576
# }