tooluniverse.tools.Ensembl_lookup_gene_by_symbol module

Ensembl_lookup_gene_by_symbol

Look up Ensembl gene IDs for a gene symbol across external databases. Given a gene symbol (e.g., …

tooluniverse.tools.Ensembl_lookup_gene_by_symbol.Ensembl_lookup_gene_by_symbol(symbol, species=None, external_db=None, *, stream_callback=None, use_cache=False, validate=True)[source]

Look up Ensembl gene IDs for a gene symbol across external databases. Given a gene symbol (e.g., …

Parameters:
  • symbol (str) – Gene symbol to look up. Examples: ‘TP53’, ‘BRCA1’, ‘EGFR’, ‘BRAF’, ‘KRAS’.

  • species (str) – Species name. Default: ‘human’. Examples: ‘human’, ‘mouse’, ‘rat’, ‘zebrafish’.

  • external_db (str | Any) – Optional: filter by external database. Examples: ‘HGNC’, ‘EntrezGene’.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any