ViennaRNA-bindings-0.1.1.0: ViennaRNA v2 bindings

Safe HaskellNone

BioInf.ViennaRNA.Bindings

Description

Bindings to important functions in the ViennaRNA library.

Synopsis

Documentation

mfe :: String -> IO (Double, String)Source

Fold a sequence into an optimal secondary structure. Returns a pair of energy and structure.

eos :: String -> String -> IO DoubleSource

Given a sequence and a structure, returns the energy of the sequence/structure pair.

part :: String -> IO (Double, String, Array (Int, Int) Double)Source

Given a string, calculates the partition function for said string. Returns the ensemble energy, a string with where each nucleotide position is annotated with the strength of the potential pairing, and the whole base pair probability table.

coeos :: String -> String -> Int -> IO DoubleSource

Energy of struct for cofolded structures.

comfe :: String -> Int -> IO (Double, String)Source

mfe of co-folded structure

copart :: String -> Int -> IO (CofoldF, String, Array (Int, Int) Double)Source

Cofolded partition function. Makes the set of different partfun values from cofoldF available.

data CofoldF Source

Constructors

CofoldF 

Fields

f0ab :: Double
 
fab :: Double
 
fcab :: Double
 
fa :: Double
 
fb :: Double