rotifer.db.uniprot.webapi.idmapping.genbank_to_uniprot#

rotifer.db.uniprot.webapi.idmapping.genbank_to_uniprot(from_db='EMBL-GenBank-DDBJ_CDS', to_db='UniProtKB', ids=['BAE76179.1'])[source]#

Map protein accessions to UniProt entries and their PDB/AlphaFold cross-references.

Submits an ID mapping job, waits for it to finish and returns the accession, xref_pdb and xref_alphafolddb fields for each mapped identifier.

Parameters:
from_dbstr, default ‘EMBL-GenBank-DDBJ_CDS’

Source database name, as accepted by UniProt’s ID mapping API.

to_dbstr, default ‘UniProtKB’

Target database name.

idslist of str

Identifiers to map.

Returns:
pandas.DataFrame

One row per mapped identifier.