acidgenomes.make_protein_to_gene_from_ensembl¶
- acidgenomes.make_protein_to_gene_from_ensembl(protein_ids: list[str], *, batch_size: int = 1000) ProteinToGene¶
Map Ensembl protein IDs (ENSP) to gene IDs and gene names.
Uses the Ensembl REST API
/lookup/idendpoint with POST requests to batch-resolve protein identifiers.- Parameters:
- Returns:
DataFrame with columns
protein_id,gene_id,gene_name.- Return type: