EddyRivasLab / hmmer

HMMER: biological sequence analysis using profile HMMs
http://hmmer.org
Other
305 stars 69 forks source link

hmmscan cannot utilize multiple threads. #306

Closed dianzhiyong closed 1 year ago

dianzhiyong commented 1 year ago

hmmscan cannot utilize multiple threads. For example, the following code "hmmscan --tblout maweisong_gene.fa.out -E 1e-5 --noali --cpu 8 ./Pfam-A.hmm gene.fa" cannot invoke multiple CPU cores for execution. The Operating System is AlmaLinux

Can you give me some advice ,thank you

cryptogenomicon commented 1 year ago

Yes, it does. (If you check, you'll see the threads running.) But hmmscan scales very poorly across multiple cores, because it is input-bound on all but very fast storage systems. That failure to scale is probably what you mean. We generally don't try to run hmmscan on more than 2 cores.

dianzhiyong commented 1 year ago

Ok, thank you.