Category:NCBO Virtual Appliance

From NCBO Wiki
Jump to navigation Jump to search

The NCBO Virtual Appliance image contains a pre-installed, pre-configured version of commonly-used open source NCBO software running on a Linux operating system. The image was created using VMWare and is available for download by contacting

The following software is included on the image:

  • BioPortal Ontology Services (BioPortal Core)
  • BioPortal Web User Interface (including ontology visualization, Flex widgets, Annotator and Resource Index UIs)
  • BioPortal Admin (a UI for administering BioPortal Ontology Services)
  • Annotator
  • Resource Index

Please see below for how-to documentation for managing the software and running data population for Annotator and Resource Index.

Getting Started

  • To obtain the Virtual Appliance, contact NCBO Support
  • The download is provided as a tar archive containing several files. One of these is an Open Virtualization Format (OVF) file that may need to be converted to work in your environment.
    • You can use VMWare's ovftool to convert the appliance to work with your virtualization software. For example, to convert the appliance for use in WMWare Player or Workstation, you would run the command: ovftool ncbo-appliance.ova ncbo-appliance.vmx
  • You can supply the hostname (machine name) for the virtual machine during the deployment process. Documentation will refer as this hostname as 'example'.
  • Change default passwords
    • Operating System
      • Username: root
      • Password: changemeNOW
    • BioPortal Admin User
      • Username: admin
      • Password: changeme
  • Add an ontology using the BioPortal Admin User here: http://{YourDomainName}/ontologies/new
    • BioPortal Ontology Services can be configured to automatically process new ontologies every hour at 30 minutes past the hour (see documentation for enabling the scheduler). This processing includes:
      • Parsing any new, unparsed ontologies
      • Calculating a set of metrics for these ontologies
      • Indexing these ontologies for use with search
  • Parsing, indexing, metrics calculation, and ontology deletion can all be manually triggered or re-triggered using the BioPortal Admin user interface, which is available here: http://example:8080/bioportal_admin
  • REST services are available at the following locations. The URLs below are for the root of the REST service and generally will not return information. Please read the documentation for guidelines on how to interact with the services, including sample URLs:

Population Workflows

When storing an ontology using the BioPortal Ontology Services, some amount of processing is done automatically so that the ontologies can be visualized using the Web UI. However, the Annotator and Resource Index require separate, manual data population workflows in order to function with the provided ontologies. Details on running these populations can be found in the "Howto" sections located at the bottom of this page.

NOTE: Loading ontologies [1] developed using the NCI version of Protege will require an additional manual pre-processing step to remove XML tags added into the synonym and definition property values. This pre-processing step is especially important for populating the correct synonym value into the Annotator workflow. The code to pre-process ontologies developed using the NCI version of Protege is located at:, the code can be checked out via anonymous SVN.

[1] The NCI Thesaurus and the NanoParticle Ontology are developed using the NCI version of Protege

Image Format and Machine Details

The NCBO Appliance image was created using the Open Virtualization Format, which should allow the machine to be used in a variety of environments.

The operating system is CentOS 5.5 64-bit running Tomcat 6, Java 6, MySQL 5.x, PHP 5.1.6, Rails 2.3.x, and Ruby Enterprise Edition 1.8.7, and memcached.

The following applications use these services/runtime environments:

  • Tomcat, Java
    • BioPortal Ontology Services (BioPortal Core)
    • BioPortal Admin (a UI for administering BioPortal Ontology Services)
    • Annotator
    • Resource Index
  • Rails, Ruby, memcached
    • BioPortal Web User Interface (including ontology visualization, Flex widgets, Annotator and Resource Index UIs)
  • PHP
    • Resource Index UI
  • Virtuoso

Basic System Administration

  • Most of our administration scripts and build environment assume that you will be running as the root user.
  • Helper commands:
    • ncbostart: the required services are started on boot automatically, but if they need to be started automatically
    • ncbostop: manually stop services
    • ncborestart: manually start/stop services
  • Start individual services:
    • /sbin/service httpd start
    • /sbin/service memcached start
    • /sbin/service tomcat6 start
    • /sbin/service mgrep start
    • /sbin/service virtuoso start
  • Stop individual services:
    • /sbin/service httpd stop
    • /sbin/service memcached stop
    • /sbin/service tomcat6 stop
    • /sbin/service mgrep stop
    • /sbin/service virtuoso stop


All NCBO software is released with the 2-clause BSD license. Source code is included on the Virtual Appliance.


This category has only the following subcategory.