vConTACT2 | Error in identifying excluded genomes

created at 12-15-2021 views: 8

error

Recently, I ran vConTACT2[1] to compare various macro virus data sets.
A few days have passed, and the analysis is almost over.
However, an error occurred, as follows:

ERROR:vcontact2: Error in identifying excluded genomes (i.e. those dropped for being singletons or outliers): [Errno 2] No such file or directory: '/Users/bolduc.10/Downloads/merged_df_alterntaive.csv'

solution

googled and find the advice given by "Asier Zaragoza Solas": reference

According to the suggestions of the boss, the solution is as follows:
First, open the summaries.py file with vim for editing.

vi ~/miniconda3/envs/vContact2/lib/python3.8/site-packages/vcontact2/exports/summaries.py

Find the following line:

merged_df.to_csv('/Users/bolduc.10/Downloads/merged_df_alterntaive.csv')

Change the directory in single quotation marks to a directory that exists in this machine.

merged_df.to_csv('~/merged_df_alterntaive.csv')
created at:12-15-2021
edited at: 12-15-2021: