Install databanks
Starting an installation process
Using a global descriptor
This is the legacy way of using BeeDeeM to install a bank. The processing must be started by a user so that BeeDeeM can access its various directories in read/write mode, particularly ${installDir}, ${workingDir} and ${biobaseDir}.
After opening a session (via a terminal), proceed as follows:
Here is an example:
And there you go! This command starts a BeeDeeM bank installation process using file 'test.gd' located in ${descriptors}.
Refer to the section Control of execution for more information about BeeDeeM operation.
Using a classic bank descriptor
Instead of using a global descriptor, it is possible to start BeeDeeM bank installation in a more direct way: all parameters usually provided using a global descriptor (a file) can be passed in directly to a command-line.
Get help by entering this command:
A simple command-line would be:
You can control bdm install
tool with some environment variables as stated in this section.
Starting a deferred process
Starting BeeDeeM interactively is only possible if you are processing a small database. In most cases, it is recommended to start the processing using a job scheduler, such as SGE, SLURM or PBS.
BeeDeeM is designed to be used on computing clusters quite easily using a script such as:
Control of execution
You can monitor the progress of BeeDeeM by consulting the file dbms-XXX.log located in the directory ${workingDir}, where XXX identifies the descriptor used to start the process.
This log file is filled in during BeeDeeM processing. The directory ${workingDir} might therefore contain a file kdms-XXX.log (file currently being used), and also the files kdms-XXX.logYYYYMMDD (log file dating from YYYYMMDD; YYYY is the year, MM is the month and DD is the day). When analysing BeeDeeM logs, you must therefore analyse all of the dbms.log files corresponding to a given process.
The examination of BeeDeeM logs starts with reading the last (i.e. the most recent) log file (in our example, this is dbms-XXX.log).
If the processing was successful, you will see the following line at the end of the log file:
This message indicates that the sequence databases were successfully installed on your system and your users now have access to the new versions of these banks. For more details, refer to the section What to do after processing.
If the processing failed, the following line will appear at the end of the log:
So, you can easily use grep command to check BeeDeeM logs as follows:
grep "ERROR\|WARN" dbms-XXX.log
grep "PROCESSING: " dbms-XXX.log
In case of errors/warnings, no sequence banks have been installed in production and your users will continue to use the database versions currently in production. For more details, refer to the section What to do after processing.
Last updated
Was this helpful?