trevismd / DataFAIRifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataFAIRifier

The DataFAIRifier is a system that supports the creation and validation of mappings of relational data to ontologies. The system is packaged as a set of Docker images. The frontend of the system is implemented as Jupyter Notebook.

This repository describes the bottom-up DataFAIRifier process, and FAIR (Findable, Accessible, Interoperable, Reusable) data station which will be setup when following the instructions.

Getting started

Prerequisites

To run this DataFAIRifier, you need the following software installed on your computer:

  • Docker Engine
  • Docker Compose

Configuring the infrastructure

The full docker-compose collection of containers is given in docker-compose.yml The most minimalistic infrastructure can be executed by writing a docker-compose file (docker-compose.yml) with the following contents:

version: "2"
services:
  graphdb:
    image: jvsoest/graphdb-free:fairstation
    ports: 
      - "7200:7200"

This will create and run a GraphDB instance on your computer. The GraphDB web interface will be available on http://localhost:7200. If you want to add computation docker containers to this configuration, you can e.g. the O-RAW DICOM Radiomics pipeline:

version: "2"
services:
  graphdb:
    image: jvsoest/graphdb-free:fairstation
    ports: 
      - "7200:7200"
  oraw:
    image: jvsoest/oraw
    volumes:
      - ./dicom_import/:/data/
    links:
      - graphdb:graphdb
    environment:
      - RDF4J_URL=http://graphdb:7200
      - EXCLUDE_STRUCTURE_REGEX="(Patient.*|BODY.*|Body.*|NS.*|Couch.*|Isocenter.*)"

Running the infrastructure.

To run this infrastructure, you can go to the folder where you have this docker-compose.yml stored, and type: docker-compose up This will download the necessary images, and run the container.

The following commands can help you as well:

  • docker-compose up -d: Will start or run docker containers in detached mode, giving you back the command line (and run containers as service in background)
  • docker-compose stop: will stop all running containers
  • docker-compose down: Will stop all containders and remove the active image including data
  • docker logs <container_name>: Will show the console logs for the running container, especially helpful in detached mode

How to query and use GraphDB

Regarding the use of GraphDb, please have a look at the quick start guide

Frozen hackathon repositories

About

License:Apache License 2.0


Languages

Language:JavaScript 67.3%Language:CSS 17.7%Language:HTML 8.8%Language:Python 3.4%Language:Jupyter Notebook 1.0%Language:Shell 1.0%Language:Dockerfile 0.6%Language:PLpgSQL 0.1%Language:Batchfile 0.0%