Convert energy parameter files into the latest format. More…
// global functions void convert_parameter_file ( const char* iname, const char* oname, unsigned int options ) // macros #define VRNA_CONVERT_OUTPUT_ALL #define VRNA_CONVERT_OUTPUT_BULGE #define VRNA_CONVERT_OUTPUT_DANGLE3 #define VRNA_CONVERT_OUTPUT_DANGLE5 #define VRNA_CONVERT_OUTPUT_DUMP #define VRNA_CONVERT_OUTPUT_HP #define VRNA_CONVERT_OUTPUT_INT #define VRNA_CONVERT_OUTPUT_INT_11 #define VRNA_CONVERT_OUTPUT_INT_21 #define VRNA_CONVERT_OUTPUT_INT_22 #define VRNA_CONVERT_OUTPUT_MISC #define VRNA_CONVERT_OUTPUT_ML #define VRNA_CONVERT_OUTPUT_MM_EXT #define VRNA_CONVERT_OUTPUT_MM_HP #define VRNA_CONVERT_OUTPUT_MM_INT #define VRNA_CONVERT_OUTPUT_MM_INT_1N #define VRNA_CONVERT_OUTPUT_MM_INT_23 #define VRNA_CONVERT_OUTPUT_MM_MULTI #define VRNA_CONVERT_OUTPUT_NINIO #define VRNA_CONVERT_OUTPUT_SPECIAL_HP #define VRNA_CONVERT_OUTPUT_STACK #define VRNA_CONVERT_OUTPUT_VANILLA
void convert_parameter_file ( const char* iname, const char* oname, unsigned int options )
Convert/dump a Vienna 1.8.4 formatted energy parameter file
The options argument allows one to control the different output modes.
Currently available options are:
VRNA_CONVERT_OUTPUT_ALL , VRNA_CONVERT_OUTPUT_HP , VRNA_CONVERT_OUTPUT_STACK
VRNA_CONVERT_OUTPUT_MM_HP , VRNA_CONVERT_OUTPUT_MM_INT , VRNA_CONVERT_OUTPUT_MM_INT_1N
VRNA_CONVERT_OUTPUT_MM_INT_23 , VRNA_CONVERT_OUTPUT_MM_MULTI , VRNA_CONVERT_OUTPUT_MM_EXT
VRNA_CONVERT_OUTPUT_DANGLE5 , VRNA_CONVERT_OUTPUT_DANGLE3 , VRNA_CONVERT_OUTPUT_INT_11
VRNA_CONVERT_OUTPUT_INT_21 , VRNA_CONVERT_OUTPUT_INT_22 , VRNA_CONVERT_OUTPUT_BULGE
VRNA_CONVERT_OUTPUT_INT , VRNA_CONVERT_OUTPUT_ML , VRNA_CONVERT_OUTPUT_MISC
VRNA_CONVERT_OUTPUT_SPECIAL_HP , VRNA_CONVERT_OUTPUT_VANILLA , VRNA_CONVERT_OUTPUT_NINIO
The defined options are fine for bitwise compare- and assignment-operations, e. g.: pass a collection of options as a single value like this:
convert_parameter_file(ifile, ofile, option_1 | option_2 | option_n)
Parameters:
iname | The input file name (If NULL input is read from stdin) |
oname | The output file name (If NULL output is written to stdout) |
options | The options (as described above) |
#define VRNA_CONVERT_OUTPUT_ALL
#define VRNA_CONVERT_OUTPUT_BULGE
#define VRNA_CONVERT_OUTPUT_DANGLE3
#define VRNA_CONVERT_OUTPUT_DANGLE5
#define VRNA_CONVERT_OUTPUT_DUMP
#define VRNA_CONVERT_OUTPUT_HP
#define VRNA_CONVERT_OUTPUT_INT
#define VRNA_CONVERT_OUTPUT_INT_11
#define VRNA_CONVERT_OUTPUT_INT_21
#define VRNA_CONVERT_OUTPUT_INT_22
#define VRNA_CONVERT_OUTPUT_MISC
#define VRNA_CONVERT_OUTPUT_ML
#define VRNA_CONVERT_OUTPUT_MM_EXT
#define VRNA_CONVERT_OUTPUT_MM_HP
#define VRNA_CONVERT_OUTPUT_MM_INT
#define VRNA_CONVERT_OUTPUT_MM_INT_1N
#define VRNA_CONVERT_OUTPUT_MM_INT_23
#define VRNA_CONVERT_OUTPUT_MM_MULTI
#define VRNA_CONVERT_OUTPUT_NINIO
#define VRNA_CONVERT_OUTPUT_SPECIAL_HP
#define VRNA_CONVERT_OUTPUT_STACK
#define VRNA_CONVERT_OUTPUT_VANILLA
Flag to indicate printing of given parameters only
Note
This option overrides all other output options, except VRNA_CONVERT_OUTPUT_DUMP !