Opened 3 years ago
Closed 3 years ago
#7811 closed enhancement (fixed)
Make initial color of molecular surfaces match ribbons
Reported by: | Tom Goddard | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Surface | Version: | |
Keywords: | Cc: | Elaine Meng | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Currently the initial color of molecular surfaces uses color by chain (for per-chain surfaces). But many atomic models are initially shown using color by polymer, so the surface colors don't match the initial atomic model color. Also some atomic models (4 or fewer chains) show all chains as the same color but new surfaces have different colors for each chain.
I think it would be better if molecular surfaces had initial colors that matched the atomic model colors. Often the atoms of chain are not all the same color, for instance ligands are often colored byhet. But the ribbons are usually given a single color per-chain, so having the surface color match ribbon colors might be best.
Currently surfaces start with a single color. What if the residues of a ribbon have different colors? Should the surface be multicolored? I think it should still be single color. In that case we might use the average ribbon color of the residues.
Change History (6)
comment:2 by , 3 years ago
And is "fromribbons" the correct term (vs. "fromcartoons")? Which term do we use in commands (or support both?)?
follow-up: 3 comment:3 by , 3 years ago
I would favor "fromcartoons" or both (fromcartoons, fromribbons) -- I believe that we generally support both, but I give "cartoon" top billing because the tube helices aren't ribbons.
follow-ups: 4 5 comment:4 by , 3 years ago
Ok I've made both fromcartoons and fromribbons do the same thing.
comment:5 by , 3 years ago
Yes "color fromribbons" will make a multicolor surface if the residues have different ribbon colors, while the initial surface display I suggest should be a single color. Currently surfaces start with a single color. Gaussian surfaces (with resolution specified) don't have atom associations so can't be easily colored by residue. I'm not sure there will be much demand for coloring the surface using this initial surface rule and in most cases "color fromribbons" will do that. So I don't foresee the need to add another color command to color surfaces by average ribbon color.
comment:6 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Done. In 1.6, not in 1.5.
Made the initial molecular surface color be the average of the cartoon colors for the residues defining the surface. This seems like a big improvement.