Table des matières

Instructions to install and configure EMBOSS 6.3.1

Additional libraries

The following librairies are necessary to compile EMBOSS as well as the EMBASSY applications:

% apt-get install libx11-dev libgd2-xpm-dev libpng3-dev libpng12-dev libgd-tools libplplot-dev plplot9-driver-gd libxaw7-dev

In addition, install-jemboss-server.sh installation script requires the following applications:

These applications can be deleted right after EMBOSS installation. Finally, since EMBOSS has some wrapper applications for clustalw and primer3, these applications need to be installed first.

Procedure

Here is the procedure for installing EMBOSS, EMBASSY applications and the Jemboss GUI from source code:

% wget ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-6.3.1.tar.gz
% tar -zxvf EMBOSS-6.3.1.tar.gz
% mkdir embassy
% cd embassy
#
# Do this for all EMBASSY applications
#
% wget ftp://emboss.open-bio.org/pub/EMBOSS/CBSTOOLS-1.0.0.tar.gz
% tar -zxvf CBSTOOLS-1.0.0.tar.gz
#
# After all this is done...
#
% cd ..
% mv embassy EMBOSS-6.3.1
#
# Download the archives from suggested mirrors
# For example:
#
% wget http://www.quickprepaidcard.com/apache/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.tar.gz
% wget http://apache.mirror.iweb.ca/ws/axis/1_4/axis-bin-1_4.tar.gz
% tar -zxvf apache-tomcat-6.0.29.tar.gz
% sudo mv apache-tomcat-6.0.29 /usr/local/share
% sudo chown -R root:root /usr/local/share/apache-tomcat-6.0.29
% tar -zxvf axis-bin-1_4.tar.gz 
% sudo mv axis-1_4 /usr/local/share
% sudo chown -R root:root /usr/local/share/axis-1_4
% sudo chown -R root:root /opt/bio/sources/EMBOSS-6.1.0
% cd /opt/bio/sources/EMBOSS-6.1.0/jemboss/utils
% sudo ./install-jemboss-server.sh
Enter java (1.4 or above) location [/usr]:
/usr/lib/jvm/java-6-sun
Type of unix password method being used 
(select 1, 2, 3, 4, 5, 6 or 7 )[3]
1
Enter Tomcat root directory (e.g. /usr/local/tomcat)
/usr/local/share/apache-tomcat-6.0.28
Enter Apache AXIS (SOAP) root directory (e.g. /usr/local/axis)
/usr/local/share/axis-1_4
% sudo nano /usr/local/share/apache-tomcat-6.0.28/conf/server.xml
   <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
   <Connector className="org.apache.catalina.connector.http.HttpConnector"
           port="8443" minProcessors="5" maxProcessors="75"
           enableLookups="true"
           acceptCount="10" debug="0" scheme="https" secure="true">
   <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
           keystoreFile="/usr/local/emboss/share/EMBOSS/jemboss/resources/server.keystore" keystorePass="bioubuntu"
           clientAuth="false" protocol="TLS"/>
   </Connector>
% sudo nano /etc/profile
#
# EMBOSS specific environment variable
#
PATH=/usr/local/emboss/bin:$PATH
PAGER=/usr/bin/less
#
#Add local to run as 'standalone':
#java org.emboss.jemboss.Jemboss local &
#
/usr/lib/jvm/java-6-sun/bin/java org.emboss.jemboss.Jemboss &

become

#
#Add local to run as 'standalone':
#java org.emboss.jemboss.Jemboss local &
#
/usr/lib/jvm/java-6-sun/bin/java org.emboss.jemboss.Jemboss local &
% sudo ln -s /usr/local/emboss/share/EMBOSS/jemboss/runJemboss.sh /usr/local/bin/runJemboss
% runJemboss &

Databases needed for the EMBOSS suite

Some databases are needed to insure proper operation of some of EMBOSS' applications. Because some other programs might need them at a later moment, I created the /opt/bio/data location to centralize management of these databases. Take note of the following:

Databases provided with an Impilo distro

General installation procedure

EMBOSS uses indexing applications to take the content of the database files and create indexes that other programs can use. A very general procedure uses the following step:

% sudo su