Closed phupe closed 5 months ago
AlphaFill was designed to work with just a single chain. It might do something with multiple chains, but apparently the PAE code is not taking into account multiple chains.
The pae file is the same format as downloaded from AlphaFold. The location used to fetch this data comes from 3d beacons.
Anyway, we're not doing anything special with this data. We were asked to provide the data and use it to calculate scores for placed ligands based on the PAE score of neighbouring atoms. But the results were not convincing and did not add more information. As a result, the pae scores are now filled in in the json file, but that's about it.
Thank you @mhekkel for your feedback.
Dear @mhekkel ,
I used the
--pae-file
file option with my local installation of AlphaFill and got an error.My data
My input fasta file contains 2 proteins:
I ran AlphaFold-multimer.
The PAE json file was generated using the function get_pae_json from the source code https://github.com/google-deepmind/alphafold/blob/v2.3.2/alphafold/notebooks/notebook_utils.py#L146. It corresponds to the format explained in the AlphaFold FAQ (see https://alphafold.ebi.ac.uk/faq). In my opinion, the format is correct and compliant with what your source code expects.
My PAE matrix in the json file is therefore 259x259.
Debug
I have patched the AlphaFill source code to print additional information before the following block: https://github.com/PDB-REDO/alphafill/blob/v2.1.1/src/alphafill.cpp#L774-L775
The values of the following variables in the source code are:
Therefore, the condition
if (not v_pae.empty() and pae.dim_m() != af_res.size())
as259 != 135
is true (https://github.com/PDB-REDO/alphafill/blob/v2.1.1/src/alphafill.cpp#L774) which raised the error.Note that without using the
--pae-file
option, it just works fine.Questions
My understanding is that the PAE matrix should contain the information only for the first chain, is it correct? Or is there anything I did wrong?
Do we expect a better prediction when we provide the PAE matrix, or can I just use AlphaFill without the
--pae-file
.Maybe additional information should be provided in the documentation of the the
--pae-file
option.Thanks.