I'm new to Galaxy.
When I read in a fasta file to Galaxy and then try to use it (in a
search) as the query sequence, I get the error message below, although
the uploaded fasta file is present in the history. Can anyone tell me
what the problem could be? Is there some other step I need to do?
Error that appears under "nucleotide query sequence":
"History does not include a dataset of the required format / build"
Are you using BLAST+ in a local install or cloud instance? The problem
may be that the query dataset needs to have the datatype assigned as
"fasta". To do this, click on the pencil icon for the dataset to reach
the Edit Attributes form. Then either scroll down to (or click on the
tab for) the attribute "Datatype" and change to "fasta" and save. [The
UI is undergoing some changes, so you may or may not have the new tabs
style form in your instance yet).
The best mailing list going forward for local/cloud support is
Take care and please let us know if your question has been
Yes, target databases require indexes and *.loc file set-up. Please
this wiki for details. For Genbank data such as NR, FTP the pre-built
indexes and use those (generating them with formatdb is not
See the second section, 'Tips for Installing Tools -> 'Megablast
installation', then down in the wiki again under 'Megablast' for more
detail. The same indexes can be used for BLAST+ (both now are based on
BLAST+). The location of the data can be where you have it - it seems
like Galaxy is looking in the right place for it (it does not go under
genome like the other indexes on the wiki).
Also, make sure the data is uncompressed before you use it. And be
to point to the data into the blastdb.loc file (this appears to be
already based on your error message, but double check).
Hopefully this helps,
It is likely that the path is wrong in the .loc file. It has to point
the actual files, not just the directory. Inside here
is where all the nr.* files are? In that case, the path should be
You will want to open the .loc file in a text editor that allows you
view the whitespace, too, to double check that the columns are single
tab separated and that there are no extra spaces before or after the
data in any individual column. The middle column can contain internal
spaces, but those should be the only spaces in any row. You also do
want any trailing blank/empty lines in the file.
And yes, restart the server. A checklist is at the top of the wiki to