flexs.landscapes.rna

Defines RNA binding landscape and problem registry.

class flexs.landscapes.rna.RNABinding(targets, seq_length, conserved_region=None)[source]

Bases: flexs.landscape.Landscape

RNA binding landscape using ViennaRNA duplexfold.

compute_min_binding_energies()[source]

Compute the lowest possible binding energy for each target.

class flexs.landscapes.rna.RNAFolding(norm_value=1)[source]

Bases: flexs.landscape.Landscape

RNA folding landscape using ViennaRNA fold.

flexs.landscapes.rna.registry()[source]

Return a dictionary of problems of the form: `{

“problem name”: {

“params”: …, “starts”: …

}`

where flexs.landscapes.RNABinding(**problem[“params”]) instantiates the RNA binding landscape for the given set of parameters.

Returns

Problems in the registry.

Return type

dict