phac-nml / mob-suite

MOB-suite: Software tools for clustering, reconstruction and typing of plasmids from draft assemblies
Apache License 2.0
124 stars 33 forks source link

Multithreading #68

Closed ilyavs closed 3 years ago

ilyavs commented 4 years ago

Hello, I am using mob-suite 3.0.0 installed with conda. I ran mob_recon with -n 10 but the blast processes still seem to use only one thread. Am I missing something? Thanks, Ilya.

jrober84 commented 4 years ago

Building the blast databases will always be single-threaded. Ten threads is a lot to provide the program and there may be bottlenecks that are preventing blast from using all of the available threads you are giving it. That being said, it looks like the tblastn calls are stuck at single threaded due to a previous issue with multi-threading in older versions of blast. I will add a fix to use multi-threading with tblastn. Blastn calls will use multiple threads

ilyavs commented 4 years ago

Thank you for your response. I was indeed referring to the tblastn processes which you noted. Thanks, Ilya.