MrOlm / drep

Rapid comparison and dereplication of genomes
263 stars 37 forks source link

Drep error with fastANI #219

Closed pengfeimm closed 9 months ago

pengfeimm commented 11 months ago

Hi Dr. Olm, Sorry for disturbing you, because I have installed fastANI but it is not working. Some error as below: [youfen.qian@compute-0-4]$ dRep check_dependencies mash.................................... all good (location = /share/data1/private/youfen.qian/software/miniconda3/envs/Compare/bin/mash) nucmer.................................. all good (location = /share/data1/private/youfen.qian/software/miniconda3/envs/Compare/bin/nucmer) checkm.................................. all good (location = /share/data1/private/youfen.qian/software/miniconda3/envs/Compare/bin/checkm) ANIcalculator........................... !!! ERROR !!! (location = None) prodigal................................ all good (location = /share/data1/private/youfen.qian/software/miniconda3/envs/Compare/bin/prodigal) centrifuge.............................. !!! ERROR !!! (location = None) nsimscan................................ !!! ERROR !!! (location = None) fastANI................................. !!! ERROR !!! (location = /share/data1/private/youfen.qian/software/miniconda3/envs/Compare/bin/fastANI)

File "/share/data1/private/youfen.qian/software/miniconda3/envs/Compare/lib/python3.7/site-packages/drep/d_cluster/compare_utils.py", line 298, in secondary_clustering ndb = compare_genomes(bdb, algorithm, data_folder, kwargs) File "/share/data1/private/youfen.qian/software/miniconda3/envs/Compare/lib/python3.7/site-packages/drep/d_cluster/compare_utils.py", line 368, in compare_genomes df = drep.d_cluster.external.run_pairwise_fastANI(genome_list, working_data_folder, kwargs) File "/share/data1/private/youfen.qian/software/miniconda3/envs/Compare/lib/python3.7/site-packages/drep/d_cluster/external.py", line 93, in run_pairwise_fastANI exe_loc = drep.get_exe('fastANI') File "/share/data1/private/youfen.qian/software/miniconda3/envs/Compare/lib/python3.7/site-packages/drep/init.py", line 100, in get_exe raise ValueError("{0} isn't working- make sure its installed".format(name)) ValueError: fastANI isn't working- make sure its installed

Can you give me some suggestion,Thanks. Pengfei.

MrOlm commented 11 months ago

Hi Pengfei,

This is a problem that can happen with older versions of fastANI. Please install the lastest version of fastANI and this problem should go away.

Best, Matt

pengfeimm commented 11 months ago

Thanks Matt, Problem solved well, Thanks again.