MMseqs2 icon indicating copy to clipboard operation
MMseqs2 copied to clipboard

Default Threads - createDB Error

Open emilyhyde opened this issue 6 months ago • 1 comments

From my understanding, the default threads for mmseqs is max threads. Because of this, I am working through a clustering protocol for a DB with 17K seqs and creating a MMSeqs DB and trying to allow a max thread usage of 20. No matter how I alter my script or thread options, I get an error "Unrecognized parameter "--threads..."" for my mmseqs createdb command. Is there an alternate approach to determine CPU usage for "createdb"?

emilyhyde avatar Jul 15 '25 17:07 emilyhyde

createdb only recently (and only in git) got multi-threading support. It doesn't have thread support in any released MMseqs2 version, so you cannot pass the --threads parameter to it.

A different way to ensure 20 threads max for all MMseqs2 runs is setting the global MMSEQS_NUM_THREADS environment variable: https://github.com/soedinglab/MMseqs2/wiki#environment-variables-used-by-mmseqs2

milot-mirdita avatar Jul 16 '25 06:07 milot-mirdita