Question: Knowledge from Gene
gravatar for BioICoder
9 months ago by
BioICoder30 wrote:

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.

omim python • 303 views
ADD COMMENTlink modified 9 months ago by jared.andrews071.7k • written 9 months ago by BioICoder30
gravatar for jared.andrews07
9 months ago by
St. Louis, MO
jared.andrews071.7k wrote:

MyGene has a pretty good and easy to use python API that yields tons of stuff - database IDs, function, etc. You can iterate through your gene names easily enough in Python to get all the info you'd want for each gene. They also let you try their API online, so you can try that to see if the info you need is available.

ADD COMMENTlink written 9 months ago by jared.andrews071.7k

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!

ADD REPLYlink written 9 months ago by BioICoder30

What info is it missing that you'd want?

ADD REPLYlink written 9 months ago by jared.andrews071.7k

Mood of inheritance and characteristics, and gene function!

ADD REPLYlink written 9 months ago by BioICoder30

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).

ADD REPLYlink modified 9 months ago • written 9 months ago by jared.andrews071.7k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1146 users visited in the last hour