Installation of TM4 Spotfinder 3.2.1
Additional libraries
None with this procedure. If you decide to start from source code, you will need an old version of the Qt library (no more than 3.3.8) as well as libtiff4-dev
and libgsl0-dev
(already installed for PhyloBayes).
apt-get install libqt3-mt-dev libtiff4-dev libgsl0-dev
Procedure
Our old debate lurks its head again: pre-compiled binary or source code? Source code allows for optimal compilation but in this case, it depends on a rather old version of Qt and some mods of the source code. In addition, the binary distribution has documentation and demo material to help a newbie user; therefore, the binary path was chosen. However, I'll put together a small compilation how-to using my notes for anyone that might be interested
Here is the procedure to install Spotfinder:
- The archive with the executable binary was downloaded from its web location in
/home/bioubuntu
, decompressed and the resulting folder moved in/opt/bio/sources
.
- This folder should belong to
root
and its permissions set to755
.
% sudo chown -R root:root /opt/bio/sources/Spotfinder321Linux % sudo chmod 755 /opt/bio/sources/Spotfinder321Linux
- You only need to make Spotfinder available to all:
% sudo ln -s /opt/bio/sources/Spotfinder321Linux/Spotfinder /usr/local/bin/spotfinder
- To add Spotfinder in the Impilo application menu, you have to edit the Xfce4 configuration file:
% sudo xfce4-menueditor /etc/xdg/xfce4/desktop/menu.xml
- The three items to add are :
- Item: Launcher
- Name: TM4 Spotfinder
- Command: spotfinder