key error: K01566 when using DRAM-v.py annotate
Hi, Thank you so much for providing this powerful tool,I got an error when using DRAM-v.py annotate. My command line is :
DRAM.py annotate -i '/ibex/project/c2252/Chimneys/trim/Metabat/bins/2_bins_dir/2_good_bins/*.fa' -o /ibex/project/c2252/Chimneys/trim/DRAM/2_bis_DRAM_annotation --min_contig_size 1000
#2_good_bins contains 6 .fa files in total
The log file shows: Loading module for DRAM DRAM 1.4.6 is now loaded 2024-01-28 15:11:24,341 - The log file is created at /ibex/project/c2252/Chimneys/trim/DRAM/2_bis_DRAM_annotation/annotate.log. 2024-01-28 15:11:24,349 - 2 FASTAs found 2024-01-28 15:11:24,365 - Starting the Annotation of Bins with database configuration:
2024-01-28 15:11:24,374 - Retrieved database locations and descriptions 2024-01-28 15:11:24,374 - Annotating 2_bac_Gammaproteobacteria_bin.16 2024-01-28 15:11:44,631 - Turning genes from prodigal to mmseqs2 db 2024-01-28 15:11:46,933 - Getting hits from kofam Traceback (most recent call last): File "/ibex/sw/csi/dram/1.4.6/el7.9_conda/miniconda3/envs/DRAM/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc return self._engine.get_loc(casted_key) File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'K01566' The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/ibex/sw/csi/dram/1.4.6/el7.9_conda/miniconda3/envs/DRAM/bin/DRAM.py", line 207, in
for the output file: and for the output files, while I have 6 files in 2_good_bins, the result has only the first files which is 2_bac_Gammaproteobacteria_bin.16
Do you have any suggestions to solve this problem? Thanks in advance.
hello people that fall into the same hole as I did: I tried DRAM1.5 and all issue solved