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

AF2-Like colouring on structures not loaded from AFdb #20

Open
a-r-j opened this issue Nov 13, 2022 · 3 comments
Open

AF2-Like colouring on structures not loaded from AFdb #20

a-r-j opened this issue Nov 13, 2022 · 3 comments

Comments

@a-r-j
Copy link
Collaborator

a-r-j commented Nov 13, 2022

Hi @arose,

Is there an easy way to colour structures according to the pLDDT scheme for AF2 structure? I've added support for ESMFold in #19 but I've not been able to figure out an easy way to colour based on uncertainty.

@a-r-j
Copy link
Collaborator Author

a-r-j commented Jan 5, 2023

Hey @arose any chance you know of a solution?

@arose
Copy link
Member

arose commented Jan 15, 2023

Last time I checked esmfold was not using model cif files with plddt score but reusing/misusing the bfactor field. You would need to write a custom color scheme or use the uncertainty coloring with adjusted default params.

@a-r-j
Copy link
Collaborator Author

a-r-j commented Jan 15, 2023

@arose Ah, I see. I think it would be a nice feature to support (mis)using the B factors with this particular colouring scheme. It would support 1) PDBs downloaded from AFDB (rather than retrieved via Mol*) 2) ESMFold PDBs 3) PDBs are still the main format for the ML community writing structural output.

P.S. There is a CIF API for ESMFold which does colour correctly when viewed in Mol*.

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