How to use a different window size for TBLASTN?
1
0
Entering edit mode
8.1 years ago
islama • 0

Hi, I am relatively new user of BLAST. I am trying to use a different window size than the default 40 for comparison with another local alignment tool. But no luck so far. Is there any way to define a different window size for TBLASTN? Any help would be highly appreciated.

blast local alignment • 2.9k views
ADD COMMENT
1
Entering edit mode
8.1 years ago

I assume you're using command-line blast+

tblastn -help says:

-window_size <integer, &gt;="0"> Multiple hits window size, use 0 to specify 1-hit algorithm

ADD COMMENT
0
Entering edit mode

Thanks for the reply. However, I am not using BLAST+ bcoz my interest is Tblastn.
I have tried following commads and got the following error:
blastall -i <query_file.fa> -d <db_file.fna> -W 3 -p tblastn -o <output_file> -window_size 20
[blastall] ERROR: Frame shift penalty (OOF algorithm for blastx) [indow_size] is bad or out of range [? to ?]
Any idea what went wrong? Meanwhile, I am following this link: http://www.ncbi.nlm.nih.gov/books/NBK279675/.

ADD REPLY
0
Entering edit mode

I see you're using the "old" blast then

The -window_size flag is only for the "new" blast+, in the "old" one it's -A:

-A Multiple Hits window size, default if zero (blastn/megablast 0, all others 40 [Integer] default = 0

ADD REPLY
0
Entering edit mode

Thank you. It worked.

ADD REPLY

Login before adding your answer.

Traffic: 2388 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