Dear 5heikki,
That's really great, thank you very much! My goal is to find a correct way to search for the best hit.
It turned out to be rather complicated. "Sorting for best hit" - could you, please, explain to me, how to do it correctly!
My seqs are from NCBI. Honestly, I don't know how to do this second part: "you could include taxid_map in makeblastdb arguments and make use of that in blastp". It would be extremely useful to me to learn this. Please-please-please, give me more details! Many-many thanks!
You will need to learn how to compare one against one before attempting all vs all. Yes using "for" in linux will be important, but what do you hope to achieve? What kind of comparison? I feel this task is too large, all vs all is not going to be meaningful.