Code Monkey home page Code Monkey logo

Comments (9)

dkoslicki avatar dkoslicki commented on September 24, 2024

@saramsey looks like something is wrong with QueryEBIOLS for some uberon's:

>>>QueryEBIOLS.get_mesh_id_for_uberon_id("UBERON:0001162")
set()

from rtx.

saramsey avatar saramsey commented on September 24, 2024

from rtx.

dkoslicki avatar dkoslicki commented on September 24, 2024

Ummm... I don't think that was the issue.

In[223]: import QueryEBIOLS
In[224]: print(QueryEBIOLS.get_mesh_id_for_uberon_id("UBERON:0001162"))
Traceback (most recent call last):
  File "/home/dkoslicki/Desktop/RTX/VE3/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2910, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-224-d8034d4a5d80>", line 1, in <module>
    print(QueryEBIOLS.get_mesh_id_for_uberon_id("UBERON:0001162"))
AttributeError: module 'QueryEBIOLS' has no attribute 'get_mesh_id_for_uberon_id'

The issue was the fact that the MeSH ID is nonstandard. EBIOLS returns MESH:A03.492.766.163 instead of a MESH:DXXX.

from rtx.

dkoslicki avatar dkoslicki commented on September 24, 2024

@saramsey Let me know if commenting on this issue is sufficient (as I just did above), or if I should @ mention you each time so it shows up in your email.

from rtx.

saramsey avatar saramsey commented on September 24, 2024

from rtx.

dkoslicki avatar dkoslicki commented on September 24, 2024

@saramsey Frustrating thing is that MeSH doesn't seem to know that MESH:A03.492.766.163 is a MeSH ID:

QueryNCBIeUtils.get_mesh_terms_for_mesh_uid(QueryEBIOLS.get_mesh_id_for_uberon_id("UBERON:0001162").pop())
Out[309]: []
QueryNCBIeUtils.get_mesh_terms_for_mesh_uid(QueryEBIOLS.get_mesh_id_for_uberon_id("UBERON:0001162").pop().split(':')[1])
Out[310]: []

from rtx.

dkoslicki avatar dkoslicki commented on September 24, 2024

So I guess the only approach now is to figure out how to map between MeSH tree numbers and MeSH ID's? EBIOLS gives UMLS cuids, so maybe after @arnabdotorg gets the UMLS up and running, we'd be able to convert them.

from rtx.

saramsey avatar saramsey commented on September 24, 2024

I'm creating a new issue "need a method to convert MeSH tree number to MeSH UID" that will reference this issue

from rtx.

dkoslicki avatar dkoslicki commented on September 24, 2024

Close in light of #63

from rtx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.