Hello everyone,
I have a bunch of gene names (over 80 genes) and my goal is find some knowledge in regards to those genes such as OMIM ID, Mood of Inheritance and their characteristics, gene functions and etc. I could find a number of those knowledge from OMIM but I couldn't find a good tutorial the describe OMIM API well. I preferred doing that using Python language or else is there a tool that can find those knowledge and also allow batch input?
Thank you so much in advance.
Although I couldn't extract all the info I needed but its very helpful and it uses simple python syntax which is also plus, thanks for sharing!
What info is it missing that you'd want?
Mood of inheritance and characteristics, and gene function!
Do you mean mode of inheritance? And which characteristics? For function, you can run the gene ID through uniprot to get a summary of the function. It's the best way to get generalized functions that I've found. This post should should probably get you started, but the uniprot API site will of course also be helpful. This pdf has some commands for python that should also point you in the right direction (particularly the last 2 pages, which show how to get JSON requests from a query). Opening the request in a browser will give you a good idea of how the data will be returned so that you can parse it properly to get the function.
For example, here's the webpage for CDK2. And here's how that info is returned in xml format (but you can change the extension to basically whatever you want to determine how you want to parse it - XML, txt, etc are all valid).