RNAlib-2.1.9

This module contains all functions and variables related to energy evaluation of sequence/structure pairs. More...

+ Collaboration diagram for Energy evaluation:

Functions

float energy_of_structure (const char *string, const char *structure, int verbosity_level)
 Calculate the free energy of an already folded RNA using global model detail settings. More...
 
float energy_of_struct_par (const char *string, const char *structure, paramT *parameters, int verbosity_level)
 Calculate the free energy of an already folded RNA. More...
 
float energy_of_circ_structure (const char *string, const char *structure, int verbosity_level)
 Calculate the free energy of an already folded circular RNA. More...
 
float energy_of_circ_struct_par (const char *string, const char *structure, paramT *parameters, int verbosity_level)
 Calculate the free energy of an already folded circular RNA. More...
 
int energy_of_structure_pt (const char *string, short *ptable, short *s, short *s1, int verbosity_level)
 Calculate the free energy of an already folded RNA. More...
 
int energy_of_struct_pt_par (const char *string, short *ptable, short *s, short *s1, paramT *parameters, int verbosity_level)
 Calculate the free energy of an already folded RNA. More...
 

Variables

int eos_debug
 verbose info from energy_of_struct
 

Detailed Description

This module contains all functions and variables related to energy evaluation of sequence/structure pairs.

Function Documentation

float energy_of_structure ( const char *  string,
const char *  structure,
int  verbosity_level 
)

Calculate the free energy of an already folded RNA using global model detail settings.

If verbosity level is set to a value >0, energies of structure elements are printed to stdout

Note
OpenMP: This function relies on several global model settings variables and thus is not to be considered threadsafe. See energy_of_struct_par() for a completely threadsafe implementation.
See Also
energy_of_struct_par(), energy_of_circ_structure()
Parameters
stringRNA sequence
structuresecondary structure in dot-bracket notation
verbosity_levela flag to turn verbose output on/off
Returns
the free energy of the input structure given the input sequence in kcal/mol
float energy_of_struct_par ( const char *  string,
const char *  structure,
paramT parameters,
int  verbosity_level 
)

Calculate the free energy of an already folded RNA.

If verbosity level is set to a value >0, energies of structure elements are printed to stdout

See Also
energy_of_circ_structure(), energy_of_structure_pt(), get_scaled_parameters()
Parameters
stringRNA sequence in uppercase letters
structureSecondary structure in dot-bracket notation
parametersA data structure containing the prescaled energy contributions and the model details.
verbosity_levelA flag to turn verbose output on/off
Returns
The free energy of the input structure given the input sequence in kcal/mol
float energy_of_circ_structure ( const char *  string,
const char *  structure,
int  verbosity_level 
)

Calculate the free energy of an already folded circular RNA.

Note
OpenMP: This function relies on several global model settings variables and thus is not to be considered threadsafe. See energy_of_circ_struct_par() for a completely threadsafe implementation.

If verbosity level is set to a value >0, energies of structure elements are printed to stdout

See Also
energy_of_circ_struct_par(), energy_of_struct_par()
Parameters
stringRNA sequence
structureSecondary structure in dot-bracket notation
verbosity_levelA flag to turn verbose output on/off
Returns
The free energy of the input structure given the input sequence in kcal/mol
float energy_of_circ_struct_par ( const char *  string,
const char *  structure,
paramT parameters,
int  verbosity_level 
)

Calculate the free energy of an already folded circular RNA.

If verbosity level is set to a value >0, energies of structure elements are printed to stdout

See Also
energy_of_struct_par(), get_scaled_parameters()
Parameters
stringRNA sequence
structureSecondary structure in dot-bracket notation
parametersA data structure containing the prescaled energy contributions and the model details.
verbosity_levelA flag to turn verbose output on/off
Returns
The free energy of the input structure given the input sequence in kcal/mol
int energy_of_structure_pt ( const char *  string,
short *  ptable,
short *  s,
short *  s1,
int  verbosity_level 
)

Calculate the free energy of an already folded RNA.

If verbosity level is set to a value >0, energies of structure elements are printed to stdout

Note
OpenMP: This function relies on several global model settings variables and thus is not to be considered threadsafe. See energy_of_struct_pt_par() for a completely threadsafe implementation.
See Also
make_pair_table(), energy_of_struct_pt_par()
Parameters
stringRNA sequence
ptablethe pair table of the secondary structure
sencoded RNA sequence
s1encoded RNA sequence
verbosity_levela flag to turn verbose output on/off
Returns
the free energy of the input structure given the input sequence in 10kcal/mol
int energy_of_struct_pt_par ( const char *  string,
short *  ptable,
short *  s,
short *  s1,
paramT parameters,
int  verbosity_level 
)

Calculate the free energy of an already folded RNA.

If verbosity level is set to a value >0, energies of structure elements are printed to stdout

See Also
make_pair_table(), energy_of_struct_par(), get_scaled_parameters()
Parameters
stringRNA sequence in uppercase letters
ptableThe pair table of the secondary structure
sEncoded RNA sequence
s1Encoded RNA sequence
parametersA data structure containing the prescaled energy contributions and the model details.
verbosity_levelA flag to turn verbose output on/off
Returns
The free energy of the input structure given the input sequence in 10kcal/mol