ProteinSQL: An SQL/PSM library for manipulating protein structure data

Kerstin Koch(1), Wouter Gelade(2), Dirk Leinders(2), and Jan Van den Bussche(2)

(1) Université de Paris-Sud, (2) Hasselt University and Transnational University of Limburg

To run the demo, connect to spooky.uhasselt.be through secure shell (SSH) using username "demopsql" and password "ProteinSQL"

The zip file ProteinSQL.zip contains the necessary files for installing the database library. Included is a README.txt file which for convenience is shown below.

Welcome to the Protein SQL system. This document describes the contents of this directory; how the Protein SQL system can be installed and removed; and what the requirements for the system are.

CONTENTS

This directory contains 2 subdirectories, "install" and "uninstall". The install directory is further divided into a "java" and "sql" subdirectory. The "sql" directory contains the statements to create the database (createDB.sql) and the functions and procedures (*.db2 files). The script createfunctions.sh creates the database and the functions and procedures. The "java" directory contains all Java code of the system. The script installJava.sh contains the Java compilation instructions and statements to install the jar files.

REQUIREMENTS

The system has only been tested with the above requirements. However, it only uses java and functionalities of DB2. Therefore, it should also be possible to for instance install it on a windows system. However, no guarantees are given.

The application heap size of the database should have a value of at least 1024. To update the value of this parameter, use the command
update db config using applheapsz 1024

INSTALLATION

Step 1: adjusting the files
Some of the files needed in the installation contain a number of "parameters" which depend on your system and your installation. These parameters are the following: These parameters occur in the files createDB.sql, installJava.sh, createfunctions.sh, and dbconnection2.java , and can be filled in by using the search-replace tool of your favourite text editor
Step 2: installation
Go to the install directory (specified by {{WORKING-DIRECTORY}}/install) and execute the installation script by the command:
. createProteinSQL.sh

REMOVAL

Step 1: adjusting the files
The removal files contain the same parameters as the ones for the installation. These files are dropfunctions.sh, uninstallJava.sh, and dropDB.sql. Again, replace these parameters by your values by using search-replace.
Step 2: removal
Step 2: removal Go to the uninstall directory (specified by {{WORKING-DIRECTORY}}/uninstall) and execute the removal script by the command:
. removeProteinSQL.sh