alphafill
alphafill copied to clipboard
Coloring by pLDDT
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
You can try it out by drag-and-dropping your CIF file here: https://molstar.org/viewer/