This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Is the source code for the NCBI-BLAST service available anywhere?

Hello!

Is the source code for the NCBI-BLAST service available anywhere? In particular, I'm interested in producing the visualization NCBI-BLAST offers, such as the one below, using BLAST results from my own installation. I have searched for the source, but can't find it -- it doesn't seem to be included in the BLAST+ tarball, nor can I find it elsewhere on the NCBI FTP site.

Thank you!

blast ncbi

Thank you for the suggestion. I've looked through the BLAST+ source in some detail in trying to find the web frontend and visualization code, but to no avail. In particular, I can't find any file named Blast.cgi (which appears on the NCBI BLAST web site). Grepping the source for the string "Blast.cgi" or any one of a number of strings that appear in the page source doesn't yield meaningful results, either. As such, the code I'm looking for either isn't included with BLAST+, or is extremely well-hidden.

3 answers

I am reasonably sure that code for the NCBI web interface to BLAST is no longer distributed with BLAST+.

It is still available for the older version of BLAST; the "latest" release (2011) is here: ftp://ftp.ncbi.nih.gov/blast/executables/release/LATEST. Look for the files that begin "wwwblast", but note that the code is not maintained and may be tricky to install.

There are a few other web interfaces to BLAST around (try Google search) which might provide what you want.

Thank you! I suspected as much, but your confirmation helps. I'll e-mail the NCBI people to be doubly sure.

A similar visualization can be achieved with the Bio::GMOD::Blast::Graph module. A similar simple interface can be implemented in pure perl by adapting BlastGraphicViewer.

Required files are in ftp://ftp.ncbi.nlm.nih.gov/blast/executables/legacy/2.2.14/blast-2.2.14-x64-linux.tar.gz (VERY OLD VERSION, newer ones doesn't include www tool)

Apache config: http://blog.pansapiens.com/2008/08/25/setting-up-wwwblast-on-ubuntu-apache/

Log in to answer this question.