blastn -no_greedy switch
1
0
Entering edit mode
9.9 years ago
pld 5.1k

Does setting the -no_greedy switch make blastn behave like Smith-Waterman? The documentation states that the switch allows blast to "use non-greedy dynamic programming extension". It isn't clear to me what the impact of this switch will have. Does anyone know?

blastn alignment local alignment blast ncbi • 2.8k views
ADD COMMENT
0
Entering edit mode
9.9 years ago
Asaf 10k

BLAST will never behave like Smith-Waterman. This option is only applicable using megablast (searching for almost identical sequences), if I understood correctly it will skip the dynamic programming that follows the initial word matching and use greedy algorithm to extend the identical word.

ADD COMMENT
0
Entering edit mode

It seems to run if I set -task blastn. I am not sure I agree, the help for -no_greedy says: Use non-greedy dynamic programming extension.

ADD REPLY
0
Entering edit mode

Have a look at table C2 here. Maybe it won't have an effect with -task blastn

ADD REPLY
0
Entering edit mode

I realize that it is supposed to work with megablast, I was just saying that it seems to run with blastn as well. Also, it isn't completely true that BLAST will never behave like SW, BLASTP has a flag that forces SW alignments. That is sort of what I'm confused about here: I don't think it is causing megablast to behave like SW, but it is changing the way alignments are generated.

ADD REPLY

Login before adding your answer.

Traffic: 2567 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6