Code Monkey home page Code Monkey logo

ontoclick's Introduction

OntoClick

build

Turn a free text description into a proper ontology term with just one click.

Overview

OntoClick is a Chrome browser extension that lets the user highlight a piece of text and then tries to find a matching Ontology term for it.

Ontoclick currently supports matching terms to the Human Phenotype Ontology, Gene Ontology, Mondo Disease Ontology, Orphanet Rare Disease Ontology and Human Disease Ontology.

Ontoclick uses the NCBO BioPortal Search API to find a matching ontology term, but searches can also be performed with the NCBO BioPortal Annotator API, the EBI Ontology Lookup Service Search API, the HPO Search API, the Pryzm Health Concept Recogniser, and the SickKids Neural Concept Recogniser (the latter four only support searching the Human Phenotype Ontology).

The search results can be copied to the clipboard or saved to a list that can be exported in .CSV format.

Acknowledgements

OntoClick was born at Health Hack Sydney in November 2017. Many thanks to Team Ontoclick, in particular Graham Towse from LivingryLabs for developing the first prototype. That prototype was further improved with the help of Anthony Xu, Yifei (Frank) Luo, Aravind Venkateswaran, and Lianguizi (Alisa) Zhou, bioinformatics students at the University of New South Wales, as part of their BINF6111 engineering project.

Install from Chrome Store

Ontoclick is available on the Chrome Store here.

How to Use the Extension

  1. Visit a web page in the Chrome browser
  2. Highlight the text you want to search for, right-click to show the browser context menu and select Ontoclick from the context menu.
  3. The Ontoclick popup opens and displays matching ontology terms from the Human Phenotype Ontology.
  4. Click on the '+' icon in front of a term to see more information about the term (if available).
  5. Hover over a term to see additional icons:
    • click the 'copy' icon next to the Ontology ID to copy the Ontology ID
    • click the 'copy' icon next to the Label to copy the Ontology Label
    • click the 'copy' icon in the 'Actions' column to copy the Ontology ID and the Label
    • click the 'highlighter' icon in the 'Actions' column to copy the highlighted text and the Ontology ID and the Label.
    • click the 'disc' icon in the 'Actions' column to save the highlighted text, Ontology ID and Label to Ontoclick's history list. The number in the right upper corner of the Ontoclick window shows the number of items saved to the history list. Click the 'download' icon to download the history list as a .CSV file. Click the 'rubber' icon to erase the history list.
  6. If no suitable terms are retrieved, click on the triangle next to 'NCBO Bioportal Search' to re-run the search with a different concept recogniser. The result window will update immediately with the new results. The different concept recognisers all have their strengths and weaknesses, try different ones to see what gives the best results.
  7. Click on the triangle next to 'Human Phenotype Ontology' to select another (or additional) ontologies. This only works when 'NCBO Bioportal Search' or 'NCBO Bioportal Annotator' are selected.
  8. The Ontoclick Popup can also be launched without selecting any text:
    • right-click anywhere in the browser window and select Ontoclick from the context menu that appears
    • click the Ontoclick icon in the browser toolbar
    • in both cases, you can now type your search term into the Ontoclick Search bar
    • Please note: the history list function is not available when launching the Ontoclick popup from the toolbar icon

Install From Source

Build Prerequisites

# install dependencies
yarn install

# build for production with minification
yarn run build

# To install, follow these steps:
Go to Chrome:
1. Visit chrome://extensions
2. Enable developer options
3. Click 'Load unpacked extension...'
4. Select the ontoclick/dist/ folder

Development Setup

# install dependencies
yarn install

# get your BioPortal REST API key from https://bioportal.bioontology.org/account
open https://bioportal.bioontology.org/account

# add your API key for development builds
cp api/example.api.json api/dev.api.json
open api/dev.api.json

# add your API key for production builds
cp api/example.api.json api/prod.api.json
open api/prod.api.json

# serve with hot reload at localhost:8080
yarn run dev

# build for production with minification
yarn run build

# run unit tests
yarn run unit

# run e2e tests
yarn run e2e

# run all tests
yarn test

ontoclick's People

Contributors

anthonyaxu avatar azankl avatar lianguizi avatar biom9450tutorial avatar sepetab avatar z5207187 avatar dependabot[bot] avatar

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.