arzwa / wgd

Python package and CLI for whole-genome duplication related analyses. This package is deprecated in favor of https://github.com/heche-psb/wgd.
http://wgd.readthedocs.io/en/latest/
GNU General Public License v3.0
80 stars 40 forks source link

Is the singularity installation up to date? #56

Open smallfishcui opened 3 years ago

smallfishcui commented 3 years ago

Hi,

I installed the singularity container on a server, and the function --version, and dmd doesn't work. ALso when I try to run mcl analysis, it constantly complains cds file can't be find, or the input folder is read-only, system error.

Traceback (most recent call last):
  File "/usr/local/bin/wgd", line 11, in <module>
    load_entry_point('wgd==1.0', 'console_scripts', 'wgd')()
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/wgd_cli.py", line 293, in mcl
    inflation_factor, eval_cutoff, output_dir, n_threads)
  File "/usr/local/lib/python3.6/dist-packages/wgd_cli.py", line 347, in blast_mcl
    os.mkdir(output_dir)
FileNotFoundError: [Errno 2] No such file or directory: './cds.out'

Can you help with that?

Thanks, Cui

arzwa commented 3 years ago

Sorry, I haven't used Singularity containers in two years, so I have a look whether I can update this. For sure dmd won't work, because the container doesn't include a diamond installation currently. For the error you note above, are you using the commands in the form singularity exec wgd.simg wgd <command>?

smallfishcui commented 3 years ago

Hi, Thank you for the information. Does it run if I have diamond in the PaTH? Yes I run it like that. The help menu runs fine, and then it brokes when running real data.

Cui

On Sat 6. Feb 2021 at 17.13, Arthur Zwaenepoel notifications@github.com wrote:

Sorry, I haven't used Singularity containers in two years, so I have a look whether I can update this. For sure dmd won't work, because the container doesn't include a diamond installation currently. For the error you note above, are you using the commands in the form singularity exec wgd.simg wgd ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arzwa/wgd/issues/56#issuecomment-774491867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZNAZNDXLDUQWGIMRMII3DS5VMBNANCNFSM4XDQQTKA .

Cecilia-Sensalari commented 2 years ago

Hi, There has been an update with Singularity, now it supports diamond and it can print the version (see README).

Cheers, Cecilia