Coder Social home page Coder Social logo

trevismd / datafairifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maastrichtu-cds/datafairifier

0.0 1.0 0.0 8.2 MB

License: Apache License 2.0

JavaScript 67.33% HTML 8.85% CSS 17.66% Dockerfile 0.55% Shell 1.00% PLpgSQL 0.14% Python 3.42% Jupyter Notebook 1.05% Batchfile 0.01%

datafairifier's Introduction

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

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.