biocontext_kb.core.proteinatlas

biocontext_kb.core.proteinatlas#

Functions#

get_human_protein_atlas_info(gene_id, gene_symbol)

Retrieve Human Protein Atlas information including expression, localization, and pathology data. Provide either gene_id or gene_symbol.

Package Contents#

biocontext_kb.core.proteinatlas.get_human_protein_atlas_info(gene_id, gene_symbol)#

Retrieve Human Protein Atlas information including expression, localization, and pathology data. Provide either gene_id or gene_symbol.

Returns:

Protein atlas data with tissue_expression, subcellular_location, pathology, antibodies, RNA/protein levels or error message.

Return type:

dict

Parameters:
  • gene_id (Annotated[Optional[str], Field(description="Ensembl gene ID (e.g., 'ENSG00000141510')")])

  • gene_symbol (Annotated[Optional[str], Field(description="Gene symbol (e.g., 'TP53')")])