Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] search by id in a subtree

Madani, Sina Sina.Madani at
Wed Sep 6 08:24:47 PDT 2017

Hi Michael,

I was able to upload RxNorm and LOINC (downloaded from NCBO site) into our local instance without any error. However, it seems processing doesn’t start automatically. The instruction for manual processing is not working either. http://localinstnace/admin page also doesn’t show the uploaded ontologies so that I can trigger “process” from the drop down selected action. The UI under each ontology submission shows “uploaded”.
Which log file I need to look at to pin point the issue? Attached are the parsing log files from the 2 repositories and ncbo_cron log scheduler.



From: Michael Dorf [mailto:mdorf at]
Sent: Friday, September 01, 2017 2:55 PM
To: Madani, Sina
Cc: support at
Subject: Re: [bioontology-support] search by id in a subtree

Please see answers inline.



On Sep 1, 2017, at 10:29 AM, Madani, Sina <Sina.Madani at<mailto:Sina.Madani at>> wrote:

Hi Michael,

Thank you so much for the info. I have a couple of follow up questions:

  1.  I tried to load SNOMED.ttl into our local instance of bioportal appliance (RC2) but after a minute I got "Incomplete response received from application” in my browser. Which log file I need to look at to see what went wrong. The SNOMED.ttl file was provided to me previously and I believe it’s a product of UMLS2RDF script
The parsing log file should be located in the repository directory for that ontology/submission number. Usually, that structure is:


If the submission itself has not made it through, you can check the REST server log, located in:


My sysadmin tells me that by default that log is not enabled. You need to edit this file:


And uncomment these lines:

#stderr_path 'log/unicorn.stderr.log'
#stdout_path 'log/unicorn.stdout.log'

  1.  When tried to add a new ontology to the appliance, in the drop down format, I saw UMLS. How does it work? Does it transform UMLS RRF files directly into the bioportal appliance? My understanding is that we need to use UMLS2RDF script externally and load the result file into the bioportal appliance.
As far as I am aware, ALL UMLS ontologies in our repository are imported directly from the source in a bulk job that we run periodically via the UMLS2RDF script. I am not sure whether the appliance would be able to handle the RRF files via a straight submission.

  1.  Is there anyway to included obsolete/retired concepts in the output ttl file when using UMLS2RDF script?  If I look for SNOMED concept Dermoid Cyst of Ovary “119424003”, even when obsolete option is checked in NCBO bioportal, no concept is returned. It would be great if we can find out the status of a SNOEMD concept (active versus inactive). It would be even better to see the additional metadata for this retired concept from ref sets like “Possibly equivalent to” “Benign teratoma of Ovary”.
Another developer on the team who is no longer with us had written the original UMLS2RDF script. Sorry I can’t offer much assistance with this question. If I were dealing with the same issue, I’d probably try to find the relevant lines in the python script and modify them to see if they produce the effect you are seeking:<>

  1.  Could you please show how to use an apikey in one of your examples below? It seems the syntax has been changed since few years ago.
You can pass the API key either via the ?apikey=<yourapikey> request parameter or via the Authorization var in the headers:

Key: Authorization
Value: apikey token=<yourapikey><>

Thanks !


From: Michael Dorf <mdorf at<mailto:mdorf at>>
Date: Thursday, August 31, 2017 at 5:38 PM
To: "Madani, Sina" <Sina.Madani at<mailto:Sina.Madani at>>
Cc: "support at<mailto:support at>" <support at<mailto:support at>>
Subject: Re: [bioontology-support] search by id in a subtree

Hi Sina,

I am not sure which one of the two interpretations you are asking about:

1. Determine whether a term with a given id is located within a specific subtree. If that’s the case, yes, you should be able to do this. Here is an example that searches for the term "Uncomplicated moderate persistent asthma”, id =<> in a subtree of the term “Asthma”, id =<>:<>


2. Get ALL the descendants (direct/indirect) of a given term (“Asthma”). In this case, the call would be:<>

Let me know if this helps.

Thank you for keeping in touch with us!


On Aug 29, 2017, at 12:26 PM, Madani, Sina <Sina.Madani at<mailto:Sina.Madani at>> wrote:


Would it be possible to use Restful services to search by id under a given subtree (like SNOMED Asthma) for all direct and indirect children?

bioontology-support mailing list
bioontology-support at<mailto:bioontology-support at><>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parsing_LOINC.log
Type: application/octet-stream
Size: 396 bytes
Desc: parsing_LOINC.log
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parsing_RxNorm.log
Type: application/octet-stream
Size: 398 bytes
Desc: parsing_RxNorm.log
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scheduler.log
Type: application/octet-stream
Size: 17565 bytes
Desc: scheduler.log
URL: <>

More information about the bioontology-support mailing list