-
Notifications
You must be signed in to change notification settings - Fork 603
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
Question about Post-Translational Modifications (PTMs) in Protein Prediction #54
Comments
I spent some time analyzing the source code and found that: During the alphafold3/src/alphafold3/model/features.py Lines 444 to 445 in 2ffe43f
This relies on
alphafold3/src/alphafold3/common/folding_input.py Lines 912 to 914 in 2ffe43f
alphafold3/src/alphafold3/common/folding_input.py Lines 235 to 236 in 2ffe43f
This means that the In the alphafold3/src/alphafold3/structure/structure.py Lines 1940 to 1945 in 2ffe43f
So, if I understand correctly, if a CCD code from the Then I further checked Therefore, I think there should be a restriction on which CCD codes can be used in PTM (e.g. they must be recorded in Please let me know if I’m wrong. Thanks. |
"MAN" is a glycan and should be defined as a bonded ligand, see https://github.com/google-deepmind/alphafold3/blob/main/docs/input.md#bonds Please note that converting AlphaFold-Server JSONs containing glycans is not currently supported, see https://github.com/google-deepmind/alphafold3/blob/main/docs/input.md#glycans For PDB examples where a cif already exists, one can create the input json from the cif using from_mmcif in the folding_input class: https://github.com/google-deepmind/alphafold3/blob/main/src/alphafold3/common/folding_input.py#L795C7-L795C17 (we will add this info to the input docs soon) |
On, your follow up message, thanks for digging into the code!
Good find - we will look into this. |
@wtni-gidle I encountered a similar question while working on my modified sequence. Following your guidance, I successfully ran a modified example. Here’s the case: If you want to apply modifications at positions 2 and 5, changing them to To resolve this, you can refer to the reversed mapping dictionary from |
I am just looking at this for the first time today, I am confident we will have an elegant solution with the x mutation in the run_inferance in due time. I am just good at typing creative solutions, my Old Man is M.D.. Let me load up pycharm. |
Thanks for providing the AF3 source!
To test AlphaFold3 using the example 7BBV provided by AlphaFold3 server, I used the following JSON file as input:
However, during the
run_inference
stage, the following error occurred:Upon inspecting the error, I observed that:
Is it necessary for me to modify the input file, or is there a bug in the source code?
Thanks.
The text was updated successfully, but these errors were encountered: