Improve the performance in Local blast
1
0
Entering edit mode
8.7 years ago
Mona_AAA • 0

I set up a local blast and I have a large sets of queries and a large database. The search takes minimum 15 minutes using blastn- short.

I am using python as a parser and I would like to ask if there is any way to improve the performance. Parallel computing, multithreading or any thoughts? I know about the parameter num_threads, but is it the optimal solution?

Thank you

python local blast performance • 2.8k views
ADD COMMENT
1
Entering edit mode

Are you using a single computer or a cluster? Can you provide details about the hardware? If you have a standalone computer then num_threads may be the only practical option.

ADD REPLY
0
Entering edit mode

Yes, I'm working on my computer.

ADD REPLY
0
Entering edit mode

What sort of hardware do you have (1 or > 1 CPU, RAM)? With a single CPU your best bet is to use multiple threads for blast.

ADD REPLY
1
Entering edit mode

Unless his CPU supports at least 8 threads, he has enough RAM and fast IO, in which case it would probably be better to run two num_threads 4 jobs in parallel instead of just one num_threads 8 job..

ADD REPLY
1
Entering edit mode
8.6 years ago

This biostar thread is what you are looking for

ADD COMMENT

Login before adding your answer.

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