Coder Social home page Coder Social logo

mridu-enigma / harmonizome Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gwgundersen/harmonizome

0.0 0.0 0.0 60.39 MB

Source code for the Harmonizome

Home Page: http://amp.pharm.mssm.edu/Harmonizome/

License: Apache License 2.0

HTML 0.59% JavaScript 7.67% XSLT 5.03% Java 73.15% Python 7.63% CSS 0.33% Dockerfile 0.06% Shell 0.39% Less 5.16%

harmonizome's Introduction

Harmonizome

This repository contains the source code for the Harmonizome.

Funding

Citation

Please acknowledge the Harmonizome in your publications by citing the following reference:

Rouillard AD, Gundersen GW, Fernandez NF, Wang Z, Monteiro CD, McDermott MG, Ma'ayan A. The harmonizome: a collection of processed datasets gathered to serve and mine knowledge about genes and proteins. Database (Oxford). 2016 Jul 3;2016. pii: baw100.

Configuration

Certain environment variables are necessary to connect to the database. Typically this can be handled with a gradle.properties file of the form:

DB_URL=jdbc:mysql://yourhost/yourdb
DB_USER=youruser
DB_PASS=yourpass
HARMONIZOME_PREFIX=Harmonizome
TOMCAT_PORT=8080

Build instructions

Gradle is used to fetch dependencies, build and debug the project. The two commands below in different terminals can be used to automatically rebuild/deploy the project to an embedded tomcat server for a continuous development experience.

# Continuous build (rebuilds on file change)
gradle build -t

# Tomcat development server (reflects file changes)
gradle tomcatRun

Docker

Gradle is used to assemble a war file to be deployed with a tomcat8-base docker image.

# Build and assemble war file
gradle install

# Construct docker image
docker build -t maayanlab/harmonizome:latest .

When you run the image you'll need to provide the environment variables:

docker run \
  -e DB_URL=jdbc:mysql://yourhost/yourdb \
  -e DB_USER=youruser \
  -e DB_PASS=yourpass \
  -p 8080:8080
  -it maayanlab/harmonizome:latest

harmonizome's People

Contributors

gwgundersen avatar u8sand 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.