A quick and esay tutorial to set up a local www-BLAST server for Blast2GO under Linux Kubuntu or Ubuntu in 10 easy steps:
-
Install an Apache Web Server (works automatically in ((k)ubuntu)
$> sudo apt-get install apache2
Install a csh shell (needed by the Blast Programm, automatically)
$> sudo apt-get install csh
Copy the unzipped blast folder in /usr/lib/cgi-bin/ and adjust permissions:
$> tar xzvf wwwblast-2.2.18-ia32-linux.tar.gz
$> cp -R wwwblast-2.2.18-ia32-linux.tar.gz /usr/lib/cgi-bin
$> chmod -R 755 /usr/lib/cgi-bin/blast
Copy your sequence database (e.g. your_new_db) to the blast DB directory (/usr/lib/cgi-bin/blast/db)
(Note that this DB has to be created previously from a fasta file making use of the “formatdb” command)
$> cp -R your_new_db.* /usr/lib/cgi-bin/blast/db
Add your database to the www-blast configuration file in (/usr/lib/cgi-bin/blast/blast.rc). Behind the algorithm (blastp, blastx) you want to use put your database name (without extensions) seperated by a white space e.g. blastx test_aa_db your_new_db
Add you database and the www-blast path to the B2G properties file (/home/your_user_name/blast2go/blast2go.properties)
Blast.blastdbs=nr,swissprot,your_new_db
-
(seperated from others by a white space)
Try the blast server (html and cgi) in a web-browser
-
-
Try the local Blast installation with Blast2GO setting the corresponding parameters in the Blast dialog.
-
choose the Blast DB: your_new_db
choose the correct Blast Program.
choose the right Blast Mode:
WWW-Blast
and press PLAY

Good luck!
(author: Stefan Götz)
PD: Another tutorial on how to set up a www-blast server can be found here:
http://blog.pansapiens.com/2008/08/25/setting-up-wwwblast-on-ubuntu-apache/