Entering edit mode
10.1 years ago
biolab
★
1.4k
Hi everyone,
Could anyone explain in a little bit more details what's the difference for the options max_target_seqs
and num_alignments
. If I only want the top hit, how to do in BLAST setting?
Thank you very much!
I am afraid that is not what max_target_seqs does: https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/bty833/5106166
See https://blastedbio.blogspot.com/2018/11/blast-max-alignment-limits-repartee-one.html and https://blastedbio.blogspot.com/2018/11/blast-max-alignment-limits-repartee-two.html for more details - all of
-max_target_seqs
,-num_descriptions
and-num_alignments
set an internal limit during the search as well as limiting the output.and this is a reply from NCBI that the way blast works in case max_target_seqs set to 1 as proposed in this letter is not true. It seems that blast reports the first best hit found in the database ONLY in the case where e-value and bit score from multiple hits are the same which is why they recommend setting this parameter to at least 5 and then do the filtering. I don't know what is the chance you have 2 hits with these values being exactly the same, but if this is not the case, the reported hit is indeed the best hit considering all hits found in the database. Please someone correct me if I got it wrong. :)
https://academic.oup.com/bioinformatics/article/35/15/2699/5259186
Thank you, Siva. Your comment is really helpful.