RNAlib-2.5.1
commands.h
Go to the documentation of this file.
1#ifndef VIENNA_RNA_PACKAGE_COMMANDS_H
2#define VIENNA_RNA_PACKAGE_COMMANDS_H
3
18typedef struct vrna_command_s *vrna_cmd_t;
19
20
22
27#define VRNA_CMD_PARSE_HC 1U
32#define VRNA_CMD_PARSE_SC 2U
37#define VRNA_CMD_PARSE_UD 4U
42#define VRNA_CMD_PARSE_SD 8U
47#define VRNA_CMD_PARSE_DEFAULTS (VRNA_CMD_PARSE_HC \
48 | VRNA_CMD_PARSE_SC \
49 | VRNA_CMD_PARSE_UD \
50 | VRNA_CMD_PARSE_SD \
51 )
52
53#define VRNA_CMD_PARSE_SILENT 16U
54
69vrna_file_commands_read(const char *filename,
70 unsigned int options);
71
72
86int
88 const char *filename,
89 unsigned int options);
90
91
100int
102 vrna_cmd_t commands,
103 unsigned int options);
104
105
112void
114
115
120#endif
The Basic Fold Compound API.
void vrna_commands_free(vrna_cmd_t commands)
Free memory occupied by a list of commands.
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.
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.
vrna_cmd_t vrna_file_commands_read(const char *filename, unsigned int options)
Extract a list of commands from a command file.
struct vrna_command_s * vrna_cmd_t
A data structure that contains commands.
Definition: commands.h:18
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:148