leylabmpi / Struo

Ley Lab MetaGenome Profiler DataBase generator
MIT License
46 stars 4 forks source link

Error: Incompatible database version #9

Closed marialgk closed 3 years ago

marialgk commented 3 years ago

Hello! I have been trying to run the pipeline, but after running 19%, it fails:

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message

After that, it also shows:

2021-01-21 15:00:08,714 - WARNING: Cannot parse: "Activating conda environment: /lustre/marialaura/databases/metaphlan-struo/Struo-master/.snakemake/conda/24530745"
2021-01-21 15:00:09,439 - Cannot find qacct log: /var/lib/gridengine/default/common/accounting; Skipping
/bin/bash: line 2: mutt: command not found 
/bin/bash: mailx: command not found
/bin/bash: mail: command not found
CalledProcessError in line 47 of /lustre/marialaura/databases/metaphlan-struo/Struo-master/bin/Snakefile:
Command 'set -euo pipefail;  echo 'WARNING: the config & report files could not be attached to this email. Check that "mutt" is installed and properly working.' | mail -s 'Struo => error occurred' marialaura@tuebingen.mpg.de' returned non-zero exit status 127.
File "/lustre/marialaura/databases/metaphlan-struo/Struo-master/bin/Snakefile", line 90, in __onerror
File "/lustre/marialaura/databases/metaphlan-struo/Struo-master/bin/Snakefile", line 61, in send_email
File "/lustre/marialaura/databases/metaphlan-struo/Struo-master/bin/Snakefile", line 47, in email_no_atch

(There are several lines of "Cannot parse", but I did not copied them here.)

And the following is written in the log:

diamond v0.8.36.98 | by Benjamin Buchfink <buchfink@gmail.com>
Check http://github.com/bbuchfink/diamond for updates.

#CPU threads: 8
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
#Target sequences to report alignments for: 20
Temporary directory: ../temp/marialaura/Struo_144115373346666822/MGYG_HGUT_02310/
Opening the database...  [0.088151s]

Error: Incompatible database version                 

Does this regards the Diamond database? I am using uniref50_201901 available at http://huttenhower.sph.harvard.edu/humann2_data/uniprot/uniref_annotated/.

Thank you very much for the help.

nick-youngblut commented 3 years ago

You have to use a database that is compatible with diamond=0.8.36, which is used by humann2.

Struo2 will support humann3 (and updated diamond databases). I will get the code on github very soon

marialgk commented 3 years ago

Thank you very much for the quick response! Do you have a preview of when it will be available?

nick-youngblut commented 3 years ago

Possibly next week

marialgk commented 3 years ago

Hello! Any news regarding Struo2?

nick-youngblut commented 3 years ago

I've just made the repo public: https://github.com/leylabmpi/Struo2

The paper that describes the code and includes benchmarking should be published very soon