ngl icon indicating copy to clipboard operation
ngl copied to clipboard

Two inverse selection on cartoon representation don't line up

Open kiraacorsac opened this issue 4 years ago • 2 comments

image

What I'm trying to achieve is a coloured selection, where the rest of the protein is half-opaque. I believe you can not do this with only one representation - please correct me if I'm wrong. However, if I create two representations and selections like that, they won't line up properly - I've replicated the problem in the NGL viewer on the screenshot.

I there a way to align these representations properly?

kiraacorsac avatar Jun 03 '20 13:06 kiraacorsac

Sorry @kiraacorsac, that is a shortcoming in NGL. We addressed it in our new project Mol* (molstar.org). There you can render individual residues as cartoon and multiple cartoon representations will always line up.

arose avatar Jun 05 '20 01:06 arose

I'm having the same issue, just FYI. If there's a workaround or suggestion for where to look to start fixing it, I'd be willing to help.

garyo avatar Jun 15 '20 13:06 garyo