Ribbons and Other Image Issues (May-Aug 2015)

Disclaimer: Pymol descriptions below are based on its wiki and other online information, including published images, as opposed to actual usage.

2016 update below.

Integration of ribbons with related representations and measurements

Ribbons would ideally be integrated with tubes, pipes and planks, and perhaps axes. In Chimera1, worms are already specialized ribbons. By integration I mean that cylindrical pipes should be alternative representations of the protein helical secondary structure elements (SSEs), and planks are alternative representations of protein strand SSEs, and they both replace ribbons for those SSEs rather than being shown independently of them, which is confusing.

It would be preferable to allow for planks with (smoothed) curvature, as twisted sheets with curved strands are the rule rather than the exception. Further, it has been suggested that cylinders could also be curved; I have less of an opinion on that, but supercoiled helical bundles are also not uncommon. Integration with axes means that SSE axes could be used in distance and angle measurements, at least in the case of noncurved representations. If curved-cylinder and curved-plank representations are allowed, coexisting straight-line axes would be needed for such measurements.

Pymol uses the term cartoon, and in such representations, cylinders and ribbons are alternative displays of protein helices:

Chimera's ring fill and abstracted nucleotide representations could also fall within the cartoon terminology, as in Pymol, or maybe nucleotides slabs/tubes/ladders should remain a distinct set of options, and ring fill and bond multiplicity display (e.g. aromatic) lumped with atom/bond representations rather than ribbons/cartoons. Then only the items suggested for integration above would be lumped together as cartoon.

Our current implementation of pipes/planks and nucleotides as VRML models is limiting in several ways, such as subpart selection and transparency rendering.

I would also like to see the Chimera1 concepts of ribbon representation (cross-section) and scaling (secondary-structure-specific dimensions) combined into a single concept of style in Chimera2. The separation is confusing. See Chimera2 command-structure thoughts.

Ribbon path and smoothing

We also want the sidechains to connect nicely to the ribbon, but there is a tradeoff with making the ribbon path look smooth. If the ribbon path is smooth, it deviates from the real positions of the backbone atoms and the sidechain attachments can be too long or too short. There will need to be options for smoothing or not smoothing. We already have these in Chimera, but surely there are many different ways of splining and smoothing.

In Chimera, cardinal spline with strand-smoothing is a reasonable compromise, but I often see weird kinks and candy-wrapper-like twists (top right and far right; far right molecule is 4r0b from example 2). This twisting has been fixed (b40549 30 Apr 2015, bottom right, ticket 13919), but it's still not possible to get the strands very smooth. I might like for strands to look like B-spline and helix/coil to look like cardinal spline. Currently the spline is set for a whole molecule model.

Pymol has options to (independently) smooth or not smooth loops, strands, and helices:

See also: User Oliver Clarke's ribbon/cartoon suggestions:

Pymol popularity for images

I see a huge number of Chimera citations where Chimera is used for some analysis but Pymol is used for most or all of the images. Most Pymol ribbon images I see have non-smoothed loops but smoothed strands. I'm not particularly crazy about the fancy (beaded-edge) ribbons, which seem to be gradually decreasing in prevalence. I believe the popularity of Pymol vs. Chimera for image purposes arises from:

Examples

Example 1. Detached sidechains in Chimera. Left: Pymol Fig 3 in Ben-David et al., JMB 427:1359 (2015), middle: Chimera B spline (default, session) showing detached sidechains, right: Chimera cardinal spline.

Apparently they hand-labeled the figure, since the top two distances are swapped. There are some differences in secondary structure assignments even though I used the structure deposited by the authors. Backbone atoms of residues 166,185,186 are shown along with ribbon, so I had to use ribbackbone in Chimera (applies to whole model, not individual residues). Note some sidechains, especially the Asn near the bottom right, are floating away from the ribbon with B spline (middle). I colored the distance monitors black; I tried using dotted lines, but there was too much space between the “dots.” Another nondefault setting is shadows, but I don't recommend them for ribbons/sticks anyway. They seem more distracting in Chimera than in Pymol. I didn't use silhouettes in Chimera; the frontmost items may be a bit more clearly demarcated in Pymol.

Example 2. Another ribbon spline example, plus interaction of depth-cuing and silhouettes. Left: Pymol Fig 2 in Schiefner et al. Biochem J 266:95 (2015), top middle Chimera thin silhouettes with depth mist, default lighting, default ribbon spline, top right: same as previous except shininess reflectivity set to 0 (session), bottom middle: same as previous except cardinal spline, bottom right: same as previous except cardinal spline smooth strand.

It was hard to reproduce the views with the slightly different ribbon path than in Pymol, and slightly differing secondary structure assignments** and different residue at top left even though I used the PDB structure deposited by the authors. I also tried to get similar colors but they aren't exactly the same. Probably a lot of lighting things are different, but I didn't mess with it other than to turn off reflectivity. The Pymol image probably has more ambient lighting (less contrast). Note Chimera silhouettes are not faded by the depth-cuing mist.

If I were just making a ribbon/stick figure in Chimera instead of trying to reproduce a Pymol figure, I'd turn off both shadows and depth-cuing, and probably also decrease the contrast in addition to reflectivity (example). It is a matter of taste and artistic judgement, however.

** Later discovered that what Pymol shows as broader ribbon segments are shortened on either end from the corresponding SSE residue ranges in the input PDB file (details...).

Example 3. Molecular surface and lighting. Left: Pymol (albeit uncited) Fig 6A in Ahuja et al. Structure 23:713 (2015), molecular surface of 4nnp chain A, right: Chimera molecular surface, vertex density 10, shadows, lighting defaults (session).

Note the increased ruggedness of the true (or true-ish) Connolly surface in Chimera compared to the smooth molecular surfaces I usually see in Pymol images. Even in the best case (vertex density high enough to avoid obvious pointiness and angles) it is obvious that there are many more specular highlights on the Chimera surface. I didn't bother with trying to match colors or lighting directions. Again, the lighting seems a bit more harsh in Chimera.



Examples of things not in Chimera1

Example 4. 3D dashed lines, Pymol Fig 7B in Cappadocia et al. Structure 23:126 (2015).
Example 5. Cylinders integrated with ribbons, Pymol Fig 2 in Gristick et al. Nat Struct Mol Biol 21:437 (2014). See also Fig 3C in Ren et al. Science 349:187 (2015) for an example of color-banding on a cylinder.
Example 6. Nucleotide broken ladder and “fancy ribbons,” Pymol image by Boghog2 licensed under public domain via Wikipedia, see Heat_shock_factor. For some especially clear and crisp Pymol fancy ribbons, see Figs 1,4 in Rajan et al. 2015.
Other (and there must be more... )

More Cartoon Thoughts & Issues (Aug 2016 onward)

Cartoon-related bugs: