Skip to content

Develop your first multi omics website

drbecavin edited this page Dec 20, 2021 · 23 revisions

BACNET V2 - Update December 2021

Running bacnet.e4.rap

If you have followed the first tutorial on How-to install BACNET you should already have en Eclipse e4 RAP target platform installed and all BACNET plug-ins ready to work

For this first step we have created a video: Video tutorial - build multi-omics

We provide a test website named ListeriomicsSample. Clone the database of the website from here : ListeriomicsSample.

The first step is to register the database. In the root folder of the git there is a file named : BacnetDatabases.ini. This is a simple text file where the path of each database is saved. BACNET platform load this file at the website start and go to the appropriate path. You should modify this file to the right path on your folder.

BacnetDatabase.ini

Once it is done, you have to tell BACNET where to find this file. In Eclipse, expand packages bacnet.core > src > bacnet and double click on Database.java. Change the pathway to the BacnetDatabase.ini file corresponding to your OS (lines 89 to 93).

Capture_d_écran__6_

In Eclipse, expand packages bacnet > src > bacnet and double click on Database.java. Change the pathway to the BacnetDatabase.ini file corresponding to your OS (lines 89 to 93).

Capture_d_écran__7_

If all the path are set to work with your computer you can launch the BACNET platform.

Open the plugin.xml of bacnet.e4.rap and update the classpath.

Update Classpath

Then click on Launch a RAP Application, select the launch configuration bacnet.e4.rap and run the app. This launch configuration is defined in bacnet.e4.rap.setup.launch

If everything went fine you should have ListeriomicsSample website opening in your browser. If an error appears on the loading of the page, refresh it (F5). If Eclipse gives you an error saying they are missing dependencies, click on "Run > Run Configurations > bacnet.e4.rap > Bundles". Add the "Required Bundles" and "Run".

Listeriomics_sample

If everything went right you should already be able to access to the different tools of ListeriomicsSample website. But, you might want to create your own multi-omic website. This is done using bacnet.e4.rap.setup website. It provides all tools to add your omics dataset to the database.

Running bacnet.e4.rap.setup

In the following step of this wiki, we will show you how to create again ListeriomicsSample database.

To run this website follow the same step as for bacnet.e4.rap. Open plugin.xml in bacnet.e4.rap.setup. Update the classpath, click on Launch a RAP application and select bacnet.e4.rap.setup launch configuration.

bacnet setup plug-ins

You should have the setup website opening in your browser.

bacnet.e4.rap.setup

Depending on the size of your screen, zoom back if needed to be able to see all elements (click on the phylogeny tab and check if you can see all seven buttons). bacnet_setup_plugin

You are now go to go to the next step in your multi-omic database construction.

Start adding data to your database by following the instructions for the Genomics panel first.