-
Notifications
You must be signed in to change notification settings - Fork 695
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
Possibility to enforce cis/trans isomer using a user-defined CCD input? #237
Comments
Hi, one thing to check is that you are putting the coordinates in |
Hi Josh, thanks for your reply! I tried these options and did not succeed in getting the model to predict the cis isomer of my side chain (although I was unable to use a SMILES string as the ligand is covalently bonded to my protein). Thanks for your suggestions though, they were very helpful - I suspected it might not be possible to get AF3 to use the new coordinates, but it's really useful to have that confirmed as a possibility by the authors. |
Ah, if it is covalently bonded one can define the combined residue+ligand as a single custom input non-standard residue (ptm). It can be defined by a cif or smiles - worth trying. |
Would you mind providing an example of how I would specify the non-standard residue as a SMILES string in the input json? I can't work out where in input json I should specify the SMILES string for a ptm. Thank you! |
Hello, the following JSON illustrates the concept -- you will have to replace the sequence, pTM position and the user CCD with your data: {
"name": "Protein with custom pTM",
"modelSeeds": [1],
"sequences": [
{
"protein": {
"id": "A",
"sequence": "...",
"modifications": [
{
"ptmType": "YYT", # Or YYC.
"ptmPosition": <position of your pTM residue>
},
]
}
}
],
"userCCD": "data_YYT\n...", # Fill this in with the exact data for YYT/YYC.
"dialect": "alphafold3",
"version": 1
} Please refer to https://github.com/google-deepmind/alphafold3/blob/main/docs/input.md#user-provided-ccd which documents how to provide user CCD. |
Apologies, I'm still uncertain how to provide the modified residue as a SMILES string in the "userCCD" entry - when I try I get the following error, so I'm not sure how to get it to switch from expecting a cif format description of my modified residue to a SMILES string:
Thanks very much for your help! |
Hello,
I am currently running AlphaFold3 to predict the structure of a protein containing a non-canonical amino acid that can occupy two different isomer states (cis and trans).
The predictions look very good, however regardless of whether I provide coordinates for the cis or the trans isomer in my input CCD, alphafold3 always predicts the trans isomer. Based on the first response to this previous issue (#212), I made the following edits to the
get_reference
function infeatures.py
(line 1502 onwards).I was hoping that this would ensure AF3 uses the reference coordinates in the CCD file string I define rather than using RDkit to build the molecule. However, although based on the printed output AF3 is now using the reference coordinates I have provided,the output predictions still predict the trans isomer.
I was therefore wondering if it is possible to instruct AF3 to predict the cis isomer of a small molecule, or whether it will always predict the more stable isomer state.
Thanks very much for your help!
The text was updated successfully, but these errors were encountered: