Every time I try to run Blastn with 'staxids' specified in the outfmt section, I only get a file full of 'N/A's on ever line! Can someone please explain how they have been able to extracts Taxids when using blastn? I've already downloaded taxbd and exported the BLASTDB variable containing the path to me Taxonomic database. here is an example of how I've used the command:

I think doing either of the above two steps will work but I did both anyways!

Not sure if this step is necessary in any way (perhaps this is me being superstitious/plain dumb) but I did this too anyways:
Copied taxdb.btd and taxdb.bti from /bin to also where my query fasta file was.

I don't anymore get staxids as N/A while doing blastn. Hope this helps you folks!