next up previous contents index
Next: 2.5 Other configuration and Up: 2.4 Database configuration Previous: 2.4.1 Steps   Contents   Index


2.4.2 Examples

For example, to add preformatted nr protein database from NCBI to a wwwblast setup to make it available under blast.html, we will need to:

1. ftp all volumes of nr.##.tar.gz from ftp.ncbi.nlm.nih.gov/blast/db/

2. place the download archives under /db/ directory

3. exact the archive using tar zxvpf nr.##.tar.gz

4. since the multiple volumes are tied together through the nr.pal, we just need to add this alias, without its .pal extension, to blast.rc:

blastp test_aa_db nr

blastx test_aa_db nr

5. add this db to the blast.html and/or blast_cs.html page to make it visible through the pulldown menu:

<select name =" DATALIB">

<option VALUE =" nr"> nr

<option VALUE =" test_na_db"> test_na_db

<option VALUE =" test_aa_db"> test_aa_db

</select>

Note: A formatted BLAST database has mutiple files with the same name but different extensions. The database is called through the base database name without the file extension.


next up previous contents index
Next: 2.5 Other configuration and Up: 2.4 Database configuration Previous: 2.4.1 Steps   Contents   Index
Tao Tao 2006-12-04