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
(required for PHYLIP compilation)% 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.
Here is the procedure for installing EMBOSS, EMBASSY applications and the Jemboss GUI from source code:
/home/bioubuntu
. Once you are in /home/bioubuntu/EMBOSS-6.3.1
, you need to create a folder called embassy
. In this folder, you will download and decompressed all the EMBASSY applications and remove the archive afterward; the EMBASSY applications are found here. You need to do this since the EMBOSS install script will only compile the applications, not download them for you nor de-arcchived them. Impilo has the following EMBASSY applications: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/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
/home/bioubuntu/EMBOSS-6.3.1
folder to /opt/bio/sources/
. This /opt/bio/sources/EMBOSS-6.3.1
folder should belong to root
and its permissions should be set to 755
.% sudo chown -R root:root /opt/bio/sources/EMBOSS-6.1.0
install-jemboss-server.sh
found under jemboss/utils
. It will ask you if Tomcat and AXIS are downloaded and functional; you say Y
.% 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
Yes
ans since you have downloaded everything at the right location, the default selections are a-ok.clustalw
, and if you say yes, what is the PATH
to the executable. You have to specify /usr/local/bin
(voir ici) and this location is also automatically selected for the next step which is installing the EMBOSS wrapper for primer3_core
./usr/local/share/apache-tomcat-6.0.28/conf/server.xml
file. The easiest way to do so is to open a second terminal to edit the file:% 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>
/usr/local/emboss/bin
, you need to add this to the PATH
. There are many ways of doing so but I chose to modify the /etc/profile
file.% sudo nano /etc/profile
# # EMBOSS specific environment variable # PATH=/usr/local/emboss/bin:$PATH PAGER=/usr/bin/less
PAGER=/usr/bin/less
is added to facilitate navigation into the STDOUT output of the tfm
command, which provides detailed instructions on all applications found in the EMBOSS suite./usr/local/emboss/share/EMBOSS/jemboss/runJemboss.sh
to make sute that is will be working in STANDALONE
mode (it seems that the install-jemboss-server.sh
is not so good at doing so…):# #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 &
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