acidgenomes.map_gene_names_to_hgnc¶
- acidgenomes.map_gene_names_to_hgnc(genes: list[str], *, ignore_case: bool = False, hgnc: Hgnc | None = None) list[int]¶
Map human gene names (symbols) to HGNC identifiers.
- Parameters:
ignore_case (bool) – Match case-insensitively.
hgnc (Hgnc or None) – HGNC reference dataset. Downloaded via
make_hgnc()ifNone.
- Returns:
HGNC identifiers, in the same order as
genes.- Return type:
- Raises:
ValueError – If any gene name cannot be matched.