Hi everyone,
I encountered an issues regarding the FileNotFoundError and tried to slove the error.
If you are working with the following jupyter file:
"AF_Cluster-main\data_sep2022\03_KaiBRS_and_pt_muts\KaiBRS_msas_for_AFclusteru 0_analyze_cluster_enrichments.ipynb"
You might going to be encountered this error:
FileNotFoundError: [Errno 2] No such file or directory: 'KaiBRS_msas_for_AFcluster/preds_3r/KAIBRS_163.a3m'
It is because the 'pdb' column retrieve the file as "preds_3r/KAIBRS_163.a3m"
I replaced it with the following code:
df['pdb'] = df['pdb'].str.replace('preds_3r/KAIBRS_', 'KAIBRS_', regex=False)
Hi everyone,
I encountered an issues regarding the FileNotFoundError and tried to slove the error.
If you are working with the following jupyter file:
"AF_Cluster-main\data_sep2022\03_KaiBRS_and_pt_muts\KaiBRS_msas_for_AFclusteru 0_analyze_cluster_enrichments.ipynb"
You might going to be encountered this error:
FileNotFoundError: [Errno 2] No such file or directory: 'KaiBRS_msas_for_AFcluster/preds_3r/KAIBRS_163.a3m'
It is because the 'pdb' column retrieve the file as "preds_3r/KAIBRS_163.a3m"
I replaced it with the following code:
df['pdb'] = df['pdb'].str.replace('preds_3r/KAIBRS_', 'KAIBRS_', regex=False)