MATLAB: How to pass multiple database files to BLASTLOCAL in the Bioinformatics Toolbox 7.8 (R2009a)

Bioinformatics Toolboxblastlocaldatabasefilesmultiple

My BLAST Database is contained in four separate files. How do I input all four files to BLASTLOCAL?

Best Answer

The files corresponding to the database should begin with a database name and differ only in their extension. i.e.: nr.00.pin, nr.01.pin, nr.02.pin, nr.03.pin
To use all required files in the blast query, pass the name of the database to the BLASTLOCAL command. For example:
results = blastlocal('inputquery', 'myquery.fa', 'database', 'nr', 'program', 'blastx')