BenMinch / PIGv

Pipeline for the identification of giant virus genomes from metagenomic datasets
MIT License
2 stars 0 forks source link

KeyError: 'MirusMCP' #3

Open XiaomengWang0413 opened 3 months ago

XiaomengWang0413 commented 3 months ago

Traceback (most recent call last): File "PIGv.py", line 338, in ncldv_out=ncldv_out[ncldv_out['MirusMCP']>=1] File "/home/xiaomeng/miniconda3/envs/PIGV/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in getitem indexer = self.columns.get_loc(key) File "/home/xiaomeng/miniconda3/envs/PIGV/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc raise KeyError(key) from err KeyError: 'MirusMCP' :Hello, thank you for writing such excellent software, but I have encountered the above problems when running, may I ask how to solve this?

BenMinch commented 3 months ago

This usually comes up when you have a bin that has another mirusvirus marked gene but no MCP. It shouldn't affect other outputs as mirusviruses are resolved at the end.

On Thu, Jun 6, 2024, 3:33 AM Xiaomeng Wang @.***> wrote:

Traceback (most recent call last): File "PIGv.py", line 338, in ncldv_out=ncldv_out[ncldv_out['MirusMCP']>=1] File "/home/xiaomeng/miniconda3/envs/PIGV/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in getitem indexer = self.columns.get_loc(key) File "/home/xiaomeng/miniconda3/envs/PIGV/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc raise KeyError(key) from err KeyError: 'MirusMCP' :Hello, thank you for writing such excellent software, but I have encountered the above problems when running, may I ask how to solve this?

— Reply to this email directly, view it on GitHub https://github.com/BenMinch/PIGv/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT6BLJZ7XXKHJRZ37IUZWDZGAGD5AVCNFSM6AAAAABI4EUGP6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTONJUHA4TSMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>