Native Installation - giffordlabcvr/Hepadnaviridae-GLUE GitHub Wiki

Steps to Installing Hepadnavirus-GLUE

  1. Install GLUE Software Framework: If you haven't already installed native GLUE, do so by following the native installation instructions on the GLUE website.

  2. Download the Hepadnavirus-GLUE Repository Clone or download the Hepadnavirus-GLUE repository.

  3. Load or build the project The project can be installed by loading a prebuilt version, or via a local build process. The prebuilt database allows for quick setup, while the local build process allows for more customization.


Loading the Prebuilt Project

A prebuilt version of the Hepadnavirus-GLUE database is available in the repository, so you don’t need to build it locally. To load this database into your local MySQL system, use the following commands, adjusting to match your MySQL installation:

   gunzip hepadnavirus_glue.sql.gz
   
   /usr/local/mysql/bin/mysql  --user=gluetools --password=glue12345 GLUE_TOOLS < hepadnavirus_glue.sql

Once you have done this, start the GLUE command line interpreter and check to see if the project is there.

GLUE> list project 
+================+=====================================+
|      name      |             description             |
+================+=====================================+
| hepadnaviridae | GLUE project for the Hepadnaviridae |
+================+=====================================+
Projects found: 1
Mode path: /

Local Build Option

If you prefer to build the project locally from scratch, follow these steps:

  1. Navigate to the Hepadnavirus-GLUE Directory

  2. Start the GLUE Command-Line Interpreter

  3. Build the Core Project To build the core project run the following command:

   Mode path: /
   GLUE> run file buildCoreProject.glue