constraints_SHAPE.h
Go to the documentation of this file.
#ifndef VIENNA_RNA_PACKAGE_CONSTRAINTS_SHAPE_H
#define VIENNA_RNA_PACKAGE_CONSTRAINTS_SHAPE_H
#include <ViennaRNA/data_structures.h>
int vrna_sc_add_SHAPE_deigan( vrna_fold_compound_t *vc,
const double *reactivities,
double m,
double b,
unsigned int options);
int vrna_sc_add_SHAPE_deigan_ali( vrna_fold_compound_t *vc,
const char **shape_files,
const int *shape_file_association,
double m,
double b,
unsigned int options);
int vrna_sc_add_SHAPE_zarringhalam( vrna_fold_compound_t *vc,
const double *reactivities,
double b,
double default_value,
const char *shape_conversion,
unsigned int options);
int vrna_sc_SHAPE_parse_method( const char *method_string,
char *method,
float *param_1,
float *param_2);
int vrna_sc_SHAPE_to_pr(const char *shape_conversion,
double *values,
int length,
double default_value);
#endif
vrna_sc_SHAPE_parse_method
int vrna_sc_SHAPE_parse_method(const char *method_string, char *method, float *param_1, float *param_2)
Parse a character string and extract the encoded SHAPE reactivity conversion method and possibly the ...
vrna_fc_s
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:390
vrna_sc_SHAPE_to_pr
int vrna_sc_SHAPE_to_pr(const char *shape_conversion, double *values, int length, double default_value)
Convert SHAPE reactivity values to probabilities for being unpaired.
data_structures.h
vrna_sc_add_SHAPE_zarringhalam
int vrna_sc_add_SHAPE_zarringhalam(vrna_fold_compound_t *vc, const double *reactivities, double b, double default_value, const char *shape_conversion, unsigned int options)
Add SHAPE reactivity data as soft constraints (Zarringhalam et al. method)
vrna_sc_add_SHAPE_deigan
int vrna_sc_add_SHAPE_deigan(vrna_fold_compound_t *vc, const double *reactivities, double m, double b, unsigned int options)
Add SHAPE reactivity data as soft constraints (Deigan et al. method)
vrna_sc_add_SHAPE_deigan_ali
int vrna_sc_add_SHAPE_deigan_ali(vrna_fold_compound_t *vc, const char **shape_files, const int *shape_file_association, double m, double b, unsigned int options)
Add SHAPE reactivity data from files as soft constraints for consensus structure prediction (Deigan e...