Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to preserve mouse specific genes when downloading it from get_library() #204

Closed
Smilenone opened this issue May 18, 2023 · 3 comments
Closed

Comments

@Smilenone
Copy link

Hi, I am going to use KEGG_2019_Mouse to study mouse related pathways, where I used code:
KEGG_mouse = gp.get_library(name='KEGG_2019_Mouse', organism='mouse')
However, the downloaded genes are Human genes symbols, I had to to use bm.query() in your toturial to convert them to Mouse. In this process, 0~1096 genes in different pathways are dropped. Making a result that in each pathways, the converted version has less genes than the origin one. Does this a true result, or a bad phenomenon because of the ID convertion? Can I download the KEGG_2019_Mouse in the mouse gene symbols directly?

@zqfang
Copy link
Owner

zqfang commented May 19, 2023

You can download the gmt file directly from here: https://maayanlab.cloud/Enrichr/#libraries

Unfortunately, enrichr website use the same gmts for both human and mouse (all upcases)

@Smilenone
Copy link
Author

Smilenone commented May 20, 2023 via email

@zqfang
Copy link
Owner

zqfang commented Sep 9, 2023

v1.0.6 now have the MSIGDB api to download mouse GMT file with gene symbol/entrezid directory. close now

@zqfang zqfang closed this as completed Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants