forgi 2.0.0 documentation

«  forgi.threedee.model.stats module   ::   Contents   ::   forgi.threedee.utilities package  »

forgi.threedee.model.transform_cg module

class forgi.threedee.model.transform_cg.CGTransformer(bg)[source]

Bases: forgi.graph.transform_graphs.BGTransformer

condensed()[source]

Return a condensed copy of the CoarseGrainRNA.

See superclass docstring for definition of condensed.

In the case of CoarseGrainRNA objects, the 3D coordinates are not affected by condensing the RNA. This means that stems which has multiple base-pairs have the same length as 1-bp stems in the condensed version.

«  forgi.threedee.model.stats module   ::   Contents   ::   forgi.threedee.utilities package  »