Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running BiG-SCAPE #23

Closed
AmayAgrawal opened this issue Jan 16, 2023 · 3 comments
Closed

Error while running BiG-SCAPE #23

AmayAgrawal opened this issue Jan 16, 2023 · 3 comments

Comments

@AmayAgrawal
Copy link

Hi,

I installed BiG-SCAPE (v1.1.5) using conda and trying to use this on my antismash output. However, the execution of the program halts with the following error:

launch_hmmalign took 13.121 seconds
Trying to read domain alignments (*.algn files)
Traceback (most recent call last):
File "/home/myuser/anaconda3/envs/bigscape/bin/bigscape.py", line 2835, in
dir_util.copy_tree(os.path.join(os.path.dirname(os.path.realpath(file)), "html_template", "output"), output_folder)
File "/home/myuser/anaconda3/envs/bigscape/lib/python3.7/site-packages/setuptools/_distutils/dir_util.py", line 139, in copy_tree
raise DistutilsFileError("cannot copy tree '%s': not a directory" % src)
distutils.errors.DistutilsFileError: cannot copy tree '/home/myuser/anaconda3/envs/bigscape/bin/html_template/output': not a directory

I am using the following command to run the analysis python3 bigscape.py -i gbk/ -o analysis/ --pfam_dir ./ -c 16

Can someone please help me with this?

@jorgecnavarrom
Copy link
Collaborator

Hi @AmayAgrawal
Did you install BiG-SCAPE directly from conda? There is indeed an error when installing directly. I haven't had the chance to fix this yet, but I'd recommend the 'traditional' installation for the time being -i.e. installing all the dependencies using conda, then cloning the code, https://github.com/medema-group/BiG-SCAPE/wiki/installation#white_circle-installation-using-conda

@AmayAgrawal
Copy link
Author

Hi @jorgecnavarrom
Yes I installed it directly from conda and somehow figured out last week only that some of the folders that the software needed to run were missing. So, downloaded it from github and got the code to work. Thanks for your suggestion as well

@bdelepine
Copy link

Hello !
I run into the same error installing from the non-recommended bioconda repo. I suggest:

  • deleting or adding a warning to the bioconda repo stating that it should not be used,
  • or adding a warning in the wiki,
  • or fixing the bioconda recipe as installation through conda seems like a desirable feature.

The bioconda recipe uses pip and setup.py to install BiG-SCAPE. It looks like there are two issues with this file:

HTH, best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants