You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue with the wrap_up method in the emapper.py script, where the script throws a shutil.SameFileError when the source and destination paths for copying a file are the same. This error interrupts the execution of the script, preventing it from completing the annotation process.
Steps to Reproduce:
Run the emapper.py script with input parameters that result in the source and destination paths being the same.
Observe the shutil.SameFileError in the traceback.
Error Traceback:
Traceback (most recent call last):
File "/home/projects/zeevid/barc/.conda/envs/eggnog-mapper/bin/emapper.py", line 708, in <module>
n, elapsed_time = emapper.run(args, args.input, args.annotate_hits_table, args.cache_file)
File "/home/projects/zeevid/barc/.conda/envs/eggnog-mapper/lib/python3.9/site-packages/eggnogmapper/emapper.py", line 358, in run
self.wrap_up(predictor, searcher)
File "/home/projects/zeevid/barc/.conda/envs/eggnog-mapper/lib/python3.9/site-packages/eggnogmapper/emapper.py", line 318, in wrap_up
shutil.copy(full_fname, self.output_dir)
File "/home/projects/zeevid/barc/.conda/envs/eggnog-mapper/lib/python3.9/shutil.py", line 427, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/home/projects/zeevid/barc/.conda/envs/eggnog-mapper/lib/python3.9/shutil.py", line 244, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/home/projects/zeevid/Analyses/2023-VernalPool/2024-Bar_Cohen_analysis/eggNOG-mapper_with_diamond_and_prodigal/cleaned_contigs_annotation.emapper.genepred.fasta' and '/home/projects/zeevid/Analyses/2023-VernalPool/2024-Bar_Cohen_analysis/eggNOG-mapper_with_diamond_and_prodigal/cleaned_contigs_annotation.emapper.genepred.fasta' are the same file
Environment:
emapper-2.1.12 / Expected eggNOG DB version: 5.0.2 / Installed eggNOG DB version: 5.0.2 / Diamond version found: diamond version 2.0.11 / MMseqs2 version found: 13.45111 / Compatible novel families DB version: 1.0.1
I've encountered an issue with the wrap_up method in the emapper.py script, where the script throws a shutil.SameFileError when the source and destination paths for copying a file are the same. This error interrupts the execution of the script, preventing it from completing the annotation process.
Steps to Reproduce:
Run the emapper.py script with input parameters that result in the source and destination paths being the same.
Observe the shutil.SameFileError in the traceback.
Error Traceback:
Environment:
The text was updated successfully, but these errors were encountered: