In order to compare query sequences against reference sequences, you must create a blastdb of your reference(s). This is done using makeblastdb which is included when you install blast.
makeblastdb -in <input fasta> -dbtype nucl -out <label for database>
So if you had a file referen...