The following librairies are necessary to compile EMBOSS as well as the EMBASSY applications:
libx11-dev
libgd2-xpm-dev
libpng3-dev
libpng12-dev
libgd-tools
libplplot-dev
plplot9-driver-gd
libxaw7-dev
(for PHYLIP compilation)libhpdf-dev
ant
(for Jemboss' Java code compilation)libmysqlclient-dev
(for MySQL access of ENSEMBL data from EMBOSS)% apt-get install libx11-dev libgd2-xpm-dev libpng3-dev libpng12-dev libgd-tools libplplot-dev plplot9-driver-gd libxaw7-dev libhpd-2.1.0 libhpd-dev ant libmysqlclient-dev libpam0g-dev
Three important details:
/usr/lib/jvm/java-6-sun/include/jni.h
has problems… The following line must be changed:sudo vi /usr/lib/jvm/java-6-sun/include/jni.h
#include "jni_md.h"''
#include "linux/jni_md.h"''
Here is the procedure for installing EMBOSS, EMBASSY applications and the Jemboss GUI from source code:
/home/bioubuntu
. Get into the EMBOSS-6.4.0
folder, create another folder called embassy
and move into this folder:% wget ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-6.4.0.tar.gz % tar -zxvf EMBOSS-6.4.0.tar.gz % cd EMBOSS-6.4.0 % mkdir embassy % cd embassy
CBSTOOLS-1.0.0
DOMAINATRIX-0.1.0
DOMALIGN-0.1.0
DOMSEARCH-0.1.0
ESIM4-1.0.0
HMMER-2.3.2
IPRSCAN-4.3.1
MEMENEW-4.0.0
MSE-3.0.0
PHYLIPNEW-3.69
SIGNATURE-0.1.0
STRUCTURE-0.1.0
TOPO-1.0.0
VIENNA-1.7.2
% wget ftp://emboss.open-bio.org/pub/EMBOSS/CBSTOOLS-1.0.0.tar.gz % tar -zxvf CBSTOOLS-1.0.0.tar.gz # # Do the samme for all the other EMBASSY applications #
EMBOSS-6.4.0
folder is moved under /opt/bio/sources
and should now belong to root
. Its permissions should be 755
.% sudo mv ~/EMBOSS-6.4.0 /opt/bio/sources % sudo chown -R root:root /opt/bio/sources/EMBOSS-6.4.0 % cd /opt/bio/sources/EMBOSS-6.4.0
% sudo ./configure --with-x --enable-64 --with-java=/usr/lib/jvm/java-6-sun --with-javaos=/usr/lib/jvm/java-6-sun/include % sudo make && sudo make install
% cd % embossversion # You should see this: Reports the current EMBOSS version number 6.4.0.0 %
% embossversion embossversion: error while loading shared libraries: libnucleus.so.6: cannot open shared object file: No such file or directory # Use this command: % sudo /sbin/ldconfig
embassy
and compile the applications manually. For example:% cd ./embassy/CBSTOOLS-1.0.0 % sudo ./configure --with-x --enable-64 --with-java=/usr/lib/jvm/java-6-sun --with-javaos=/usr/lib/jvm/java-6-sun/include % sudo make && sudo make install
csh
shell, not the bash
shell, which is Ubuntu's default:#!/bin/csh
setenv CLASSPATH blablabla...
becomes:
#!/bin/sh export CLASSPATH=blablabla...
% sudo ln -s /usr/local/bin/runJemboss.csh /usr/local/bin/runJemboss
% sudo ln -s /usr/local/emboss/share/EMBOSS/jemboss/runJemboss.sh /usr/local/bin/runJemboss % runJemboss &
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:
cutgextract
.tfextract
.aaindex1
/ aaindex2
/ aaindex3
/opt/bio/data/aaindex
aaindexextract
Archive.zip
. After moving to /opt/bio/data/jaspar
and unzipping, the files are under Archive/all_data/FlatFileDir
./opt/bio/data/jaspar
jaspextract
prosite.dat
and prosite.doc
/opt/bio/data/prosite
prosextract
prints<version>.dat.gz
/opt/bio/data/prints
printextract
withrefm.<version>
and proto
/opt/bio/data/rebase
rebaseextract
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:
root
but also be root
; acting through sudo
is not enough:% sudo su