lesstif2
ncbi-data
libncbi6-dev
libvibrant6-dev
% sudo apt-get -y install lesstif2 ncbi-data libncbi6-dev libvibrant6-dev
Here is the procedure to install NJPlot from source code:
/home/bioubuntu
, decompressed and the newly created folder is moved in /opt/bio/sources
.root
and its permissions should be set to 755
.% sudo mv njplot-2.3 /opt/bio/sources % sudo chown -R root:root /opt/bio/sources/njplot-2.3
/opt/bio/sources/njplot-2.3
, you need to edit the makefile
file by changing the following lines with new values:#uncomment and locally adapt next line to fix the full helpfile path name HELPFILENAME = -DHELPFILENAME=\"/opt/bio/sources/njplot-2.3/njplot.help\" # Vibrant top directory VIBRANT = /usr/include/ncbi # motif library directory MOTIFLIB = /usr/lib MOTIFINCL = /usr/include
% sudo make
% sudo ln -s /opt/bio/sources/njplot-2.3/njplot /usr/local/bin/njplot % sudo ln -s /opt/bio/sources/njplot-2.3/newicktops /usr/local/bin/newicktops % sudo ln -s /opt/bio/sources/njplot-2.3/newicktotxt /usr/local/bin/newicktotxt % sudo ln -s /opt/bio/sources/njplot-2.3/unrooted /usr/local/bin/unrooted
% sudo xfce4-menueditor /etc/xdg/xfce4/desktop/menu.xml