RNAlib-2.4.3
Reading/Writing Energy Parameter Sets from/to File

Read and Write energy parameter sets from and to text files. More...

+ Collaboration diagram for Reading/Writing Energy Parameter Sets from/to File:

Modules

 Converting Energy Parameter Files
 Convert energy parameter files into the latest format.
 

Functions

const char * last_parameter_file (void)
 Get the file name of the parameter file that was most recently loaded. More...
 
void read_parameter_file (const char fname[])
 Read energy parameters from a file. More...
 
void write_parameter_file (const char fname[])
 Write energy parameters to a file. More...
 

Detailed Description

Read and Write energy parameter sets from and to text files.

A default set of parameters, identical to the one described in [14] and [19], is compiled into the library.

Function Documentation

◆ last_parameter_file()

const char* last_parameter_file ( void  )

#include <ViennaRNA/read_epars.h>

Get the file name of the parameter file that was most recently loaded.

Returns
The file name of the last parameter file, or NULL if parameters are still at defaults

◆ read_parameter_file()

void read_parameter_file ( const char  fname[])

#include <ViennaRNA/read_epars.h>

Read energy parameters from a file.

Parameters
fnameThe path to the file containing the energy parameters

◆ write_parameter_file()

void write_parameter_file ( const char  fname[])

#include <ViennaRNA/read_epars.h>

Write energy parameters to a file.

Parameters
fnameA filename (path) for the file where the current energy parameters will be written to