MMseqs2: LCA taxonomy raises an unclear error

Expected Behavior

The generation of LCA taxonomy through the following command.

mmseqs taxonomy --threads 36 --search-type 3 \
      --lca-ranks species:genus:family:order:class:phylum:superkingdom \
        data/annotation/putative_genes/nuc_mmseq_DB \
        ${dbdir}/gtdb_54kDB data/04_taxgenes/taxresdb ${dbdir}/tmp/

The taxonomy DB is made through the last release of GTDB without applying a cluster, as discussed in #244 .

The db is as follows:

-rw-r--r-- 1 aauladell bio  54G 28 nov 11:05 gtdb_54kDB
-rw-r--r-- 1 aauladell bio    4 28 nov 11:07 gtdb_54kDB.dbtype
-rw-r--r-- 1 aauladell bio    0 28 nov 15:43 gtdb_54kDB_delnodes.dmp
-rw-r--r-- 1 aauladell bio 3,0G 28 nov 11:00 gtdb_54kDB_h
-rw-r--r-- 1 aauladell bio    4 28 nov 11:01 gtdb_54kDB_h.dbtype
-rw-r--r-- 1 aauladell bio 3,9G 28 nov 11:09 gtdb_54kDB_h.index
-rw-r--r-- 1 aauladell bio 4,3G 28 nov 11:08 gtdb_54kDB.index
-rw-r--r-- 1 aauladell bio 4,6G 28 nov 11:14 gtdb_54kDB.lookup
-rw-r--r-- 1 aauladell bio 2,7G 28 nov 15:43 gtdb_54kDB_mapping
-rw-r--r-- 1 aauladell bio    0 28 nov 15:43 gtdb_54kDB_merged.dmp
-rw----r-- 1 aauladell bio 1,8M 28 nov 15:43 gtdb_54kDB_names.dmp
-rw----r-- 1 aauladell bio 3,0M 28 nov 15:43 gtdb_54kDB_nodes.dmp

Current Behavior

Instead, it raises an out_of_range error with a terminate called recursively after running for 20 hours.

MMseqs Output (for bugs)

Raises the following error:

terminate called recursively
terminate called after throwing an instance of 'std::out_of_range/mnt/lustre/scratch/aauladell/databases/gtdb-r89_54k/tmp//14536420861195881021/taxonomy.sh: line 99: 34258 Aborted                 "$MMSEQS" lca "${TARGET}" "${LCA_SOURCE}" "${RESULTS}" ${LCA_PAR}

The output log: mmseqs_lca_log.txt

Context

Taxonomic classification of a gene catalog with around 500000 seqs.

Your Environment

MMseqs2 Version: 0a1348be78bd84137bdb373ba32e0e8c054b3e1c Which MMseqs version was used: statically compiled (Statically-compiled, self-compiled, Homebrew, etc.): statically compiled Server specifications (especially CPU support for AVX2/SSE and amount of system memory):AVX2 supported, 36 threads and 400 Gb RAM.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Yes, please test the most recent version on the master branch. We fixed a LCA bug.

We will release version 11 of mmseqs2 by the end of the week.

Okay we found the issue. The problem occurs because of : in the --lca-ranks parameter. The seperator should be ;. The description is wrong in our mmseqs help text. So it should be --lca-ranks "species;genus;family;order;class;phylum;superkingdom".

Thank you so much for your help to find it. But we have just noticed that ‘;’ make some issues as parameter. If you would write --lca-ranks species;genus;family;order;class;phylum;superkingdom than bash will only interpret until --lca-ranks species. Luckily this change was not yet part of any release. So we will change it to , and add a proper validation of the input parameter.

Also I did not receive a mail for the stickers. My mail add is themartinsteinegger gmail com 🙂