Hi,
Navigating across posts related to BLAST -max_target_seqs
option or about limiting the number aligned sequences to keep, I could not find any definitive answer about whether or not this option can significantly affect the total running time ?
Of course it affects the writing time, in that reporting 5 hits is quicker than reporting a million but, in the case of BLASTs against the nr db for example, the writing time seems often negligible in comparison with the screening-of-the-db-and-alignment time.
So my main question is at the end : Does BLAST stops when "x" sequences are aligned (with -max_target_seqs x
)?
Trying with a few sequences for a reasonable test time let me circumspect whether or not it makes a difference.
From the response : "BLAST does process every sequence in its search set. It does not, as Shah et al. (2018) state, simply return the ‘first N hits that exceed the specified E-value threshold’[...]". So I suppose its is bright clear : whatever '-max_target_seqs' number, BLAST always screens the entiere db. Thks !