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] Annotator plus API compatibility

John Graybeal jgraybeal at stanford.edu
Thu Jun 20 19:17:19 PDT 2019


Rayyan,

Sorry, I sent that too soon. The correct API calling sequence for BIoPortal's AnnotatorPlus is as follows (you'll need your own apikey).

<http://services.data.bioontology.org/annotatorplus/?text=The+patient+has+no+sign+of+melanoma,+but+his+father+had+history+of+skin+cancer.&ontologies=MESH&longest_only=true&exclude_numbers=false&whole_word_only=true&exclude_synonyms=false&expand_mappings=false&negation=true&experiencer=true&temporality=true&lemmatize=false&score=cvalue&semantic_groups=DISO&display_links=false&display_context=false&apikey=44444444-4444-4444-4444-44444444>http://services.data.bioontology.org/annotatorplus/?text=The+patient+has+no+sign+of+melanoma,+but+his+father+had+history+of+skin+cancer.&ontologies=MESH&longest_only=true&exclude_numbers=false&whole_word_only=true&exclude_synonyms=false&expand_mappings=false&negation=true&experiencer=true&temporality=true&lemmatize=false&score=cvalue&semantic_groups=DISO&display_links=false&display_context=false&apikey=44444444-4444-4444-4444-44444444

With the information in the previously referenced documentation (see below), you should be all set.

John

On Jun 20, 2019, at 6:57 PM, John Graybeal <jgraybeal at stanford.edu<mailto:jgraybeal at stanford.edu>> wrote:

Rayyan,

There is more detailed documentation in the PDF at https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5972606/bin/bty009_supplement_bioinf-2017-1427.r2-3.pdf  which is pointed to by the main paper about this capability at https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5972606/.

I just tried the API on BioPortal using this string, which corresponds to the one in the first PDF.:
  http://data.bioontology.org/annotator?text=The+patient+has+no+sign+of+melanoma,+but+his+father+had+history+of+skin+cancer.&ontologies=MESH&longest_only=true&exclude_numbers=false&whole_word_only=true&exclude_synonyms=false&expand_mappings=false&negation=true&experiencer=true&temporality=true&lemmatize=false&score=cvalue&semantic_groups=DISO&display_links=false&display_context=false&apikey=4a5011ea-75fa-4be6-8e89-f45c8c84844e

This did not produce the expected results—my construction may be wrong—so we'll have to see what's happening at the moment. Sorry for the inconvenience!

John


On Jun 20, 2019, at 2:28 AM, Andon Tchechmedjiev <andon.tchechmedjiev at lirmm.fr<mailto:andon.tchechmedjiev at lirmm.fr>> wrote:

Dear Rayyan,

Having developed much of the current Annotator+ extension, I also have a simple python package to query the extended API.
You may find it here: https://github.com/twktheainur/python_ncbo_annotator_client

An usage example is given in the README. Although you can't install it with pip yet, you can copy the "client" directory into your project to use the package.

Please don't hesitate if you have further interrogations.

Best Regards,
Andon Tchechmedjiev



On 20/06/2019 10:16, Rayyan Aziz Ansari wrote:
Hi everyone, can the new Bio Annotator plus platform be called from a Python API as was the case previously?
I just checked the Api documentation, and it does not seem to be updated to reflect the new query parameters like
"UMLS semantic groups" or negation etc. Could you please let me know if there is a timeline
for when I could use an api for these new features?
Thanks you for your time,
Rayyan




_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support


--
Andon Tchechmedjiev, PhD. Associate Professor in NLP, Comp. Ling and Biomedical Informatics
at Ecole des Mines d'Alès-LGI2P, Site Croupillac, 7 rue Jules Renard, Alès - 30319 Cedex FRANCE | andon.tchechmedjiev.eu<http://andon.tchechmedjiev.eu/>

_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support

========================
John Graybeal
Technical Program Manager
Center for Expanded Data Annotation and Retrieval /+/ NCBO BioPortal
Stanford Center for Biomedical Informatics Research
650-736-1632


_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support

========================
John Graybeal
Technical Program Manager
Center for Expanded Data Annotation and Retrieval /+/ NCBO BioPortal
Stanford Center for Biomedical Informatics Research
650-736-1632


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20190621/4eb5b987/attachment-0001.html>


More information about the bioontology-support mailing list