Closed nataquinones closed 1 year ago
Thanks for reporting. That is a strange error. I've pulled a Singularity container that was generated by conda
and mash worked correctly there. GSL is a scientific compute library in C++ that perhaps was corrupted causing mash to fail.
Will try to replicate this behaviour trying to install MOB-suite in a fresh Ubuntu 21.04 container using conda.
You can also run MOB-suite in a Singularity container on HPC cluster, but it is slower than running natively in conda but you do not need to wait for databases initialization and your runs are historically replicable.
singularity build mobsuite.sif docker://quay.io/biocontainers/mob_suite:3.1.0--pyhdfd78af_0 && singularity exec -B .:/mnt mobsuite.sif mob_recon -i /mnt/assembly.fasta -o /mnt/mob-results"
Hello,
I recently encountered this same issue. As per conda env export my libgsl version is - gsl=2.7.1=h6e86dc7_1
.
I downgraded to gsl version 2.5 as follows (into my mobsuite environment): mamba install gsl=2.5
The logic was 'libgsl.so.25' from the error message may be gsl version 2.5 but perhaps a different version would work also. Either way, this version seems to work fine... This made mob_typer run to completion and stopped that earlier error message coming up. Additionally mob_recon, which previously was only flagging IS elements, now correctly flags plasmids as well and gives a more extensive output.
Cheers
TL;DR; I think there's a problem with
mash
/gsl
in theconda
installation. This causesmob_init
to fail (silently) in the "Sketching complete plasmid database" step.When trying to run
mob_typer
, I encountered the following error:It seems that
mob_init
is not creating thencbi_plasmid_full_seqs.fas.msh
file, but it doesn't report this error. When trying to runmash
in themob_suite
conda
created environment, it shows the following error:I first solved the problem by doing a fresh
mash
installation in a new environment, and manually creatingncbi_plasmid_full_seqs.fas.msh
with the following command:I then realized that downgrading
gls
from2.7
to2.6
version in themob_suite
environment also solves the problem.Full details:
After installing
mob-suite
withconda
in a new environment, I tried runningmob_typer
and I was getting the following error:I then tried to run
mob_init
, and it said it had completed successfully:I tried to run
mob_typer
again, but kept getting the sameWarning! Needed database missing
error, and noticed thencbi_plasmid_full_seqs.fas.msh
was not being created.If I try running
mash
in mymob_suite
environment, and I get the following error.Let me know if there are any other details that would be helpful! It's an awesome tool! :)