alphafill icon indicating copy to clipboard operation
alphafill copied to clipboard

Coloring by pLDDT

Open prihoda opened this issue 1 year ago • 1 comments

Hi @mhekkel I just want to let you know that Mol* has a native ability to color AlphaFold cif files by pLDDT score.

The example app demonstrates how to activate this behavior: https://github.com/molstar/molstar/blob/master/src/apps/viewer/app.ts

Relevant lines:

https://github.com/molstar/molstar/blob/master/src/apps/viewer/app.ts#L136-L139

https://github.com/molstar/molstar/blob/master/src/apps/viewer/app.ts#L188

https://github.com/molstar/molstar/blob/master/src/apps/viewer/app.ts#L200-L202

https://github.com/molstar/molstar/blob/master/src/apps/viewer/app.ts#L489-L517C1

I'm no expert, I just recently experimented with implementing this logic into Nightingale, you can check the PR here https://github.com/ebi-webcomponents/nightingale/pull/259/files

prihoda avatar Jun 14 '23 12:06 prihoda

You can try it out by drag-and-dropping your CIF file here: https://molstar.org/viewer/

prihoda avatar Jun 14 '23 13:06 prihoda