Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle the SKEMPI data #1

Open
code4luck opened this issue Aug 11, 2024 · 3 comments
Open

handle the SKEMPI data #1

code4luck opened this issue Aug 11, 2024 · 3 comments

Comments

@code4luck
Copy link

hello, when i use python script/process_skempi.py --csv-path $SKEMPI_CSV_PATH --pdb-dir $SKEMPI_PDB_DIR --output-csv-path $PROCESSED_SKEMPI_CSV_PATH --output-pdb-dir $PROCESSED_SKEMPI_PDB_DIR --no-repair to handle the SKEMPI data(downlod from the SKEMPI[csv and PDBs]) its report ERROR: lack "#Pdb'" and "Mutation(s)_cleaned",?
image

@xianquzhe1
Copy link

你好,我也出现了上面的问题,请问解决掉了嘛

@TangHuihao
Copy link

Just add (in file process_skempi.py)
"aggr_data = aggr_data.reset_index()" line
between
"print(f"Fold {i}: {aggr_data.loc[pdbs].shape[0]} entries, {len(pdbs)} unique #Pdbs")" line 103
and "# convert format for subsequent processing" line 104.
it seems work for me for now.
the problem may because Multiindex of the dataframe.
but i still not sure this should be correct or not for the final results.

只需在(in file process_skempi.py)
“print(f"Fold {i}: {aggr_data.loc[pdbs].shape[0]} entries, {len(pdbs)} unique #Pdbs")"
和 "# convert format for subsequently processing" 行之间添加
“aggr_data = aggr_data.reset_index()”。

目前看来对我来说是可行的。
问题可能是因为数据框的多索引。
但我仍然不确定这对于最终结果是否正确。

@xianquzhe1
Copy link

感谢,我也已经解决掉了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants