Using command line blast v. 2.2.31+ the neither of the following commands will return only 2 subjects per query:
blastn -query multiple_sequences.fa -db database -task blastn -dust no -outfmt "7 std" -max_target_seqs 2 -out outputfile
blastn -query multiple_sequences.fa -db database -task blastn -dust no -outfmt "7 std" -num_alignments 2 -out outputfile
There are a few posts about this, but none related to submitting with multiple sequences in the fasta. Any ideas why these commands do not work for only outputting two subject sequences per query?
Look for this command; I think it is.