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

How to generate predicted frame? #161

Open
andrewliu2001 opened this issue Aug 9, 2024 · 1 comment
Open

How to generate predicted frame? #161

andrewliu2001 opened this issue Aug 9, 2024 · 1 comment

Comments

@andrewliu2001
Copy link

andrewliu2001 commented Aug 9, 2024

I understand the ground truth frame is generated by taking the two nearest neighbors of each atom. How is the predicted frame generated? Do you perform two nearest neighbors on the predicted coords?

@amorehead
Copy link
Contributor

amorehead commented Aug 21, 2024

Please see:

pred_frames, _ = self.rigid_from_three_points(pred_three_atoms)

In short, for polymer (protein, DNA, and RNA) residues, their three residue-specific atom indices are predefined according to each residue's canonical backbone structure. You can read what these predefined indices represented in the AF3 supplement. For ligands, for each heavy atom, first and second nearest neighbors are used to determine the remaining two atom indices to construct a frame. For single-atom ligands such as ions, frames can only be constructed if multiple ions exist in the same chain (asym_id). Otherwise, those ions can't be associated with a frame and won't be trained on w.r.t. PAE.

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

2 participants