IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
VrnaHandler.h
Go to the documentation of this file.
1#ifndef VIENNAHANDLER_H_
2#define VIENNAHANDLER_H_
3
4#include "IntaRNA/general.h"
5#include <string>
6
7extern "C" {
8 #include <ViennaRNA/model.h>
9 #include <ViennaRNA/params.h>
10}
11
12namespace IntaRNA {
13
21
22public:
23
24 static constexpr const char* Turner99 = "Turner99";
25 static constexpr const char* Turner04 = "Turner04";
26 static constexpr const char* Andronescu07 = "Andronescu07";
27
28protected:
29
31 vrna_md_t model;
32
35
36public:
37
48 Z_type temperature = 37.0
49 , const std::string & vrnaParamFile = std::string(Turner04)
50 , const bool noGUclosure = false
51 , const bool noLP = false );
52
56 virtual ~VrnaHandler();
57
72 vrna_md_t
74 const int max_bp_span = -1,
75 const int window_size = -1,
76 const double pfScale = getPfScaleDefault() ) const;
77
82 Z_type
83 getRT() const;
84
89 static
90 Z_type
91 getRT( const Z_type temperature );
92
93
99 static
100 double
102
103
104
105};
106
110
111inline
112Z_type
114getRT() const
115{
116 return RT;
117}
118
120
121} // namespace
122
123#endif /* VIENNAHANDLER_H_ */
Definition VrnaHandler.h:20
VrnaHandler(Z_type temperature=37.0, const std::string &vrnaParamFile=std::string(Turner04), const bool noGUclosure=false, const bool noLP=false)
static constexpr const char * Turner99
Definition VrnaHandler.h:24
vrna_md_t getModel(const int max_bp_span=-1, const int window_size=-1, const double pfScale=getPfScaleDefault()) const
vrna_md_t model
VRNA parameter model.
Definition VrnaHandler.h:31
static Z_type getRT(const Z_type temperature)
Z_type RT
the RT constant used for the current setup
Definition VrnaHandler.h:34
static constexpr const char * Turner04
Definition VrnaHandler.h:25
static double getPfScaleDefault()
Z_type getRT() const
Definition VrnaHandler.h:114
static constexpr const char * Andronescu07
Definition VrnaHandler.h:26
Definition Accessibility.h:13
double Z_type
type for probabilities, RT and Boltzmann values
Definition general.h:88