forgi.threedee.visual.pymol module¶
-
class
forgi.threedee.visual.pymol.
PyMolRNA
(name, color_modifier=1.0)[source]¶ Bases:
future.types.newobject.newobject
-
add_dashed
(point1, point2, width=0.1, color='purple')[source]¶ Add a dashed line from point1 to point2.
-
-
class
forgi.threedee.visual.pymol.
PymolPrinter
[source]¶ Bases:
future.types.newobject.newobject
-
add_cg
(cg, labels, color_modifier=1.0)[source]¶ Parameters: labels – A dictionary with element names as keys and labels as values.
-
add_stem_like_core
(rna_plotter, coords, twists, stem_len, text, key, color='green', width=2.4)[source]¶
-
draw_bounding_boxes
(rna_plotter, bg, s)[source]¶ Draw bounding boxes for all of the residues encompassed by a stem. But only if there is a pdb file handy.
@param bg: The BulgeGraph @param s: The name of the stem
-