Factory for building the BLAST search engine