Using this function you can retrieve genomic Coordinates of a Protein by either providing the protein's UniProt accession or it's ID in a cross-reference database (Ensembl, CCDC, HGNC or RefSeq). You should supply either 'accession' alone or 'db_type' and 'db_id' together.

rba_uniprot_coordinates(accession = NULL, db_type = NULL, db_id = NULL, ...)



UniProtKB primary or secondary accession.


cross-reference database name, Should be one of: "Ensembl", "CCDC", "HGNC" or "RefSeq".


Protein's ID in the cross-reference database


rbioapi option(s). See rba_options's arguments manual for more information on available options.


A list with genome coordinates of your supplied protein.


For more information about how UniProt imports and calculates genomic coordinates data, see:
McGarvey, P. B., Nightingale, A., Luo, J., Huang, H., Martin, M. J., Wu, C., & UniProt Consortium (2019). UniProt genomic mapping for deciphering functional effects of missense variants. Human mutation, 40(6), 694–705.

Corresponding API Resources



  • Andrew Nightingale, Ricardo Antunes, Emanuele Alpi, Borisas Bursteinas, Leonardo Gonzales, Wudong Liu, Jie Luo, Guoying Qi, Edd Turner, Maria Martin, The Proteins API: accessing key integrated protein and genome information, Nucleic Acids Research, Volume 45, Issue W1, 3 July 2017, Pages W539–W544,

  • Proteins API Documentation

See also


# \donttest{
rba_uniprot_coordinates(accession = "P25942")
# }
# \donttest{
rba_uniprot_coordinates(db_type = "HGNC", db_id = "CD40")
# }