REST interface to lazar
Ruby HTML
Switch branches/tags
Nothing to show
Clone or download
Latest commit 311a578 Jun 20, 2017
Permalink
Failed to load latest commit information.
api
lib
test adapt code to lazar 1.0.0 Nov 16, 2016
views refine HTML for validation details Sep 14, 2016
.gitignore add route get /model Sep 16, 2015
.yardopts new structure, adjusted yard doc, new routes for validation Aug 30, 2016
ChangeLog
Gemfile
LICENSE
README.md
VERSION merge development to master and version bump Oct 20, 2016
config.ru
lazar-rest.gemspec fix typo Jun 20, 2017
unicorn.rb initial files with test and api Sep 15, 2015

README.md

lazar-rest

REST API webservice for lazar and nano-lazar. lazar (lazy structure–activity relationships) is a modular framework for read across predictions of chemical toxicities. Within the European Union’s FP7 eNanoMapper project lazar was extended with capabilities to handle nanomaterial data, interfaces to other eNanoMapper services (databases and ontologies) and a stable and user-friendly graphical interface for nanoparticle read-across predictions. lazar-rest provides a new Restful webservice to this developments.

Installation

Download the code from github.

git clone https://github.com/opentox/lazar-rest.git

Install the required library gems with bundler

cd lazar-gem
bundle install

In development environment use lazar and qsar-report library from source

    require "../lazar/lib/lazar.rb"
    require "../qsar-report/lib/qsar-report.rb"

In production environment change this to the following to have lazar and qsar-report library from ruby gem

    require "../lazar/lib/lazar.rb"
    require "../qsar-report/lib/qsar-report.rb"

start the service with unicorn on an assigned port

unicorn -p 8080 -D

(satrt without daemonize option -D for debugging)

Documentation

See also

Copyright

Copyright (c) 2015-2016 Christoph Helma, Micha Rautenberg, Denis Gebele. See LICENSE for details.