What Is The Best Way To Interact Programmatically With Omim?
3
4
Entering edit mode
14.1 years ago
Nico Adams ▴ 460

Dear All,

I am currently developing an ontology for a particular type of Mendelian Disease and I would like to map the terms in my ontology to corresponding OMIM terms. The first step of doing this would be to get hold of OMIM terms. What is the best way to go about this in your experience?

I can, of course, always download and parse the flat text file, but was wondering whether anybody knows of a better way!

Thanks for your help!

• 5.0k views
ADD COMMENT
3
Entering edit mode
14.1 years ago

You can search for an OMIM record using NCBI-ESearch and retrieve a structured/XML version of the record via NCBI-EFetch: e.g to retrieve http://www.ncbi.nlm.nih.gov/omim/147670 ( INSR , omim-id= 147670 )

http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=omim&id=147670&retmode=xml&rettype=full


http://www.ncbi.nlm.nih.gov
/dtd/NCBI_Mim.dtd">
<Mim-entries>
<Mim-entry>
  <Mim-entry_mimNumber>147670</Mim-entry_mimNumber>
  <Mim-entry_mimType value="star">1</Mim-entry_mimType>
  <Mim-entry_title>INSULIN RECEPTOR; INSR</Mim-entry_title>
  <Mim-entry_copyright>Copyright (c) 1966-2010 Johns Hopkins University</Mim-ent>
  <Mim-entry_symbol>INSR</Mim-entry_symbol>
  <Mim-entry_locus>19p13.2</Mim-entry_locus>
  <Mim-entry_seeAlso>
    <Mim-cit>
      <Mim-cit_number>25</Mim-cit_number>
      <Mim-cit_author>Elbein</Mim-cit_author>
      <Mim-cit_others>et al.</Mim-cit_others>
      <Mim-cit_year>1986</Mim-cit_year>
    </Mim-cit>
    <Mim-cit>
      <Mim-cit_number>27</Mim-cit_number>
      <Mim-cit_author>Ferrannini</Mim-cit_author>
(...)
ADD COMMENT
0
Entering edit mode

Wonderful. Thanks Pierre!

ADD REPLY
0
Entering edit mode
12.1 years ago
Chris Maloney ▴ 360

As mentioned in Is Omim No Longer Available As Structured Data?, NCBI no longer serves OMIM data through efetch. The way to access OMIM now is through their API.

ADD COMMENT
0
Entering edit mode
8.7 years ago
onemoreuser ▴ 20

How do I get the OMIM id?

ADD COMMENT
0
Entering edit mode

Well, short question so you get a short answer: I am pretty sure that EBI's Ontology Lookup Service could help you.

ADD REPLY

Login before adding your answer.

Traffic: 1738 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6