You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 5 pdbs superimposed. I have a selection of residues 1, 45, 67
I have a line representation, for each PDB: o.addRepresentation("line", {sele: "(1, 45, 67) and (not hydrogen)"})
And I wish the carbons on the selection to be a different color on each PDB. The heavy atoms of the sidechains should stay the standard color (N=blue, O=red, S=yellow, etc).
If I apply a color='green' to the representation, all atoms in the line get the same color. Heavy atoms are lost :(.
I alsot ried a ColormakerRegistry like this:
var schemeId = NGL.ColormakerRegistry.addSelectionScheme([
['green', "(1 or 45 or 67) and .C"]
], "Mutant "+mutantID);
no luck.
Any ideas
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi.
I have 5 pdbs superimposed. I have a selection of residues 1, 45, 67
I have a line representation, for each PDB:
o.addRepresentation("line", {sele: "(1, 45, 67) and (not hydrogen)"})
And I wish the carbons on the selection to be a different color on each PDB. The heavy atoms of the sidechains should stay the standard color (N=blue, O=red, S=yellow, etc).
If I apply a color='green' to the representation, all atoms in the line get the same color. Heavy atoms are lost :(.
I alsot ried a ColormakerRegistry like this:
no luck.
Any ideas
Thanks in advance
The text was updated successfully, but these errors were encountered: