-
Notifications
You must be signed in to change notification settings - Fork 37
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
ANIcalculator not being identified even when it is in the system path? #146
Comments
Hi, I am having the same issue including mash. Were you able to fix this issue? Cheers |
@SebasSaenz Did you download mash and put it in your $PATH? Are you on MacOS? No, I have not been able to fix the ANIcalculator issue, but my mash works I think. |
@TommyH-Tran I am using a cluster with Red-hat. I followed the conda installation, however it seems that something is going wrong. I can see the dependencies in the PATH but dRep shows an error after running. dRep check_dependencies mash.................................... !!! ERROR !!! (location = /beegfs/work/workspace/ws/ho_kezau83-conda-0/conda/envs/drep/bin/mash) I tried to install from scratch and also: conda update mash --force-reinstall Nothing worked. |
Hello all, If the dependency shows up in the path with check_dependencies, the next thing to do is to run dRep in debug mode by including the flag -MO |
Hi @MrOlm, Thank you for your answer. I ran using the -d flag but it did not create any extra folder in the log folder. The error that I can se from one of the log files from my server is related to mash (ValueError: mash isn't working- make sure its installed). I also attached the log file from dRep. Thank you for your help, Best, Johan Sebastián |
Hi Johan, With that error it would be really expected that mash would show up as not working with What happens when you run the command -MO |
Hi, The command gave me the following mash -h bin/mash: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory |
Hi @SebasSaenz - that's your problem. I don't really understand how C++ works (the language that mash is written in), so I cannot help troubleshoot this, but this is the reason mash isn't working. You may be able to fix this problem with mash by googling around or by asking the developers of mash directly. Best, |
Hi, Now it is working for me. First, I create an environment for drep, then I install mash 2.2 and finally drep. Now every dependency is working. Maybe is a problem with mash 2.3. Cheers, Johan Sebastián |
Great! Thank you for the update -Matt |
I also had this issue today, and was able to fix it by forcing a specific version of libgsl (see this issue):
@MrOlm would it be possible to update the dRep bioconda recipe to take this into account? I'm developing a snakemake pipeline that uses conda/mamba to handle dependencies, and am having to manually force the libgsl version. |
Hi @EisenRa , I actually don't maintain the bioconda recipe (someone else uploaded it and made the dependency requirements), but I would also be hesitant to force a specific version of gsl because I'd be worried it would break other people's installations. I do believe you could submit a pull request for ANICalculator through bioconda, though. Best, |
dRep` compare /Users/klemonlab/Downloads/Drep_Ctu_supergroup -g /Users/klemonlab/Downloads/Ctu_supergroup/*.fasta -p 6 -sa 0.98 -nc 0.6 --S_algorithm gANI
Running primary clustering
Running pair-wise MASH clustering
1 primary clusters made
Running secondary clustering
Running 2500 gANI comparisons- should take ~ 41.7 min
Traceback (most recent call last):
File "/Users/klemonlab/opt/anaconda3/bin/dRep", line 32, in
Controller().parseArguments(args)
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/controller.py", line 102, in parseArguments
self.compare_operation(**vars(args))
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/controller.py", line 53, in compare_operation
drep.d_workflows.compare_wrapper(kwargs['work_directory'],**kwargs)
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_workflows.py", line 89, in compare_wrapper
drep.d_cluster.controller.d_cluster_wrapper(wd, **kwargs)
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_cluster/controller.py", line 179, in d_cluster_wrapper
GenomeClusterController(workDirectory, **kwargs).main()
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_cluster/controller.
py", line 35, in main
self.run_secondary_clustering()
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_cluster/controller.py", line 140, in run_secondary_clustering
Ndb, Cdb, c2ret = drep.d_cluster.compare_utils.secondary_clustering(self.Bdb, self.MCdb, algorithm, self.wd.get_dir('data'), wd=self.wd, **self.kwargs)
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_cluster/compare_utils.py", line 298, in secondary_clustering
ndb = compare_genomes(bdb, algorithm, data_folder, **kwargs)
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_cluster/compare_utils.py", line 380, in compare_genomes
df = drep.d_cluster.external.run_pairwise_gANI(bdb, working_data_folder,
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/d_cluster/external.py", line 197, in run_pairwise_gANI
gANI_exe = drep.get_exe('ANIcalculator')
File "/Users/klemonlab/opt/anaconda3/lib/python3.9/site-packages/drep/init.py", line 100, in get_exe
raise ValueError("{0} isn't working- make sure its installed".format(name))
ValueError: ANIcalculator isn't working- make sure its `installed
I am getting the error above saying ANIcalculator isn't working or installed when it is? Not sure how to fix this issue and I am on MacOS.
The text was updated successfully, but these errors were encountered: