import mygene mg = mygene.MyGeneInfo() xli = ['DDX26B', 'CCDC83', 'MAST3', 'FLOT1', 'RPL11', 'ZDHHC20', 'LUC7L3', 'SNORD49A', 'CTSH', 'ACOT8'] out = mg.querymany(xli, scopes='symbol', fields='entrezgene', species='human') out mg.querymany(xli, scopes='symbol', fields='ensembl.gene', species='human') xli = ['DDX26B', 'CCDC83', 'MAST3', 'FLOT1', 'RPL11', 'Gm10494'] mg.querymany(xli, scopes='symbol', fields='entrezgene', species='human') xli = ['DDX26B', 'CCDC83', 'MAST3', 'FLOT1', 'RPL11', 'Gm10494', '1007_s_at', 'AK125780'] mg.querymany(xli, scopes='symbol,reporter,accession', fields='entrezgene,uniprot', species='human') mg.querymany(xli, scopes='symbol,reporter,accession', fields='entrezgene,uniprot', species='human', returnall=True)