Closed partrita closed 1 year ago
oh, i got it. each file has PDB ID in it. then this code should be work.
./DockQ.py 1a14_pred.pdb 1a14.pdb
./DockQ.py examples/1a14_pred.pdb examples/1a14.pdb -native_chain1 A H -model_chain1 A HTraceback (most recent call last):
File "/home/fkt/Downloads/abdockgen/DockQ/./DockQ.py", line 732, in <module>
main()
^^^^^^
File "/home/fkt/Downloads/abdockgen/DockQ/./DockQ.py", line 569, in main
native=make_two_chain_pdb_perm(native,nat_group1,nat_group2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fkt/Downloads/abdockgen/DockQ/./DockQ.py", line 447, in make_two_chain_pdb_perm
f.write(change_chain(pdb_chains[c],"A"))
~~~~~~~~~~^^^
KeyError: 'A'
Hi @partrita,
I wish the author would have uploaded the script for reproducing the validation of docking pose quality.
The output of HERN e.g.1a14_pred.pdb
is only the antigen (chain A) and the CDR-H3 region (chain H). You are getting the error because you are comparing the output of HERN with the complete complex. Thus first you need to create the native pdb (groundtruth) in the same structure as the output from HERN. You can use the script that I created for this purpose.
https://gist.github.com/philippschw/337360ea23a391ee557d12c04fce4cde
Hope it helps!
Hi @partrita, I wish the author would have uploaded the script for reproducing the validation of docking pose quality. The output of HERN e.g.
1a14_pred.pdb
is only the antigen (chain A) and the CDR-H3 region (chain H). You are getting the error because you are comparing the output of HERN with the complete complex. Thus first you need to create the native pdb (groundtruth) in the same structure as the output from HERN. You can use the script that I created for this purpose. https://gist.github.com/philippschw/337360ea23a391ee557d12c04fce4cdeHope it helps!
Thank you! It help.
unzip the
train_data.jsonl.gz
fileInstall dependancy
I use mamba forge to python package manager, therefore
DockQ install
After that I executed training script.
outputs
dock CDR-H3 paratopes onto their corresponding epitopes
It produced PDB files like this.
I was wondering how to do evaluate those docked structures by DockQ.
In DockQ repo, there is a short instruction like this.
but I don't have a native pdb file, right?