Giter Club home page Giter Club logo

3dproteinlab's Introduction

3D Protein Lab

Search Algorithm for Functional Motifs in Protein Structures

This is a java web application that will allow you to search for structural patterns within a modified version of the PDB protein structure database.

To run the application you will need to run a MySQL Server and a J2EE application server, such as Tomcat.

Installation Instructions

1. Install Tomcat V8.5.23

http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.23/README.html

2. Install MySQL

3. Create a proteinlb DB and a user with the following credentials

  • dbname: proteinlab
  • user: proteinlab
  • pass: proteinlab
mysql -uadmin -p$PASS -e "CREATE USER 'proteinlab'@'localhost' IDENTIFIED BY 'proteinlab';"
mysql -uadmin -p$PASS -e "CREATE DATABASE proteinlab"
mysql -uadmin -p$PASS -e "GRANT ALL PRIVILEGES ON proteinlab.* TO 'proteinlab'@'localhost';"

4. Load the Database dump into MySQL

The DB dump file contains SQL statements to recreate all required tables into the DB.

You first need to decompress it

tar .xvzf proteinlab.sql.tar.gz
mysql -uadmin -p$PASS proteinlab < proteinlab.sql

Note: For security reasons if your MySQL sevrer has exposed ports we recommend you change these DB credentials and recompile the WAR file.

You can change the DB credentials in this file and then recomplile the WAR. DB Config File

Docker

We also provide a docker script for building and running the entire application in a container

Install Instructions

Build Instructions

I recommend getting the latest version and compiling using Java 8, even though the code base was originally meant for Java 7.

Install Eclipse Oxygen for Java EE Applications

You will need to download the following libraries (also included in the lib folder) and add them to your project

  • BioJava Structure
  • Mysql Connector Jar

Create a new project pointing at the 3DProteinLab directory.

Modify whichever files your need to.

Compile and Export as a War file.

3dproteinlab's People

Contributors

john-hawkins avatar

Stargazers

 avatar

Watchers

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