besca.convert_symbol_to_ensembl

besca.convert_symbol_to_ensembl(gene_list, species='human')[source]

Convert SYMBOLS to ENSEMBL gene ids Uses the python package mygene to look up the supplied list of SYMBOLS and return the equivalent list of ENSEMBLE GENEIDs. Species needs to be supplied.

Note: this can result in an error when non-unqiue Symbols are supplied.

Parameters:
  • gene_list (list) – list of ensemble_Ids that need to be converted

  • species (str | default = ‘human’) – string identifying the species of the supplied Ensemble IDs

Returns:

List containing the converted ENSEMBLE gene ids

Return type:

list