This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Improve the performance in Local blast

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

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.

Yes, I'm working on my computer.

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.

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..

1 answer

This biostar thread is what you are looking for

Log in to answer this question.