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:
blastn -db /nt -query test.fa -out test.results -outfmt '6 staxids' -perc_identity 90 -max_target_seqs 1
I got the same problem ..
Please use ADD COMMENT, this is not an answer.
I have done the same and it works as expected. You are possibly not using the database you want to use. Which version of nt database and blast are you really using?
I am using the nt database downloaded from the ncbi site (downloaded using update_blastdb.pl) and my blast version is 2.5.0 x64-linux.