|
RNAlib-2.4.17
|
|
Functions to parse and interpret the content of Command Files. More...
Functions to parse and interpret the content of Command Files.
Collaboration diagram for Command Files:Files | |
| file | commands.h |
| Parse and apply different commands that alter the behavior of secondary structure prediction and evaluation. | |
Macros | |
| #define | VRNA_CMD_PARSE_HC 1U |
| Command parse/apply flag indicating hard constraints. More... | |
| #define | VRNA_CMD_PARSE_SC 2U |
| Command parse/apply flag indicating soft constraints. More... | |
| #define | VRNA_CMD_PARSE_UD 4U |
| Command parse/apply flag indicating unstructured domains. More... | |
| #define | VRNA_CMD_PARSE_SD 8U |
| Command parse/apply flag indicating structured domains. More... | |
| #define | VRNA_CMD_PARSE_DEFAULTS |
| Command parse/apply flag indicating default set of commands. More... | |
Typedefs | |
| typedef struct vrna_command_s * | vrna_cmd_t |
| A data structure that contains commands. | |
Functions | |
| vrna_cmd_t | vrna_file_commands_read (const char *filename, unsigned int options) |
| Extract a list of commands from a command file. More... | |
| int | vrna_file_commands_apply (vrna_fold_compound_t *vc, const char *filename, unsigned int options) |
| Apply a list of commands from a command file. More... | |
| int | vrna_commands_apply (vrna_fold_compound_t *vc, vrna_cmd_t commands, unsigned int options) |
| Apply a list of commands to a vrna_fold_compound_t. More... | |
| void | vrna_commands_free (vrna_cmd_t commands) |
| Free memory occupied by a list of commands. More... | |
| #define VRNA_CMD_PARSE_HC 1U |
#include <ViennaRNA/commands.h>
Command parse/apply flag indicating hard constraints.
| #define VRNA_CMD_PARSE_SC 2U |
#include <ViennaRNA/commands.h>
Command parse/apply flag indicating soft constraints.
| #define VRNA_CMD_PARSE_UD 4U |
#include <ViennaRNA/commands.h>
Command parse/apply flag indicating unstructured domains.
| #define VRNA_CMD_PARSE_SD 8U |
#include <ViennaRNA/commands.h>
Command parse/apply flag indicating structured domains.
| #define VRNA_CMD_PARSE_DEFAULTS |
#include <ViennaRNA/commands.h>
Command parse/apply flag indicating default set of commands.
| vrna_cmd_t vrna_file_commands_read | ( | const char * | filename, |
| unsigned int | options | ||
| ) |
#include <ViennaRNA/commands.h>
Extract a list of commands from a command file.
Read a list of commands specified in the input file and return them as list of abstract commands
| filename | The filename |
| options | Options to limit the type of commands read from the file |
| int vrna_file_commands_apply | ( | vrna_fold_compound_t * | vc, |
| const char * | filename, | ||
| unsigned int | options | ||
| ) |
#include <ViennaRNA/commands.h>
Apply a list of commands from a command file.
This function is a shortcut to directly parse a commands file and apply all successfully parsed commands to a vrna_fold_compound_t data structure. It is the same as:
| vc | The vrna_fold_compound_t the command list will be applied to |
| filename | The filename |
| options | Options to limit the type of commands read from the file |
| int vrna_commands_apply | ( | vrna_fold_compound_t * | vc, |
| vrna_cmd_t | commands, | ||
| unsigned int | options | ||
| ) |
#include <ViennaRNA/commands.h>
Apply a list of commands to a vrna_fold_compound_t.
| vc | The vrna_fold_compound_t the command list will be applied to |
| commands | The commands to apply |
| options | Options to limit the type of commands read from the file |
| void vrna_commands_free | ( | vrna_cmd_t | commands | ) |
#include <ViennaRNA/commands.h>
Free memory occupied by a list of commands.
Release memory occupied by a list of commands
| commands | A pointer to a list of commands |