Monday, May 4, 2009

7) Setting up wwwBlast on Proline server

To setup wwwBlast on proline.bic.nus.edu.sg (at start):

a) In Bioslax, copy the folder containing the formatted blast database (after using formatdb), paste it inside /usr/local/wwwblast-2.2.17, and rename the folder as db.
If there is an earlier db folder in /usr/local, delete it.

b) Copy the whole wwwblast-2.2.17 folder and tar it.

c) Copy the tar file into the directory /home/benjamin in proline.bic.nus.edu.sg using WinSCP. Ultimately you can use the file transfer procedure above if you do not want to leave Bioslax. Login into the proline server using Asif's account, as he has sudo access.

d) Copy the tar file from the directory /home/benjamin into /usr/local in the proline server by using the command:

sudo cp /home/Benjamin/wwwblast-2.2.17.tar.gz /usr/local/wwwblast-2.2.17.tar.gz

The sudo command is used as Asif do not have the complete permissions for the proline server.

e) Untar the tar file (it should be in /usr/local by now!!!) by using the following command:

sudo tar -zxf wwwblast-2.2.17.tar.gz



To setup wwwBlast on proline.bic.nus.edu.sg (with new data):

a) In Bioslax, copy the folder containing the formatted blast database (after using formatdb), paste it inside /usr/local/wwwblast-2.2.17, and rename the folder as db.
If there is an earlier db folder in /usr/local, delete it.

b) Edit the blast.html and rc files (blast.rc, ncbi_blast.rc, psiblast.rc, rpsblast.rc) inside /usr/local/wwwblast-2.2.17 to include the names for the new database.

c) Copy the whole wwwblast-2.2.17 folder and tar it.

d) Copy the tar file into the directory /home/benjamin in proline.bic.nus.edu.sg using WinSCP. Ultimately you can use the file transfer procedure above if you do not want to leave Bioslax. Login into the proline server using Asif's account as he has sudo access.

e) Copy the tar file from the directory /home/benjamin into /usr/local in the proline server by using the command:

sudo cp /home/Benjamin/wwwblast-2.2.17.tar.gz /usr/local/wwwblast-2.2.17.tar.gz

The sudo command is used as Asif do not have the complete permissions for the proline server.

f) Untar the tar file (it should be in /usr/local by now!!!) by using the following command:

sudo tar -zxf wwwblast-2.2.17.tar.gz

3 comments:

  1. The following alternative local BLAST server is probably easier to set up...

    ReplyDelete
  2. The following alternative local BLAST server is probably easier to set up...

    ReplyDelete
  3. http://www.sequenceserver.com is an alternative local BLAST server that is probably easier to set up.

    ReplyDelete